dev-scheme/racket: only depend on gtk3
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
8e042b341b
commit
86a6386581
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@ -46,9 +46,7 @@ RDEPEND="
|
|||||||
readline? (
|
readline? (
|
||||||
dev-libs/libedit
|
dev-libs/libedit
|
||||||
)
|
)
|
||||||
X? (
|
X? ( x11-libs/gtk+:3[X] )
|
||||||
x11-libs/gtk+[X]
|
|
||||||
)
|
|
||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
${RDEPEND}
|
${RDEPEND}
|
||||||
@ -131,6 +129,7 @@ src_install() {
|
|||||||
|
|
||||||
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||||
|
|
||||||
|
# Create missing desktop files
|
||||||
if use X
|
if use X
|
||||||
then
|
then
|
||||||
make_desktop_entry "gracket" "GRacket" \
|
make_desktop_entry "gracket" "GRacket" \
|
||||||
@ -143,9 +142,9 @@ src_install() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
use X && xdg_desktop_database_update
|
use X && xdg_pkg_postinst
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postrm() {
|
pkg_postrm() {
|
||||||
use X && xdg_desktop_database_update
|
use X && xdg_pkg_postrm
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@ -46,9 +46,7 @@ RDEPEND="
|
|||||||
readline? (
|
readline? (
|
||||||
dev-libs/libedit
|
dev-libs/libedit
|
||||||
)
|
)
|
||||||
X? (
|
X? ( x11-libs/gtk+:3[X] )
|
||||||
x11-libs/gtk+[X]
|
|
||||||
)
|
|
||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
${RDEPEND}
|
${RDEPEND}
|
||||||
@ -131,6 +129,7 @@ src_install() {
|
|||||||
|
|
||||||
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||||
|
|
||||||
|
# Create missing desktop files
|
||||||
if use X
|
if use X
|
||||||
then
|
then
|
||||||
make_desktop_entry "gracket" "GRacket" \
|
make_desktop_entry "gracket" "GRacket" \
|
||||||
@ -143,9 +142,9 @@ src_install() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
use X && xdg_desktop_database_update
|
use X && xdg_pkg_postinst
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postrm() {
|
pkg_postrm() {
|
||||||
use X && xdg_desktop_database_update
|
use X && xdg_pkg_postrm
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user