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
|
||||
|
||||
EAPI=7
|
||||
@ -46,9 +46,7 @@ RDEPEND="
|
||||
readline? (
|
||||
dev-libs/libedit
|
||||
)
|
||||
X? (
|
||||
x11-libs/gtk+[X]
|
||||
)
|
||||
X? ( x11-libs/gtk+:3[X] )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
@ -131,6 +129,7 @@ src_install() {
|
||||
|
||||
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||
|
||||
# Create missing desktop files
|
||||
if use X
|
||||
then
|
||||
make_desktop_entry "gracket" "GRacket" \
|
||||
@ -143,9 +142,9 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use X && xdg_desktop_database_update
|
||||
use X && xdg_pkg_postinst
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
EAPI=7
|
||||
@ -46,9 +46,7 @@ RDEPEND="
|
||||
readline? (
|
||||
dev-libs/libedit
|
||||
)
|
||||
X? (
|
||||
x11-libs/gtk+[X]
|
||||
)
|
||||
X? ( x11-libs/gtk+:3[X] )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
@ -131,6 +129,7 @@ src_install() {
|
||||
|
||||
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||
|
||||
# Create missing desktop files
|
||||
if use X
|
||||
then
|
||||
make_desktop_entry "gracket" "GRacket" \
|
||||
@ -143,9 +142,9 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use X && xdg_desktop_database_update
|
||||
use X && xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use X && xdg_desktop_database_update
|
||||
use X && xdg_pkg_postrm
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user