1 |
commit: 3bd96d08800e34cf19a4ed56896ead0c2260a63f |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 20:16:10 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 20:43:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bd96d08 |
7 |
|
8 |
x11-misc/obconf: EAPI7->8, tidy, use bit more pedantic deps |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
...213.ebuild => obconf-2.0.4_p20150213-r1.ebuild} | 40 ++++++++++------------ |
13 |
1 file changed, 18 insertions(+), 22 deletions(-) |
14 |
|
15 |
diff --git a/x11-misc/obconf/obconf-2.0.4_p20150213.ebuild b/x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild |
16 |
similarity index 55% |
17 |
rename from x11-misc/obconf/obconf-2.0.4_p20150213.ebuild |
18 |
rename to x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild |
19 |
index b7462187832e..3d916d661ce9 100644 |
20 |
--- a/x11-misc/obconf/obconf-2.0.4_p20150213.ebuild |
21 |
+++ b/x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild |
22 |
@@ -1,15 +1,16 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=7 |
28 |
+EAPI=8 |
29 |
|
30 |
-COMMIT=63ec47c5e295ad4f09d1df6d92afb7e10c3fec39 |
31 |
-inherit autotools xdg-utils |
32 |
+inherit autotools xdg |
33 |
+ |
34 |
+HASH_OBCONF=63ec47c5e295ad4f09d1df6d92afb7e10c3fec39 |
35 |
|
36 |
DESCRIPTION="Tool for configuring the Openbox window manager" |
37 |
HOMEPAGE="http://openbox.org/wiki/ObConf:About" |
38 |
-SRC_URI="http://git.openbox.org/?p=dana/obconf.git;a=snapshot;h=${COMMIT};sf=tgz -> ${P}.tar.gz" |
39 |
-S="${WORKDIR}/${PN}-${COMMIT:0:7}" |
40 |
+SRC_URI="http://git.openbox.org/?p=dana/obconf.git;a=snapshot;h=${HASH_OBCONF};sf=tgz -> ${P}.tar.gz" |
41 |
+S="${WORKDIR}/${PN}-${HASH_OBCONF::7}" |
42 |
|
43 |
LICENSE="GPL-2" |
44 |
SLOT="0" |
45 |
@@ -17,32 +18,27 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86 ~x86-lin |
46 |
IUSE="nls" |
47 |
|
48 |
RDEPEND=" |
49 |
+ dev-libs/glib:2 |
50 |
+ dev-libs/libxml2 |
51 |
+ x11-libs/cairo |
52 |
x11-libs/gdk-pixbuf:2 |
53 |
- x11-libs/gtk+:3 |
54 |
+ x11-libs/gtk+:3[X] |
55 |
+ x11-libs/libX11 |
56 |
x11-libs/startup-notification |
57 |
- >=x11-wm/openbox-3.5.2 |
58 |
-" |
59 |
-DEPEND="${RDEPEND}" |
60 |
+ x11-wm/openbox:3" |
61 |
+DEPEND=" |
62 |
+ ${RDEPEND} |
63 |
+ x11-base/xorg-proto" |
64 |
BDEPEND=" |
65 |
virtual/pkgconfig |
66 |
- nls? ( sys-devel/gettext ) |
67 |
-" |
68 |
+ nls? ( sys-devel/gettext )" |
69 |
|
70 |
src_prepare() { |
71 |
default |
72 |
+ |
73 |
eautoreconf |
74 |
} |
75 |
|
76 |
src_configure() { |
77 |
econf $(use_enable nls) |
78 |
} |
79 |
- |
80 |
-pkg_postinst() { |
81 |
- xdg_desktop_database_update |
82 |
- xdg_mimeinfo_database_update |
83 |
-} |
84 |
- |
85 |
-pkg_postrm() { |
86 |
- xdg_desktop_database_update |
87 |
- xdg_mimeinfo_database_update |
88 |
-} |