1 |
commit: 7059ab2775a9106f8466751eab43b0eb18cf670d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 29 22:09:57 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 29 22:22:13 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7059ab27 |
7 |
|
8 |
x11-misc/tinynotify-send: Modernize to EAPI=6 |
9 |
|
10 |
.../tinynotify-send-1.2.1-r1.ebuild | 10 +++----- |
11 |
.../tinynotify-send/tinynotify-send-9999.ebuild | 29 ++++++++-------------- |
12 |
2 files changed, 15 insertions(+), 24 deletions(-) |
13 |
|
14 |
diff --git a/x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.ebuild b/x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.ebuild |
15 |
index 01cae8d3fad..c6c4bc1676d 100644 |
16 |
--- a/x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.ebuild |
17 |
+++ b/x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.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 notification sending utility (using libtinynotify)" |
28 |
HOMEPAGE="https://github.com/mgorny/tinynotify-send/" |
29 |
@@ -15,20 +13,20 @@ KEYWORDS="~amd64 ~x86" |
30 |
IUSE="" |
31 |
|
32 |
RDEPEND="app-eselect/eselect-notify-send |
33 |
- x11-libs/libtinynotify |
34 |
+ x11-libs/libtinynotify:0= |
35 |
~x11-libs/libtinynotify-cli-${PV}" |
36 |
DEPEND="${RDEPEND} |
37 |
virtual/pkgconfig" |
38 |
|
39 |
src_configure() { |
40 |
- myeconfargs=( |
41 |
+ local myconf=( |
42 |
--disable-library |
43 |
--enable-regular |
44 |
--disable-system-wide |
45 |
--with-system-wide-exec=/usr/bin/sw-notify-send |
46 |
) |
47 |
|
48 |
- autotools-utils_src_configure |
49 |
+ econf "${myconf[@]}" |
50 |
} |
51 |
|
52 |
pkg_postinst() { |
53 |
|
54 |
diff --git a/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild b/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild |
55 |
index aa6765a9d17..7f7ee4ddbf6 100644 |
56 |
--- a/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild |
57 |
+++ b/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild |
58 |
@@ -1,48 +1,41 @@ |
59 |
# Copyright 1999-2017 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
|
62 |
-EAPI=5 |
63 |
+EAPI=6 |
64 |
|
65 |
-#if LIVE |
66 |
-AUTOTOOLS_AUTORECONF=yes |
67 |
EGIT_REPO_URI="https://github.com/mgorny/${PN}.git" |
68 |
- |
69 |
-inherit git-r3 |
70 |
-#endif |
71 |
- |
72 |
-inherit autotools-utils |
73 |
+inherit autotools git-r3 |
74 |
|
75 |
DESCRIPTION="A notification sending utility (using libtinynotify)" |
76 |
HOMEPAGE="https://github.com/mgorny/tinynotify-send/" |
77 |
-SRC_URI="https://github.com/mgorny/tinynotify-send/releases/download/${P}/${P}.tar.bz2" |
78 |
+SRC_URI="" |
79 |
|
80 |
LICENSE="BSD" |
81 |
SLOT="0" |
82 |
-KEYWORDS="~amd64 ~x86" |
83 |
+KEYWORDS="" |
84 |
IUSE="" |
85 |
|
86 |
RDEPEND="app-eselect/eselect-notify-send |
87 |
x11-libs/libtinynotify:0= |
88 |
~x11-libs/libtinynotify-cli-${PV}" |
89 |
DEPEND="${RDEPEND} |
90 |
+ dev-util/gtk-doc |
91 |
virtual/pkgconfig" |
92 |
|
93 |
-#if LIVE |
94 |
-KEYWORDS= |
95 |
-SRC_URI= |
96 |
-DEPEND="${DEPEND} |
97 |
- dev-util/gtk-doc" |
98 |
-#endif |
99 |
+src_prepare() { |
100 |
+ default |
101 |
+ eautoreconf |
102 |
+} |
103 |
|
104 |
src_configure() { |
105 |
- myeconfargs=( |
106 |
+ local myconf=( |
107 |
--disable-library |
108 |
--enable-regular |
109 |
--disable-system-wide |
110 |
--with-system-wide-exec=/usr/bin/sw-notify-send |
111 |
) |
112 |
|
113 |
- autotools-utils_src_configure |
114 |
+ econf "${myconf[@]}" |
115 |
} |
116 |
|
117 |
pkg_postinst() { |