summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-28 16:16:10 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-28 16:43:18 -0400
commit3bd96d08800e34cf19a4ed56896ead0c2260a63f (patch)
tree64f6f02f0eb5e3f49fbaf0a4f3de5c2a407e28be /x11-misc
parentsys-apps/vbetool: add 1.2.2 (diff)
downloadgentoo-3bd96d08800e34cf19a4ed56896ead0c2260a63f.tar.gz
gentoo-3bd96d08800e34cf19a4ed56896ead0c2260a63f.tar.bz2
gentoo-3bd96d08800e34cf19a4ed56896ead0c2260a63f.zip
x11-misc/obconf: EAPI7->8, tidy, use bit more pedantic deps
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild (renamed from x11-misc/obconf/obconf-2.0.4_p20150213.ebuild)40
1 files changed, 18 insertions, 22 deletions
diff --git a/x11-misc/obconf/obconf-2.0.4_p20150213.ebuild b/x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild
index b7462187832e..3d916d661ce9 100644
--- a/x11-misc/obconf/obconf-2.0.4_p20150213.ebuild
+++ b/x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild
@@ -1,15 +1,16 @@
-# 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
-COMMIT=63ec47c5e295ad4f09d1df6d92afb7e10c3fec39
-inherit autotools xdg-utils
+inherit autotools xdg
+
+HASH_OBCONF=63ec47c5e295ad4f09d1df6d92afb7e10c3fec39
DESCRIPTION="Tool for configuring the Openbox window manager"
HOMEPAGE="http://openbox.org/wiki/ObConf:About"
-SRC_URI="http://git.openbox.org/?p=dana/obconf.git;a=snapshot;h=${COMMIT};sf=tgz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT:0:7}"
+SRC_URI="http://git.openbox.org/?p=dana/obconf.git;a=snapshot;h=${HASH_OBCONF};sf=tgz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${HASH_OBCONF::7}"
LICENSE="GPL-2"
SLOT="0"
@@ -17,32 +18,27 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86 ~x86-lin
IUSE="nls"
RDEPEND="
+ dev-libs/glib:2
+ dev-libs/libxml2
+ x11-libs/cairo
x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
x11-libs/startup-notification
- >=x11-wm/openbox-3.5.2
-"
-DEPEND="${RDEPEND}"
+ x11-wm/openbox:3"
+DEPEND="
+ ${RDEPEND}
+ x11-base/xorg-proto"
BDEPEND="
virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
+ nls? ( sys-devel/gettext )"
src_prepare() {
default
+
eautoreconf
}
src_configure() {
econf $(use_enable nls)
}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-}