summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormazes_80 <1608580+mazes-80@users.noreply.github.com>2022-10-16 21:52:01 +0200
committerMatt Turner <mattst88@gentoo.org>2022-10-31 13:39:06 -0400
commitee67f134bfab0dcdc05b564ec142b820a8846899 (patch)
tree57f4c6cdcbc12801523c83b647d562c624814379
parentx11-misc/xscreensaver: revbump, get install dirs from GTK3 instead of GTK2 (diff)
downloadgentoo-ee67f134.tar.gz
gentoo-ee67f134.tar.bz2
gentoo-ee67f134.zip
x11-misc/gtkdialog: Drop GTK+2 support
Closes: https://bugs.gentoo.org/769131 Closes: https://github.com/gentoo/gentoo/pull/27814 Signed-off-by: mazes_80 <1608580+mazes-80@users.noreply.github.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild28
-rw-r--r--x11-misc/gtkdialog/gtkdialog-99999.ebuild15
-rw-r--r--x11-misc/gtkdialog/metadata.xml3
3 files changed, 9 insertions, 37 deletions
diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
index 98d5e081d8c8..9f5e5fba792a 100644
--- a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-inherit autotools xdg-utils
+EAPI=8
+inherit autotools xdg
DESCRIPTION="A small utility for fast and easy GUI building"
HOMEPAGE="https://github.com/oshazard/gtkdialog"
@@ -11,17 +11,10 @@ SRC_URI="https://dev.gentoo.org/~jsmolic/distfiles/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE="gtk2"
RDEPEND="
- gtk2? (
- x11-libs/gtk+:2
- x11-libs/vte:0=
- )
- !gtk2? (
- x11-libs/gtk+:3
- x11-libs/vte:2.91=
- )
+ x11-libs/gtk+:3
+ x11-libs/vte:2.91=
"
DEPEND="
${RDEPEND}
@@ -41,8 +34,7 @@ src_prepare() {
}
src_configure() {
- econf \
- $(usex gtk2 --disable-gtk3 --enable-gtk3)
+ econf --enable-gtk3
}
src_compile() {
@@ -55,11 +47,3 @@ src_install() {
emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install
einstalldocs
}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
index c23bccd2c836..471ce7d9bc93 100644
--- a/x11-misc/gtkdialog/gtkdialog-99999.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit autotools git-r3 xdg-utils
+inherit autotools git-r3 xdg
DESCRIPTION="Small utility for fast and easy GUI building"
HOMEPAGE="https://github.com/oshazard/gtkdialog"
@@ -12,7 +12,6 @@ EGIT_REPO_URI="https://github.com/oshazard/gtkdialog"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE=""
RDEPEND="
x11-libs/gtk+:3
@@ -50,11 +49,3 @@ src_install() {
emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install
einstalldocs
}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/x11-misc/gtkdialog/metadata.xml b/x11-misc/gtkdialog/metadata.xml
index 756afb6ff8d9..97441428731f 100644
--- a/x11-misc/gtkdialog/metadata.xml
+++ b/x11-misc/gtkdialog/metadata.xml
@@ -14,7 +14,4 @@
<upstream>
<remote-id type="github">oshazard/gtkdialog</remote-id>
</upstream>
- <use>
- <flag name="gtk2">Build with GTK+2 instead of GTK+3</flag>
- </use>
</pkgmetadata>