forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Requested by the proxied maintainer on IRC.
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST pnmixer-0.6_pre20111213.tar.xz 131328 SHA256 aa42180145aa56639440168935a8b16c576e6e49db0bbe2955b79a890437f013 SHA512 967a685593256f9f2e8ab2ef955a91a03c3710d96956087ac55301d5232e6f01897efbb064bd6dc1804836af1b66c038cb3d04203043462de5246e4f14dd37c4 WHIRLPOOL 1fe36a5ea212447212bbd9b6b4efee22e1f75fbb0f2c0548447c0987664d94524e306e2942f6e96c6f10cf6bf15abc35df6b7953d63ef8ec2241eef3d627c16d | ||
DIST pnmixer-0.7.1.tar.gz 237949 SHA256 3214b3bb54a245b8f38a5b28ebe853df8648edfbdaebec14128e4ffe3f1f4bc2 SHA512 08d83424d921ef6112700fe8c3b55e147ace7767698a9d3ee4bb79ed0e727be7bcc82d55d3debc4b805e75f07c5702443be157e1bccce44d76072c36f8825816 WHIRLPOOL c56b26f8e8bd783f732c9a691c184139cf082c0362e7a2c4122b5aae965b4d014ef1ec36f31a17794c7634726c991957ced77e1afb0e22e28a61a763eea7a70a | ||
DIST pnmixer-0.7.1_rc1.tar.gz 234636 SHA256 eb9d617476291423adf90dccb8b99fdb0fc6321720bcbc44082fcfd2d143dffc SHA512 778ba6abd7efacfb1a49ad67f4370113d37b1b78bf0e73c26141edf56fce94dca2426919e54068b1c648f912bc2a6d30ac3a7c5bb620bc0d33e5af8e1ef6dabc WHIRLPOOL b3d1c45fae5cffbcabf02a225feae778b0de02aa137716e42fa5de1f1e697d22a759b03a08b3e45453097e6eaa0c612c6df47f241c4835a823f9ce5b5cd186c2 | ||
DIST pnmixer-0.7.1_rc2.tar.gz 234921 SHA256 a0beadbad159e8451689e8753481764375fbcb4c8ff01f45b81204a033fc92c1 SHA512 e35de36967145765a909ddea384497ebc348d19a293c0764d9d5697d1a0fcab1404ad06cb728d7af58190984bfd935902696a02cb311c0a00bb0da740adaa3fd WHIRLPOOL ce163c857ea28a3f7879853069c321824a7c02f90f32e9503e7cf82cc6f8353e932faf0227435ea528178e0f05151430d45388c2f5b507275fc9903ba1912ff7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
inherit cmake-utils gnome2-utils | ||
|
||
DESCRIPTION="Volume mixer for the system tray" | ||
HOMEPAGE="https://github.com/nicklan/pnmixer" | ||
SRC_URI="https://github.com/nicklan/pnmixer/archive/v${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="libnotify" | ||
|
||
RDEPEND="dev-libs/glib:2 | ||
media-libs/alsa-lib | ||
>=x11-libs/gtk+-3.12:3 | ||
x11-libs/libX11 | ||
libnotify? ( x11-libs/libnotify )" | ||
DEPEND="${RDEPEND} | ||
sys-devel/gettext | ||
virtual/pkgconfig" | ||
|
||
S=${WORKDIR}/${PN}-${PV/_rc/-rc} | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
-DWITH_LIBNOTIFY="$(usex libnotify)" | ||
) | ||
|
||
cmake-utils_src_configure | ||
} | ||
|
||
pkg_postinst() { | ||
gnome2_icon_cache_update | ||
} | ||
|
||
pkg_postrm() { | ||
gnome2_icon_cache_update | ||
} |