diff options
Diffstat (limited to 'media-sound/pnmixer')
-rw-r--r-- | media-sound/pnmixer/Manifest | 2 | ||||
-rw-r--r-- | media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch | 63 | ||||
-rw-r--r-- | media-sound/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch | 15 | ||||
-rw-r--r-- | media-sound/pnmixer/metadata.xml | 13 | ||||
-rw-r--r-- | media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild | 53 | ||||
-rw-r--r-- | media-sound/pnmixer/pnmixer-0.6_pre20140924.ebuild | 50 | ||||
-rw-r--r-- | media-sound/pnmixer/pnmixer-9999.ebuild | 57 |
7 files changed, 253 insertions, 0 deletions
diff --git a/media-sound/pnmixer/Manifest b/media-sound/pnmixer/Manifest new file mode 100644 index 000000000000..5d31624d3143 --- /dev/null +++ b/media-sound/pnmixer/Manifest @@ -0,0 +1,2 @@ +DIST pnmixer-0.6_pre20111213.tar.xz 131328 SHA256 aa42180145aa56639440168935a8b16c576e6e49db0bbe2955b79a890437f013 SHA512 967a685593256f9f2e8ab2ef955a91a03c3710d96956087ac55301d5232e6f01897efbb064bd6dc1804836af1b66c038cb3d04203043462de5246e4f14dd37c4 WHIRLPOOL 1fe36a5ea212447212bbd9b6b4efee22e1f75fbb0f2c0548447c0987664d94524e306e2942f6e96c6f10cf6bf15abc35df6b7953d63ef8ec2241eef3d627c16d +DIST pnmixer-0.6_pre20140924.tar.gz 263467 SHA256 8db9160fe5a41222e84ef19a38264f3633629013971f7fe549733e5644429558 SHA512 4ed5a5fb8cfa5a0f0757a30c78cb4b90fa8d1fa64234f18306941ef4382af66f49ecce2a833c1784e547b840bab36eab7d0c1f85cb89bde81c117472669ba283 WHIRLPOOL 54bd420e5bdfb76b155440f3f44f3e1e207ed116c3ff664429c0f8ced5945c6545daf0be8ffcede91ead1983882a6e1a18e61d8708f6a24719a0065e250a884a 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..5e4fba2d0750 --- /dev/null +++ b/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch @@ -0,0 +1,63 @@ +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 +fix macros for automake-1.13 + +--- configure.in ++++ configure.in +@@ -1,16 +1,13 @@ + dnl Process this file with autoconf to produce a configure script. + +-AC_INIT(configure.in) +-AM_INIT_AUTOMAKE(pnmixer, 0.6-dev) +-AM_CONFIG_HEADER(config.h) ++AC_INIT([pnmixer], [0.6-dev]) ++AM_INIT_AUTOMAKE ++AC_CONFIG_HEADERS(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 +34,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" + else + AC_DEFINE([NDEBUG],[],[No-debug Mode]) +- AM_CFLAGS="$AM_CFLAGS -O2 -export-dynamic" + fi + ++CFLAGS="$CFLAGS -Wall -Wno-uninitialized -Wformat -Wformat-security" ++LDFLAGS="-rdynamic $LDFLAGS" ++ + ########################################################################## + + # Make sure we have X11, and also have it added to LIBS +@@ -74,7 +72,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..22796d6e1d8e --- /dev/null +++ b/media-sound/pnmixer/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <upstream> + <doc lang="en">https://github.com/nicklan/pnmixer/wiki</doc> + <bugs-to>https://github.com/nicklan/pnmixer/issues</bugs-to> + <remote-id type="github">nicklan/pnmixer</remote-id> + </upstream> +</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..d27dc8abcd12 --- /dev/null +++ b/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ppc x86" +IUSE="debug libnotify" + +RDEPEND="media-libs/alsa-lib + x11-libs/gtk+:2 + x11-libs/libX11 + libnotify? ( x11-libs/libnotify )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-{build,desktopfile}.patch + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(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 +} diff --git a/media-sound/pnmixer/pnmixer-0.6_pre20140924.ebuild b/media-sound/pnmixer/pnmixer-0.6_pre20140924.ebuild new file mode 100644 index 000000000000..eace2db10319 --- /dev/null +++ b/media-sound/pnmixer/pnmixer-0.6_pre20140924.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils gnome2-utils + +DESCRIPTION="Volume mixer for the system tray" +HOMEPAGE="https://github.com/nicklan/pnmixer" +SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug libnotify" + +RDEPEND="dev-libs/glib:2 + media-libs/alsa-lib + >=x11-libs/gtk+-3.6:3 + x11-libs/libX11 + libnotify? ( x11-libs/libnotify )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_with libnotify) \ + $(use_enable debug) \ + --enable-minimal-flags \ + --with-gtk3 +} + +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 +} diff --git a/media-sound/pnmixer/pnmixer-9999.ebuild b/media-sound/pnmixer/pnmixer-9999.ebuild new file mode 100644 index 000000000000..d97a17c9c003 --- /dev/null +++ b/media-sound/pnmixer/pnmixer-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +WANT_LIBTOOL=none +inherit autotools eutils gnome2-utils git-2 + +DESCRIPTION="Volume mixer for the system tray" +HOMEPAGE="https://github.com/nicklan/pnmixer" +EGIT_REPO_URI="git@github.com:nicklan/pnmixer.git + https://github.com/nicklan/pnmixer.git" +EGIT_BRANCH="master" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="debug libnotify" + +RDEPEND="dev-libs/glib:2 + media-libs/alsa-lib + >=x11-libs/gtk+-3.6:3 + x11-libs/libX11 + libnotify? ( x11-libs/libnotify )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf \ + $(use_with libnotify) \ + $(use_enable debug) \ + --enable-minimal-flags \ + --with-gtk3 +} + +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 +} |