1 |
commit: 016a6451f48216cbcdc0e2d0fdb342b9fae6a4fa |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 29 21:56:49 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 29 22:22:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=016a6451 |
7 |
|
8 |
x11-libs/libtinynotify-systemwide: Modernize to EAPI=6 |
9 |
|
10 |
.../libtinynotify-systemwide-0.1.ebuild | 18 ++++++----- |
11 |
.../libtinynotify-systemwide-9999.ebuild | 35 +++++++++++----------- |
12 |
2 files changed, 28 insertions(+), 25 deletions(-) |
13 |
|
14 |
diff --git a/x11-libs/libtinynotify-systemwide/libtinynotify-systemwide-0.1.ebuild b/x11-libs/libtinynotify-systemwide/libtinynotify-systemwide-0.1.ebuild |
15 |
index 5120a429ccd..4543af991c3 100644 |
16 |
--- a/x11-libs/libtinynotify-systemwide/libtinynotify-systemwide-0.1.ebuild |
17 |
+++ b/x11-libs/libtinynotify-systemwide/libtinynotify-systemwide-0.1.ebuild |
18 |
@@ -1,9 +1,7 @@ |
19 |
# Copyright 1999-2017 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
-EAPI=4 |
23 |
- |
24 |
-inherit autotools-utils |
25 |
+EAPI=6 |
26 |
|
27 |
DESCRIPTION="A system-wide notifications module for libtinynotify" |
28 |
HOMEPAGE="https://github.com/mgorny/libtinynotify-systemwide/" |
29 |
@@ -14,16 +12,22 @@ SLOT="0" |
30 |
KEYWORDS="~amd64 ~x86" |
31 |
IUSE="doc static-libs" |
32 |
|
33 |
-RDEPEND="sys-process/procps |
34 |
- x11-libs/libtinynotify" |
35 |
+RDEPEND="sys-process/procps:0= |
36 |
+ x11-libs/libtinynotify:0=" |
37 |
DEPEND="${RDEPEND} |
38 |
virtual/pkgconfig |
39 |
doc? ( dev-util/gtk-doc )" |
40 |
|
41 |
src_configure() { |
42 |
- myeconfargs=( |
43 |
+ local myconf=( |
44 |
$(use_enable doc gtk-doc) |
45 |
+ $(use_enable static-libs static) |
46 |
) |
47 |
|
48 |
- autotools-utils_src_configure |
49 |
+ econf "${myconf[@]}" |
50 |
+} |
51 |
+ |
52 |
+src_install() { |
53 |
+ default |
54 |
+ find "${D}" -name '*.la' -delete || die |
55 |
} |
56 |
|
57 |
diff --git a/x11-libs/libtinynotify-systemwide/libtinynotify-systemwide-9999.ebuild b/x11-libs/libtinynotify-systemwide/libtinynotify-systemwide-9999.ebuild |
58 |
index 8823fe38587..d4effe7755c 100644 |
59 |
--- a/x11-libs/libtinynotify-systemwide/libtinynotify-systemwide-9999.ebuild |
60 |
+++ b/x11-libs/libtinynotify-systemwide/libtinynotify-systemwide-9999.ebuild |
61 |
@@ -1,43 +1,42 @@ |
62 |
# Copyright 1999-2017 Gentoo Foundation |
63 |
# Distributed under the terms of the GNU General Public License v2 |
64 |
|
65 |
-EAPI=5 |
66 |
+EAPI=6 |
67 |
|
68 |
-#if LIVE |
69 |
-AUTOTOOLS_AUTORECONF=yes |
70 |
EGIT_REPO_URI="https://github.com/mgorny/${PN}.git" |
71 |
- |
72 |
-inherit git-r3 |
73 |
-#endif |
74 |
- |
75 |
-inherit autotools-utils |
76 |
+inherit autotools git-r3 |
77 |
|
78 |
DESCRIPTION="A system-wide notifications module for libtinynotify" |
79 |
HOMEPAGE="https://github.com/mgorny/libtinynotify-systemwide/" |
80 |
-SRC_URI="https://github.com/mgorny/libtinynotify-systemwide/releases/download/${P}/${P}.tar.bz2" |
81 |
+SRC_URI="" |
82 |
|
83 |
LICENSE="BSD" |
84 |
SLOT="0" |
85 |
-KEYWORDS="~amd64 ~x86" |
86 |
+KEYWORDS="" |
87 |
IUSE="doc static-libs" |
88 |
|
89 |
RDEPEND="sys-process/procps:0= |
90 |
x11-libs/libtinynotify:0=" |
91 |
DEPEND="${RDEPEND} |
92 |
+ >=dev-util/gtk-doc-1.18 |
93 |
virtual/pkgconfig |
94 |
doc? ( dev-util/gtk-doc )" |
95 |
|
96 |
-#if LIVE |
97 |
-KEYWORDS= |
98 |
-SRC_URI= |
99 |
-DEPEND="${DEPEND} |
100 |
- >=dev-util/gtk-doc-1.18" |
101 |
-#endif |
102 |
+src_prepare() { |
103 |
+ default |
104 |
+ eautoreconf |
105 |
+} |
106 |
|
107 |
src_configure() { |
108 |
- myeconfargs=( |
109 |
+ local myconf=( |
110 |
$(use_enable doc gtk-doc) |
111 |
+ $(use_enable static-libs static) |
112 |
) |
113 |
|
114 |
- autotools-utils_src_configure |
115 |
+ econf "${myconf[@]}" |
116 |
+} |
117 |
+ |
118 |
+src_install() { |
119 |
+ default |
120 |
+ find "${D}" -name '*.la' -delete || die |
121 |
} |