1 |
commit: 5ef6b494299cb8305db058a9e029f909a34fabe2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 29 21:49:17 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 29 22:22:05 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef6b494 |
7 |
|
8 |
x11-libs/libtinynotify: Modernize to EAPI=6 |
9 |
|
10 |
x11-libs/libtinynotify/libtinynotify-0.2.1.ebuild | 16 +++++++---- |
11 |
x11-libs/libtinynotify/libtinynotify-9999.ebuild | 35 +++++++++++------------ |
12 |
2 files changed, 27 insertions(+), 24 deletions(-) |
13 |
|
14 |
diff --git a/x11-libs/libtinynotify/libtinynotify-0.2.1.ebuild b/x11-libs/libtinynotify/libtinynotify-0.2.1.ebuild |
15 |
index e6530951b7d..b87cfbb96ab 100644 |
16 |
--- a/x11-libs/libtinynotify/libtinynotify-0.2.1.ebuild |
17 |
+++ b/x11-libs/libtinynotify/libtinynotify-0.2.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 lightweight implementation of Desktop Notification Spec" |
28 |
HOMEPAGE="https://github.com/mgorny/libtinynotify/" |
29 |
@@ -14,7 +12,7 @@ SLOT="0" |
30 |
KEYWORDS="~amd64 ~x86" |
31 |
IUSE="debug doc static-libs" |
32 |
|
33 |
-RDEPEND="sys-apps/dbus" |
34 |
+RDEPEND="sys-apps/dbus:0=" |
35 |
DEPEND="${RDEPEND} |
36 |
virtual/pkgconfig |
37 |
doc? ( >=dev-util/gtk-doc-1.18 )" |
38 |
@@ -22,10 +20,16 @@ DEPEND="${RDEPEND} |
39 |
DOCS=( README ) |
40 |
|
41 |
src_configure() { |
42 |
- myeconfargs=( |
43 |
+ local myconf=( |
44 |
$(use_enable debug) |
45 |
$(use_enable doc gtk-doc) |
46 |
+ $(use_enable static-libs static) |
47 |
) |
48 |
|
49 |
- autotools-utils_src_configure |
50 |
+ econf "${myconf[@]}" |
51 |
+} |
52 |
+ |
53 |
+src_install() { |
54 |
+ default |
55 |
+ find "${D}" -name '*.la' -delete |
56 |
} |
57 |
|
58 |
diff --git a/x11-libs/libtinynotify/libtinynotify-9999.ebuild b/x11-libs/libtinynotify/libtinynotify-9999.ebuild |
59 |
index 6d11440f4c2..c2e029412ac 100644 |
60 |
--- a/x11-libs/libtinynotify/libtinynotify-9999.ebuild |
61 |
+++ b/x11-libs/libtinynotify/libtinynotify-9999.ebuild |
62 |
@@ -1,43 +1,42 @@ |
63 |
# Copyright 1999-2017 Gentoo Foundation |
64 |
# Distributed under the terms of the GNU General Public License v2 |
65 |
|
66 |
-EAPI=5 |
67 |
+EAPI=6 |
68 |
|
69 |
-#if LIVE |
70 |
-AUTOTOOLS_AUTORECONF=yes |
71 |
EGIT_REPO_URI="https://github.com/mgorny/${PN}.git" |
72 |
- |
73 |
-inherit git-r3 |
74 |
-#endif |
75 |
- |
76 |
-inherit autotools-utils |
77 |
+inherit autotools git-r3 |
78 |
|
79 |
DESCRIPTION="A lightweight implementation of Desktop Notification Spec" |
80 |
HOMEPAGE="https://github.com/mgorny/libtinynotify/" |
81 |
-SRC_URI="https://github.com/mgorny/libtinynotify/releases/download/${P}/${P}.tar.bz2" |
82 |
+SRC_URI="" |
83 |
|
84 |
LICENSE="BSD" |
85 |
SLOT="0" |
86 |
-KEYWORDS="~amd64 ~x86" |
87 |
+KEYWORDS="" |
88 |
IUSE="debug doc static-libs" |
89 |
|
90 |
RDEPEND="sys-apps/dbus:0=" |
91 |
DEPEND="${RDEPEND} |
92 |
+ >=dev-util/gtk-doc-1.18 |
93 |
virtual/pkgconfig |
94 |
doc? ( >=dev-util/gtk-doc-1.18 )" |
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 debug) |
111 |
$(use_enable doc gtk-doc) |
112 |
+ $(use_enable static-libs static) |
113 |
) |
114 |
|
115 |
- autotools-utils_src_configure |
116 |
+ econf "${myconf[@]}" |
117 |
+} |
118 |
+ |
119 |
+src_install() { |
120 |
+ default |
121 |
+ find "${D}" -name '*.la' -delete |
122 |
} |