summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-06-30 00:09:57 +0200
committerMichał Górny <mgorny@gentoo.org>2017-06-30 00:22:13 +0200
commit7059ab2775a9106f8466751eab43b0eb18cf670d (patch)
tree737deea3db464c2706f2203b49f98ffe04fd8897 /x11-misc
parentx11-misc/tinynotify-send: Moved back to GitHub (diff)
downloadgentoo-7059ab2775a9106f8466751eab43b0eb18cf670d.tar.gz
gentoo-7059ab2775a9106f8466751eab43b0eb18cf670d.tar.bz2
gentoo-7059ab2775a9106f8466751eab43b0eb18cf670d.zip
x11-misc/tinynotify-send: Modernize to EAPI=6
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.ebuild10
-rw-r--r--x11-misc/tinynotify-send/tinynotify-send-9999.ebuild29
2 files changed, 15 insertions, 24 deletions
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
index 01cae8d3fad3..c6c4bc1676d7 100644
--- a/x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.ebuild
+++ b/x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
-
-inherit autotools-utils
+EAPI=6
DESCRIPTION="A notification sending utility (using libtinynotify)"
HOMEPAGE="https://github.com/mgorny/tinynotify-send/"
@@ -15,20 +13,20 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="app-eselect/eselect-notify-send
- x11-libs/libtinynotify
+ x11-libs/libtinynotify:0=
~x11-libs/libtinynotify-cli-${PV}"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_configure() {
- myeconfargs=(
+ local myconf=(
--disable-library
--enable-regular
--disable-system-wide
--with-system-wide-exec=/usr/bin/sw-notify-send
)
- autotools-utils_src_configure
+ econf "${myconf[@]}"
}
pkg_postinst() {
diff --git a/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild b/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild
index aa6765a9d17f..7f7ee4ddbf61 100644
--- a/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild
+++ b/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild
@@ -1,48 +1,41 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-#if LIVE
-AUTOTOOLS_AUTORECONF=yes
EGIT_REPO_URI="https://github.com/mgorny/${PN}.git"
-
-inherit git-r3
-#endif
-
-inherit autotools-utils
+inherit autotools git-r3
DESCRIPTION="A notification sending utility (using libtinynotify)"
HOMEPAGE="https://github.com/mgorny/tinynotify-send/"
-SRC_URI="https://github.com/mgorny/tinynotify-send/releases/download/${P}/${P}.tar.bz2"
+SRC_URI=""
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS=""
IUSE=""
RDEPEND="app-eselect/eselect-notify-send
x11-libs/libtinynotify:0=
~x11-libs/libtinynotify-cli-${PV}"
DEPEND="${RDEPEND}
+ dev-util/gtk-doc
virtual/pkgconfig"
-#if LIVE
-KEYWORDS=
-SRC_URI=
-DEPEND="${DEPEND}
- dev-util/gtk-doc"
-#endif
+src_prepare() {
+ default
+ eautoreconf
+}
src_configure() {
- myeconfargs=(
+ local myconf=(
--disable-library
--enable-regular
--disable-system-wide
--with-system-wide-exec=/usr/bin/sw-notify-send
)
- autotools-utils_src_configure
+ econf "${myconf[@]}"
}
pkg_postinst() {