From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/tinynotify-send/
Date: Thu, 29 Jun 2017 22:22:21 +0000 (UTC) [thread overview]
Message-ID: <1498774933.7059ab2775a9106f8466751eab43b0eb18cf670d.mgorny@gentoo> (raw)
commit: 7059ab2775a9106f8466751eab43b0eb18cf670d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 22:09:57 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 29 22:22:13 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7059ab27
x11-misc/tinynotify-send: Modernize to EAPI=6
.../tinynotify-send-1.2.1-r1.ebuild | 10 +++-----
.../tinynotify-send/tinynotify-send-9999.ebuild | 29 ++++++++--------------
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 01cae8d3fad..c6c4bc1676d 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 aa6765a9d17..7f7ee4ddbf6 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() {
next reply other threads:[~2017-06-29 22:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-29 22:22 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-01 9:40 [gentoo-commits] repo/gentoo:master commit in: x11-misc/tinynotify-send/ Michał Górny
2023-03-01 9:40 Michał Górny
2023-03-01 9:40 Michał Górny
2017-06-29 22:22 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1498774933.7059ab2775a9106f8466751eab43b0eb18cf670d.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox