Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pasystray/
Date: Thu, 04 Oct 2018 19:14:35
Message-Id: 1538680311.c8cf58ece9bfb785238f7e1d49dc3e2de6712985.asturm@gentoo
1 commit: c8cf58ece9bfb785238f7e1d49dc3e2de6712985
2 Author: Paul Healy <lmiphay <AT> gmail <DOT> com>
3 AuthorDate: Mon Oct 1 18:53:37 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 4 19:11:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8cf58ec
7
8 media-sound/pasystray: version bump to 0.7.0
9
10 This update includes:
11
12 more configurability for notifications
13 bug fixes, segfault
14 memory leak fixed
15
16 Signed-off-by: Paul Healy <lmiphay <AT> gmail.com>
17 Closes: https://github.com/gentoo/gentoo/pull/10037
18 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
19
20 media-sound/pasystray/Manifest | 1 +
21 media-sound/pasystray/pasystray-0.7.0.ebuild | 53 ++++++++++++++++++++++++++++
22 2 files changed, 54 insertions(+)
23
24 diff --git a/media-sound/pasystray/Manifest b/media-sound/pasystray/Manifest
25 index 7bf1e9caf42..415bc5e8e13 100644
26 --- a/media-sound/pasystray/Manifest
27 +++ b/media-sound/pasystray/Manifest
28 @@ -1,2 +1,3 @@
29 DIST pasystray-0.2.1.tar.bz2 100456 BLAKE2B 8cf7aa97a20062dffac59969a7b8d1d71e6fdaafd4e944b2ed3444f50fc1a70ab07f1c3e9c349115c8e50d1bf11093649ee41300590934bc4f71fd752b5aa1c2 SHA512 db7c05c2eb5fd3dada2e3c23f28978497d17a2147078390ab3e8c88654c4bd8ce48d07a15e9a5b3834acffcc2d86fa719ce2403255915bdfb2eb610bd0549041
30 DIST pasystray-0.6.0.tar.gz 53835 BLAKE2B ef5abab45a17f6445e8cbd1e37c300aa2c1c25bee3d684d05263b02a507badb1d5ce7a1c76bed94d255e4f2d5e2f18bdfd749e83e98273a52d42ffb12a32f115 SHA512 51fdb5aab22ad10ffe73f6de68115ee1559f09f58cfe4d5201a2f262323ca3476a8b09c7fc02c4144414f44444661edd25d2d39b3de54ed4c662660867da622c
31 +DIST pasystray-0.7.0.tar.gz 56014 BLAKE2B cba947895fc71a18a43c314486ec3513e844b1df426d0104f321c8ecd28199b6b4adf69f5c10146470a74c5e6f74f505833bd00c4541399a162ddcfb8aac4701 SHA512 a98dae85640c0640f921173cf5a794963e974af64a7a972bbc2a53e69060895b55494934bc1fcfd957f0c94ca90e4d52634bf444e841b2a0a57434e05500161b
32
33 diff --git a/media-sound/pasystray/pasystray-0.7.0.ebuild b/media-sound/pasystray/pasystray-0.7.0.ebuild
34 new file mode 100644
35 index 00000000000..6da7af40f6a
36 --- /dev/null
37 +++ b/media-sound/pasystray/pasystray-0.7.0.ebuild
38 @@ -0,0 +1,53 @@
39 +# Copyright 1999-2018 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=6
43 +inherit gnome2-utils autotools vcs-snapshot xdg
44 +
45 +DESCRIPTION="PulseAudio system tray"
46 +HOMEPAGE="https://github.com/christophgysin/pasystray"
47 +SRC_URI="https://github.com/christophgysin/${PN}/archive/${P}.tar.gz"
48 +
49 +LICENSE="LGPL-2.1+"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~x86"
52 +IUSE="libnotify zeroconf"
53 +
54 +RDEPEND="
55 + >=dev-libs/glib-2.48.2
56 + >=media-sound/pulseaudio-5.0-r3[glib,zeroconf?]
57 + zeroconf? ( >=net-dns/avahi-0.6 )
58 + x11-libs/gtk+:3
59 + x11-libs/libX11
60 + libnotify? ( >=x11-libs/libnotify-0.7 )
61 +"
62 +DEPEND="${RDEPEND}
63 + virtual/pkgconfig"
64 +
65 +src_prepare() {
66 + default
67 + eautoreconf
68 +}
69 +
70 +src_configure() {
71 + econf \
72 + $(use_enable libnotify notify) \
73 + $(use_enable zeroconf avahi)
74 +}
75 +
76 +pkg_preinst() {
77 + xdg_pkg_preinst
78 + gnome2_icon_savelist
79 +}
80 +
81 +pkg_postinst() {
82 + xdg_desktop_database_update
83 + xdg_mimeinfo_database_update
84 + gnome2_icon_cache_update
85 +}
86 +
87 +pkg_postrm() {
88 + xdg_desktop_database_update
89 + xdg_mimeinfo_database_update
90 + gnome2_icon_cache_update
91 +}