public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pasystray/
Date: Thu,  9 Mar 2017 20:30:56 +0000 (UTC)	[thread overview]
Message-ID: <1489091397.b4d9f16e3d63b57e43265cc694c9751d9640f987.soap@gentoo> (raw)

commit:     b4d9f16e3d63b57e43265cc694c9751d9640f987
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Mon Mar  6 08:26:42 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Mar  9 20:29:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d9f16e

media-sound/pasystray: add missing dependency, minor fixes

- use vcs-snapshot instead of setting S
- add xdg-related functions
- use the default src_install
- update LICENSE to include later GPL versions
- remove useless sed

Suggested-By: lmiphay <AT> gmail.com
Bug: https://bugs.gentoo.org/show_bug.cgi?id=605246
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4138

 media-sound/pasystray/metadata.xml           |  1 +
 media-sound/pasystray/pasystray-0.6.0.ebuild | 36 ++++++++++++++++------------
 2 files changed, 22 insertions(+), 15 deletions(-)

diff --git a/media-sound/pasystray/metadata.xml b/media-sound/pasystray/metadata.xml
index be6f267a04e..2499ed091c1 100644
--- a/media-sound/pasystray/metadata.xml
+++ b/media-sound/pasystray/metadata.xml
@@ -16,5 +16,6 @@
 	</maintainer>
 	<upstream>
 		<remote-id type="github">christophgysin/pasystray</remote-id>
+		<bugs-to>https://github.com/christophgysin/pasystray/issues</bugs-to>
 	</upstream>
 </pkgmetadata>

diff --git a/media-sound/pasystray/pasystray-0.6.0.ebuild b/media-sound/pasystray/pasystray-0.6.0.ebuild
index 4a7f662207d..6e99a2f7019 100644
--- a/media-sound/pasystray/pasystray-0.6.0.ebuild
+++ b/media-sound/pasystray/pasystray-0.6.0.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit gnome2-utils autotools
+EAPI=6
+inherit gnome2-utils autotools vcs-snapshot xdg
 
 DESCRIPTION="PulseAudio system tray"
 HOMEPAGE="https://github.com/christophgysin/pasystray"
 SRC_URI="https://github.com/christophgysin/${PN}/archive/${P}.tar.gz"
 
-LICENSE="LGPL-2.1"
+LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="libnotify"
 
 RDEPEND="
+	>=dev-libs/glib-2.48.2
 	>=media-sound/pulseaudio-5.0-r3[glib,zeroconf]
 	>=net-dns/avahi-0.6
 	x11-libs/gtk+:3
@@ -23,23 +24,28 @@ RDEPEND="
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
-DOCS="AUTHORS README.md TODO"
-S=${WORKDIR}/${PN}-${P}
-
 src_prepare() {
+	default
 	eautoreconf
 }
+
 src_configure() {
 	econf $(use_enable libnotify notify)
-	sed -i -e 's:volume:volume;:' "data/pasystray.desktop"
 }
 
-src_install() {
-	emake DESTDIR="${D}" install
-	dodoc ${DOCS}
-	doman man/pasystray.1
+pkg_preinst() {
+	xdg_pkg_preinst
+	gnome2_icon_savelist
 }
 
-pkg_preinst() {	gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }
+pkg_postinst() {
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2017-03-09 20:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-09 20:30 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-30  8:06 [gentoo-commits] repo/gentoo:master commit in: media-sound/pasystray/ Florian Schmaus
2024-09-30  8:06 Florian Schmaus
2023-02-14  8:30 Miroslav Šulc
2023-01-08  8:04 Miroslav Šulc
2023-01-05 10:53 Arthur Zamarin
2022-12-05  8:30 Miroslav Šulc
2022-08-23  5:24 Sam James
2022-07-09  7:49 Sam James
2022-03-08 13:31 Sam James
2022-01-30 11:05 David Seifert
2021-12-13  8:09 Jakov Smolić
2021-11-12  8:02 Miroslav Šulc
2019-03-16 21:39 Agostino Sarubbo
2019-02-03 19:14 Andreas Sturmlechner
2018-10-04 19:14 Andreas Sturmlechner
2018-10-04 19:14 Andreas Sturmlechner
2018-10-04 19:14 Andreas Sturmlechner
2017-07-25 19:28 Markus Meier
2017-05-18 19:11 Michał Górny
2015-10-04  5:38 Ian Delaney
2015-10-04  5:26 Ian Delaney

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=1489091397.b4d9f16e3d63b57e43265cc694c9751d9640f987.soap@gentoo \
    --to=soap@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