summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-10-10 16:23:02 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-10-10 16:27:14 +0200
commit65a984e523f04d19c5d97343ab1a501779716bf2 (patch)
tree5a910f1fa5504edc80a66847c215d7c21dd68c7f /dev-util
parentdev-util/geany: Bump to version 1.38 (diff)
downloadgentoo-65a984e523f04d19c5d97343ab1a501779716bf2.tar.gz
gentoo-65a984e523f04d19c5d97343ab1a501779716bf2.tar.bz2
gentoo-65a984e523f04d19c5d97343ab1a501779716bf2.zip
dev-util/geany: Synced live ebuild
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/geany/geany-9999.ebuild30
1 files changed, 14 insertions, 16 deletions
diff --git a/dev-util/geany/geany-9999.ebuild b/dev-util/geany/geany-9999.ebuild
index 9a342036c796..067b8c015b22 100644
--- a/dev-util/geany/geany-9999.ebuild
+++ b/dev-util/geany/geany-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit strip-linguas xdg
@@ -21,28 +21,27 @@ fi
LICENSE="GPL-2+ HPND"
SLOT="0"
-IUSE="gtk2 +vte"
+IUSE="+vte"
BDEPEND="virtual/pkgconfig"
-RDEPEND=">=dev-libs/glib-2.32:2
- gtk2? (
- >=x11-libs/gtk+-2.24:2
- vte? ( x11-libs/vte:0 )
- )
- !gtk2? (
- >=x11-libs/gtk+-3.0:3
- vte? ( x11-libs/vte:2.91 )
- )"
-DEPEND="${RDEPEND}
+RDEPEND="
+ >=dev-libs/glib-2.32:2
+ >=x11-libs/gtk+-3.0:3
+ vte? ( x11-libs/vte:2.91 )
+"
+DEPEND="
+ ${RDEPEND}
dev-util/intltool
- sys-devel/gettext"
+ sys-devel/gettext
+"
pkg_setup() {
strip-linguas ${LANGS}
}
src_prepare() {
- xdg_src_prepare #588570
+ xdg_environment_reset #588570
+ default
# Syntax highlighting for Portage
sed -i -e "s:*.sh;:*.sh;*.ebuild;*.eclass;:" \
@@ -58,7 +57,6 @@ src_configure() {
--disable-html-docs
--disable-pdf-docs
--disable-static
- $(use_enable gtk2)
$(use_enable vte)
)
econf "${myeconfargs[@]}"
@@ -66,7 +64,7 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install
- find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
+ find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die
}
pkg_preinst() {