public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/keybinder/
Date: Wed, 14 Feb 2018 13:35:01 +0000 (UTC)	[thread overview]
Message-ID: <1518615290.0894a9ed3b93862ab541bc6525eb5abd4d5294f7.mgorny@gentoo> (raw)

commit:     0894a9ed3b93862ab541bc6525eb5abd4d5294f7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 13:16:06 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 13:34:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0894a9ed

dev-libs/keybinder: Bump to EAPI=6

 dev-libs/keybinder/keybinder-0.3.1-r201.ebuild | 50 ++++++++++++++++++++++++++
 dev-libs/keybinder/keybinder-0.3.2-r300.ebuild | 13 ++++---
 2 files changed, 56 insertions(+), 7 deletions(-)

diff --git a/dev-libs/keybinder/keybinder-0.3.1-r201.ebuild b/dev-libs/keybinder/keybinder-0.3.1-r201.ebuild
new file mode 100644
index 00000000000..4557421f67e
--- /dev/null
+++ b/dev-libs/keybinder/keybinder-0.3.1-r201.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1
+
+DESCRIPTION="A library for registering global keyboard shortcuts"
+HOMEPAGE="https://github.com/engla/keybinder"
+SRC_URI="https://github.com/engla/keybinder/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86"
+IUSE="+introspection lua python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND=">=x11-libs/gtk+-2.20:2
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXrender
+	introspection? ( dev-libs/gobject-introspection )
+	lua? ( >=dev-lang/lua-5.1 )
+	python? ( ${PYTHON_DEPS}
+		>=dev-python/pygobject-2.15.3:2[${PYTHON_USEDEP}]
+		>=dev-python/pygtk-2.12[${PYTHON_USEDEP}]
+	)"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+	local myconf=(
+		$(use_enable introspection)
+		$(use_enable python)
+	)
+	# upstream failed at AC_ARG_ENABLE
+	use lua || myconf+=( --disable-lua )
+
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la' -delete || die
+}

diff --git a/dev-libs/keybinder/keybinder-0.3.2-r300.ebuild b/dev-libs/keybinder/keybinder-0.3.2-r300.ebuild
index d12fc21e838..074df4a9047 100644
--- a/dev-libs/keybinder/keybinder-0.3.2-r300.ebuild
+++ b/dev-libs/keybinder/keybinder-0.3.2-r300.ebuild
@@ -1,11 +1,9 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils
+EAPI=6
 
 MY_P=${PN}-3.0-${PV}
-
 DESCRIPTION="A library for registering global keyboard shortcuts"
 HOMEPAGE="https://github.com/engla/keybinder"
 SRC_URI="https://github.com/engla/keybinder/releases/download/${PN}-3.0-v${PV}/${MY_P}.tar.gz"
@@ -23,18 +21,19 @@ RDEPEND="x11-libs/gtk+:3
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
-DOCS="AUTHORS NEWS README"
-
 S=${WORKDIR}/${MY_P}
 
 src_configure() {
-	econf \
+	local myconf=(
 		$(use_enable introspection)
+	)
+
+	econf "${myconf[@]}"
 }
 
 src_install() {
 	default
-	prune_libtool_files --all
+	find "${D}" -name '*.la' -delete || die
 }
 
 pkg_preinst() {


             reply	other threads:[~2018-02-14 16:40 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-14 13:35 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-28 13:26 [gentoo-commits] repo/gentoo:master commit in: dev-libs/keybinder/ Arthur Zamarin
2024-12-28 10:49 Arthur Zamarin
2024-08-25 15:24 Andreas K. Hüttel
2022-08-28  6:49 WANG Xuerui
2021-07-21 14:49 Yixun Lan
2021-05-15 18:27 Andreas Sturmlechner
2021-04-12 23:33 Sam James
2021-03-05 22:20 Sam James
2021-01-16 19:03 Michał Górny
2020-12-21 17:05 Marek Szuba
2020-06-11 22:08 Mart Raudsepp
2020-02-04  4:50 Michał Górny
2019-12-26 11:05 Michał Górny
2019-12-08 11:11 Michał Górny
2018-05-28  5:27 Michał Górny
2018-05-27 20:56 Mikle Kolyada
2018-05-27 20:56 Mikle Kolyada
2018-04-19 21:08 Mikle Kolyada
2018-04-18 21:04 Sergei Trofimovich
2018-04-18 21:04 Sergei Trofimovich
2018-04-08 17:28 Aaron Bauman
2018-02-14 13:35 Michał Górny
2018-02-14 13:35 Michał Górny
2018-02-14 13:35 Michał Górny
2018-02-14 13:35 Michał Górny
2017-07-12 21:34 Sergei Trofimovich
2017-07-12 21:34 Sergei Trofimovich
2017-01-15 10:33 Pacho Ramos
2017-01-01 16:05 Jason Zaman
2016-10-18 19:26 Pacho Ramos
2016-10-01  8:45 Pacho Ramos
2016-10-01  8:03 Markus Meier
2016-10-01  8:02 Markus Meier
2016-07-03 19:45 Zac Medico
2015-12-31 16:23 Sven Wegener
2015-12-31 16:23 Sven Wegener
2015-09-20 15:07 Tobias Klausmann
2015-09-16 19:24 Tobias Klausmann

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=1518615290.0894a9ed3b93862ab541bc6525eb5abd4d5294f7.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