summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/pnmixer')
-rw-r--r--media-sound/pnmixer/ChangeLog24
-rw-r--r--media-sound/pnmixer/Manifest6
-rw-r--r--media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch61
-rw-r--r--media-sound/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch15
-rw-r--r--media-sound/pnmixer/metadata.xml9
-rw-r--r--media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild50
6 files changed, 165 insertions, 0 deletions
diff --git a/media-sound/pnmixer/ChangeLog b/media-sound/pnmixer/ChangeLog
new file mode 100644
index 000000000000..669e1d317ce2
--- /dev/null
+++ b/media-sound/pnmixer/ChangeLog
@@ -0,0 +1,24 @@
+# ChangeLog for media-sound/pnmixer
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pnmixer/ChangeLog,v 1.1 2012/11/17 18:05:11 hasufell Exp $
+
+ 17 Nov 2012; Julian Ospald <hasufell@gentoo.org>
+ +pnmixer-0.6_pre20111213.ebuild, +files/pnmixer-0.6_pre20111213-build.patch,
+ +files/pnmixer-0.6_pre20111213-desktopfile.patch, +metadata.xml:
+ move from category x11-misc/ to media-sound/
+
+ 16 Nov 2012; Julian Ospald <hasufell@gentoo.org>
+ pnmixer-0.6_pre20111213.ebuild:
+ dep-fix, add die
+
+ 16 Nov 2012; Julian Ospald <hasufell@gentoo.org>
+ pnmixer-0.6_pre20111213.ebuild:
+ clarify description
+
+*pnmixer-0.6_pre20111213 (16 Nov 2012)
+
+ 16 Nov 2012; Julian Ospald <hasufell@gentoo.org>
+ +pnmixer-0.6_pre20111213.ebuild, +files/pnmixer-0.6_pre20111213-build.patch,
+ +files/pnmixer-0.6_pre20111213-desktopfile.patch:
+ initial import wrt #432460
+
diff --git a/media-sound/pnmixer/Manifest b/media-sound/pnmixer/Manifest
new file mode 100644
index 000000000000..5ae2eec8c25d
--- /dev/null
+++ b/media-sound/pnmixer/Manifest
@@ -0,0 +1,6 @@
+AUX pnmixer-0.6_pre20111213-build.patch 1532 SHA256 69cf8c7c6de9d231c24df3a58ca51fbd0adece3cf42b83976cc3a0c2073a3fb8 SHA512 4fd9cd3954448ef106c96fe945fa6c292689d4f88f7bfd08b9e7618fee38d24710b2bc33dbc676f1bb6a990461ff717a0bd7f6d1b78e7acd157a9e4535e4c629 WHIRLPOOL a1e8cc843805a55724344a3f5768fed9c49106087792a380bcf660d4e6e406dc2a12c48b753dfca01fde728cb34278fa7434ccc2e436f2eb154c5ac503efa1ba
+AUX pnmixer-0.6_pre20111213-desktopfile.patch 328 SHA256 1dd714d9fd7c57b6b319eaeb9e24226b6978952dea8f3eed35805a30dd0c9fcb SHA512 ee9eee6503291e9bfeddbb5e5758aea496785e50722246fc9119bc69fd285e9145d63d9e61c4f01a52769f3142a12211d01c32a7c6a9edd31bc3a7e1fa044657 WHIRLPOOL f24f8ae0bc7688ea2b0e03d82573a8e3f3d519b41243c7a917bdf792d69ba140c7472760d148b9bbced4756fedec2500591bd3064ff037ecae169b5649d40850
+DIST pnmixer-0.6_pre20111213.tar.xz 131328 SHA256 aa42180145aa56639440168935a8b16c576e6e49db0bbe2955b79a890437f013 SHA512 967a685593256f9f2e8ab2ef955a91a03c3710d96956087ac55301d5232e6f01897efbb064bd6dc1804836af1b66c038cb3d04203043462de5246e4f14dd37c4 WHIRLPOOL 1fe36a5ea212447212bbd9b6b4efee22e1f75fbb0f2c0548447c0987664d94524e306e2942f6e96c6f10cf6bf15abc35df6b7953d63ef8ec2241eef3d627c16d
+EBUILD pnmixer-0.6_pre20111213.ebuild 1034 SHA256 bc8c73bd668248b84d8ed63459914c266cbbf52a0d8aecd8b7e5f879287d38f8 SHA512 bedee477727afdc6522b64242ceb65787b77c2a773d98596a5a798506b3eaf1cf3fe470dbe143a71b058a414fa98ba8653cf58d8f6e4e04c9b38b6fb5652301e WHIRLPOOL da44ee67e3f0c1504b50086d173b630d9a3c784812857f60c4389a1b20bc5222f5f42386d9ddcee5b150d3ba28684f9aff2d3f1794b28a7e2eda31515a8b2cf3
+MISC ChangeLog 920 SHA256 f5948e5e31b7a8bd44c1d802f8cfa59cae1f6a07bb905681f6c3e367d868e499 SHA512 a5ea232597c04c345791896af231cd3394655990761323b8c04ac903049c0710dcdcdd499e902658df2e519b09cf39d7350e502f7bfbbcfeeac579361bbec7cc WHIRLPOOL 7b59263109436640b8e56b05a5ca3331537ca4d56820286928688a30088d8b3313e1b8b8415ad8f831d0f1058e9ad9d9bdb0cae9115dee2c4f3a62a19ada85cf
+MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858
diff --git a/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch b/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch
new file mode 100644
index 000000000000..4f7cd226ef42
--- /dev/null
+++ b/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch
@@ -0,0 +1,61 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Thu Nov 15 23:59:49 UTC 2012
+Subject: build system
+
+respect CFLAGS, use rdynamic
+don't use AM_CFLAGS in configure.in
+
+--- configure.in
++++ configure.in
+@@ -1,16 +1,14 @@
+ dnl Process this file with autoconf to produce a configure script.
+
+-AC_INIT(configure.in)
+-AM_INIT_AUTOMAKE(pnmixer, 0.6-dev)
++AC_INIT([pnmixer], [0.6-dev])
++AM_INIT_AUTOMAKE
+ AM_CONFIG_HEADER(config.h)
+ AM_MAINTAINER_MODE
+
+-OLD_CFLAGS=$CFLAGS
+ AC_ISC_POSIX
+ AC_PROG_CC
+ AM_PROG_CC_STDC
+ AC_HEADER_STDC
+-CFLAGS=$OLD_CXXFLAGS
+
+ pkg_modules="gtk+-2.0 >= 2.16.0"
+
+@@ -37,12 +35,13 @@
+
+ if test x"$debugit" = x"yes"; then
+ AC_DEFINE([DEBUG],[],[Debug Mode])
+- AM_CFLAGS="$AM_CFLAGS -g -Wall -Werror -Wno-uninitialized -Wformat -Wformat-security -O0 -export-dynamic"
++ CFLAGS="$CFLAGS -g -Wall -Werror -Wno-uninitialized -Wformat -Wformat-security -O0"
+ else
+ AC_DEFINE([NDEBUG],[],[No-debug Mode])
+- AM_CFLAGS="$AM_CFLAGS -O2 -export-dynamic"
+ fi
+
++LDFLAGS="-rdynamic $LDFLAGS"
++
+ ##########################################################################
+
+ # Make sure we have X11, and also have it added to LIBS
+@@ -74,7 +73,6 @@
+ AC_DEFINE([HAVE_LIBN],1,[Defined if you have libnotify])
+ fi
+
+-AC_SUBST([AM_CFLAGS])
+
+ PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
+ AC_SUBST(PACKAGE_CFLAGS)
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -1,6 +1,5 @@
+ ## Process this file with automake to produce Makefile.in
+
+-AM_CFLAGS = @AM_CFLAGS@
+
+ INCLUDES = \
+ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
diff --git a/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch b/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch
new file mode 100644
index 000000000000..992e02936477
--- /dev/null
+++ b/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch
@@ -0,0 +1,15 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Fri Nov 16 00:03:56 UTC 2012
+Subject: desktop file
+
+ comply with fd.o spec
+
+--- data/pnmixer.desktop
++++ data/pnmixer.desktop
+@@ -12,4 +12,4 @@
+ Icon=pnmixer
+ Terminal=false
+ Type=Application
+-Categories=Application;AudioVideo;
+\ No newline at end of file
++Categories=AudioVideo;
diff --git a/media-sound/pnmixer/metadata.xml b/media-sound/pnmixer/metadata.xml
new file mode 100644
index 000000000000..bfabcd0164b9
--- /dev/null
+++ b/media-sound/pnmixer/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild b/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild
new file mode 100644
index 000000000000..46b7afc764ac
--- /dev/null
+++ b/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild,v 1.1 2012/11/17 18:05:11 hasufell Exp $
+
+EAPI=5
+
+inherit autotools eutils gnome2-utils
+
+DESCRIPTION="Alsa volume mixer for the system tray"
+HOMEPAGE="https://github.com/nicklan/pnmixer"
+SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+
+RDEPEND="media-libs/alsa-lib
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ libnotify? ( x11-libs/libnotify )"
+DEPEND="sys-devel/gettext
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-{build,desktopfile}.patch
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_with libnotify)
+}
+
+src_install() {
+ default
+ newicon -s 128 pixmaps/${PN}-about.png ${PN}.png
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}