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/pnmixer/
Date: Fri, 06 Jul 2018 21:48:38
Message-Id: 1530913677.5cf14cfa6ad3942a2827d3bf01590f7aeb4d18ed.asturm@gentoo
1 commit: 5cf14cfa6ad3942a2827d3bf01590f7aeb4d18ed
2 Author: Diogo Pereira <sir.suriv <AT> gmail <DOT> com>
3 AuthorDate: Fri Jul 6 21:32:38 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 6 21:47:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cf14cfa
7
8 media-sound/pnmixer: version bump to 0.7.2
9
10 - Make gettext dependency optional, controlled by the nls USE flag
11 - New doc USE flag, for building the documentation using doxygen
12
13 Closes: https://bugs.gentoo.org/657242
14 Package-Manager: Portage-2.3.40, Repoman-2.3.9
15
16 media-sound/pnmixer/Manifest | 1 +
17 media-sound/pnmixer/pnmixer-0.7.2.ebuild | 51 ++++++++++++++++++++++++++++++++
18 2 files changed, 52 insertions(+)
19
20 diff --git a/media-sound/pnmixer/Manifest b/media-sound/pnmixer/Manifest
21 index 08d1b59c3ae..346ad164820 100644
22 --- a/media-sound/pnmixer/Manifest
23 +++ b/media-sound/pnmixer/Manifest
24 @@ -1,2 +1,3 @@
25 DIST pnmixer-0.6_pre20111213.tar.xz 131328 BLAKE2B dabfa6e8270116eb325dc6dfd59c6f650975f1efce27603b0495f11efebd743aaba17ad19efba82d4c1d75753418a89295277853c9095d6a4fffdf6b17c5b9fe SHA512 967a685593256f9f2e8ab2ef955a91a03c3710d96956087ac55301d5232e6f01897efbb064bd6dc1804836af1b66c038cb3d04203043462de5246e4f14dd37c4
26 DIST pnmixer-0.7.1.tar.gz 237949 BLAKE2B 87b309f3dd844009abe5f5bb2c5ca16ba80069932c2833a9d472130a6f0d7c36a050dc393bca097372c44fca5f90742cfad07c40a6f51ff877080f5eee25b2d2 SHA512 08d83424d921ef6112700fe8c3b55e147ace7767698a9d3ee4bb79ed0e727be7bcc82d55d3debc4b805e75f07c5702443be157e1bccce44d76072c36f8825816
27 +DIST pnmixer-v0.7.2.tar.gz 237972 BLAKE2B 368d149d9e803b52c7b0edac9ba8996312da7122f10f536095cffcdf31d319159494fa3aab0005e6dedb4e7e0b46d58bc73dd89285c7bddca4750d29539fa489 SHA512 9f43a56d17f4c16465113d4355a546ba71ca4d208e384812cf84625a51bd9bb6fa0e93f3e40fd0a2d157c4ee2b27f64082a47bbd4135c168a95b3fcbeebf6186
28
29 diff --git a/media-sound/pnmixer/pnmixer-0.7.2.ebuild b/media-sound/pnmixer/pnmixer-0.7.2.ebuild
30 new file mode 100644
31 index 00000000000..346e7d99739
32 --- /dev/null
33 +++ b/media-sound/pnmixer/pnmixer-0.7.2.ebuild
34 @@ -0,0 +1,51 @@
35 +# Copyright 1999-2018 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=6
39 +
40 +inherit cmake-utils gnome2-utils
41 +
42 +MY_PV="v${PV}"
43 +MY_P="${PN}-${MY_PV}"
44 +
45 +DESCRIPTION="Volume mixer for the system tray"
46 +HOMEPAGE="https://github.com/nicklan/pnmixer"
47 +SRC_URI="https://github.com/nicklan/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz"
48 +
49 +LICENSE="GPL-3"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~ppc ~x86"
52 +IUSE="doc libnotify nls"
53 +
54 +RDEPEND="dev-libs/glib:2
55 + media-libs/alsa-lib
56 + x11-libs/gtk+:3
57 + x11-libs/libX11
58 + libnotify? ( x11-libs/libnotify )"
59 +DEPEND="${RDEPEND}
60 + virtual/pkgconfig
61 + doc? (
62 + app-doc/doxygen
63 + media-gfx/graphviz
64 + )
65 + nls? ( sys-devel/gettext )"
66 +
67 +S=${WORKDIR}/${MY_P}
68 +
69 +src_configure() {
70 + local mycmakeargs=(
71 + -DWITH_LIBNOTIFY="$(usex libnotify)"
72 + -DENABLE_NLS="$(usex nls)"
73 + -DBUILD_DOCUMENTATION="$(usex doc)"
74 + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
75 + )
76 + cmake-utils_src_configure
77 +}
78 +
79 +pkg_postinst() {
80 + gnome2_icon_cache_update
81 +}
82 +
83 +pkg_postrm() {
84 + gnome2_icon_cache_update
85 +}