public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/libinput-gestures/
Date: Thu, 26 Apr 2018 07:50:09 +0000 (UTC)	[thread overview]
Message-ID: <1524729002.2c687ae9c9e2d028168d4b9cc185d2a27db59d01.polynomial-c@gentoo> (raw)

commit:     2c687ae9c9e2d028168d4b9cc185d2a27db59d01
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 19 13:59:52 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Apr 26 07:50:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c687ae9

x11-misc/libinput-gestures: Make live ebuild more universal.

Also add icon file handler and fix DOCDIR installation path.

Package-Manager: Portage-2.3.30, Repoman-2.3.9

 .../libinput-gestures-9999.ebuild                  | 25 ++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

diff --git a/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild b/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
index 23897423933..39fb049c736 100644
--- a/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
+++ b/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
@@ -5,16 +5,20 @@ EAPI=6
 
 PYTHON_COMPAT=( python{3_4,3_5,3_6} )
 
-inherit git-r3 python-single-r1
+inherit gnome2-utils python-single-r1
 
 DESCRIPTION="Actions gestures on your touchpad using libinput"
 HOMEPAGE="https://github.com/bulletmark/libinput-gestures"
-EGIT_REPO_URI="https://github.com/bulletmark/${PN}.git"
-SRC_URI=""
+if [[ ${PV} == *9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/bulletmark/${PN}.git"
+else
+	SRC_URI="https://github.com/bulletmark/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
 IUSE="test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
@@ -26,7 +30,16 @@ DEPEND=">=dev-libs/libinput-1.8.0
 	dev-util/desktop-file-utils
 	test? ( dev-python/flake8[${PYTHON_USEDEP}] )"
 
+src_prepare() {
+	default
+
+	# Fix docdir installation path
+	sed '/^DOCDIR/s@$NAME@${PF}@' -i libinput-gestures-setup || die
+}
+
 pkg_postinst() {
+	gnome2_icon_cache_update
+
 	elog "You must be in the input group to read the touchpad device."
 
 	if ! has_version x11-libs/gtk+:3 ; then
@@ -36,3 +49,7 @@ pkg_postinst() {
 		elog "${PN}-setup script supports Plasma 5 via kde-plasma/kde-cli-tools:5."
 	fi
 }
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2018-04-26  7:50 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-26  7:50 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-04 11:45 [gentoo-commits] repo/gentoo:master commit in: x11-misc/libinput-gestures/ Andreas Sturmlechner
2024-05-28  1:59 Sam James
2022-07-15 13:08 Sam James
2021-07-08 17:35 Matt Turner
2021-05-31 21:07 Michał Górny
2021-01-16  8:05 Joonas Niilola
2021-01-16  8:05 Joonas Niilola
2020-01-06 15:40 Joonas Niilola
2020-01-06 15:40 Joonas Niilola
2019-11-18  6:14 Joonas Niilola
2019-11-17  8:31 Joonas Niilola
2019-11-17  8:31 Joonas Niilola
2019-11-17  8:31 Joonas Niilola
2019-02-03 14:08 Andreas Sturmlechner
2019-02-03 14:08 Andreas Sturmlechner
2018-12-04 22:37 Michał Górny
2018-12-04 22:37 Michał Górny
2018-11-03  9:04 Michał Górny
2018-11-03  9:04 Michał Górny
2018-10-07  9:31 Michał Górny
2018-10-07  9:31 Michał Górny
2018-06-17 18:44 Andreas Sturmlechner
2018-04-26  7:50 Lars Wendler
2018-04-26  7:50 Lars Wendler
2018-04-26  7:50 Lars Wendler
2018-02-04 22:49 Patrice Clement
2018-01-04 19:20 Craig Andrews
2017-12-25 13:53 Andreas Sturmlechner
2017-12-25 13:53 Andreas Sturmlechner
2017-07-30 14:55 David Seifert
2017-03-15 21:37 Amy Liffey
2017-01-03 23:14 Patrice Clement

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=1524729002.2c687ae9c9e2d028168d4b9cc185d2a27db59d01.polynomial-c@gentoo \
    --to=polynomial-c@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