diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/pnmixer |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/pnmixer')
-rw-r--r-- | media-sound/pnmixer/Manifest | 10 | ||||
-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 | 53 | ||||
-rw-r--r-- | media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild | 52 | ||||
-rw-r--r-- | media-sound/pnmixer/pnmixer-0.7.1.ebuild | 42 | ||||
-rw-r--r-- | media-sound/pnmixer/pnmixer-9999.ebuild | 43 |
7 files changed, 278 insertions, 0 deletions
diff --git a/media-sound/pnmixer/Manifest b/media-sound/pnmixer/Manifest new file mode 100644 index 000000000000..ce2dc33b2f97 --- /dev/null +++ b/media-sound/pnmixer/Manifest @@ -0,0 +1,10 @@ +AUX pnmixer-0.6_pre20111213-build.patch 1571 SHA256 e7e3702eca6b300dec759391c0e645d8ac8421c597bc3e8110695fcda7b01fa0 SHA512 c0ad5ab5e9e5b89d6f4b1af736381f4acfcaf259ed4b3291c8eeab8519825896233d074af1abda73e5bb6ecfa878bd5d36b115dd6bf3a77684ccc354d75a87ad WHIRLPOOL 6c87abd3251308424bdc6903154363fb99045db955a56157dcdb871ad93a624492e073ad1114188ef5b553a5a90c5ae1407d1b75a70b579126741f7a03741d7b +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 +DIST pnmixer-0.7.1.tar.gz 237949 SHA256 3214b3bb54a245b8f38a5b28ebe853df8648edfbdaebec14128e4ffe3f1f4bc2 SHA512 08d83424d921ef6112700fe8c3b55e147ace7767698a9d3ee4bb79ed0e727be7bcc82d55d3debc4b805e75f07c5702443be157e1bccce44d76072c36f8825816 WHIRLPOOL c56b26f8e8bd783f732c9a691c184139cf082c0362e7a2c4122b5aae965b4d014ef1ec36f31a17794c7634726c991957ced77e1afb0e22e28a61a763eea7a70a +EBUILD pnmixer-0.6_pre20111213.ebuild 959 SHA256 e3f9e6f2951eb417780610a16d1307e718ceb41a7582cc1e74510d65c71cab06 SHA512 c3301b8ac6715307517bc7ca402421216b0878a0233d9f44c55132f513d61befc95eae83b2b64bfb183f268bac6cd0540692224239deb021612beb7ead00ffa9 WHIRLPOOL 3acfd66907fa3b56166edea97451b21fcb7cb06726eb3422e6c031ab722947e13897429172338c8189f0c9f0ca655d9c818a64612f8adad7d21df588f138dcc0 +EBUILD pnmixer-0.7.1.ebuild 817 SHA256 901406ec652179d30ee8340477e465819c85691f6fb93a7dd9cf68af9c920d0f SHA512 c648143edc699c2a4eeeed324436d01328eae8177be4bf34535d8dda648b0a4b3353f1b5b07c5c328dd4be8a470d35e0cd57a784efa3281f51e2bac74228e42a WHIRLPOOL c0f16c30fd02f62b255259ad55aa76227973178edc52c64be514148afa44438b863c0c5ca8e0c5fb733a21f57a1f792d4e81c9b996838613bba425bd6b208c3c +EBUILD pnmixer-9999.ebuild 819 SHA256 1c201e9fc2b0bcbbbc38efdbd0ac2122340151540947d430845a928165dfa987 SHA512 126ae9a4c6e539fc34dec05d9210ceffe01fd1279958e4e89df7295c8cc4e6dcb95c81cef9f8c0839190ed826b0b143f38538310190d0e8fa16372d0c7094189 WHIRLPOOL 7ab85278630d1ea023751cad20d511368515c3635ec8a39988d208e67d7d0ba45aaa4ec491c5ba22c7b5df398d2c9af521150cede6fc0a16a140acf6e79a9c9b +MISC ChangeLog 5093 SHA256 6da158846b731cb7b54067ccd61b67132faa28bff8af7b02955ede4c70960a78 SHA512 fa328b258398a3090ac7e661e2ee12785dbfc7429f15d11d981deb7a05045658a077cc6810eb1742f3a1da112b9678554e45aa10c7cd7a31487694de1f057df7 WHIRLPOOL f2d0985eb46c6f303b2322c3d6af44bc9a6c9658b305d751dfc6e4687f09ad345dcbbf672d46a8f46dc44f35e15d3e77d0c3d4bac8379278e2934473094ae912 +MISC ChangeLog-2015 2217 SHA256 35e40272ffb0e6f9ebfa451d57945df74ad155f15336853efc294672e56cb1ce SHA512 75abc30610a8ea919bbdac61733bf8d06ef315657cca530b8cdf4e7218fb9839235ba1902293868726fde69b3a74c1879c09483bb6b046a5ee1ea9836546bd20 WHIRLPOOL 89619316bd85ae855a5734022ff01f5b1871ee126e756ed4dd748f0be2cf958be3dab290a24fed519e47a6309f6678feef54d4e1d9ce0da2b3a07db4a81ad901 +MISC metadata.xml 2085 SHA256 c312441f7d57b49e51bb55c5c8b08235afcd9d115dea8c4e29199bda4373c5b3 SHA512 57421f90ca52f34dc76db9fef86c7e01bb35222ff9bf37e4ca98a245289bcdeb3e77b6e1a8224394ba07d6def209065cfc81e2e48dac3338f0dca96db85f2f9e WHIRLPOOL 0609b684369ac6d7d0e45f1fd1a1f8dadd9080c0999571d3db8948c9216a87c8d56d47314d90d3b147df62794962591b7af085666dfa7967a995e73b240400a4 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..0877b41108af --- /dev/null +++ b/media-sound/pnmixer/metadata.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription lang="en"> + PNMixer is a simple mixer application designed to run in your system + tray. It integrates nicely into desktop environments that don't have + a panel that supports applets, and therefore can't run a mixer applet. + In particular it's been used quite a lot with fbpanel and tint2, but + should run fine in any system tray. + + PNMixer is designed to work on systems that use ALSA for sound + management. Any other sound driver like OSS or FFADO, or sound + server like PulseAudio or Jackd, are currently not supported + (patches welcome). + + PNMixer is a fork of OBMixer with a number of additions. + These include: + * Volume adjustment with the scroll wheel + * Select which ALSA device and channel to use + * Detect disconnect from sound system and re-connect if requested + * Bind and use HotKeys for volume control + * Texual display of volume level in popup window + * Continous volume adjustment when dragging the slider (not just + when you let go) + * Draw a volume level onto system tray icon + * Use system icon theme for icons and use mute/low/medium/high + volume icons + * Configurable middle click action + * Preferences for: + - volume text display + - volume text position + - icon theme + - amount to adjust per scoll + - middle click action + - drawing of volume level on tray icon + + Source and so on are at: https://github.com/nicklan/pnmixer + </longdescription> + <upstream> + <bugs-to>https://github.com/nicklan/pnmixer/issues</bugs-to> + <changelog>https://github.com/nicklan/pnmixer/releases</changelog> + <doc lang="en">https://github.com/nicklan/pnmixer/wiki</doc> + <remote-id type="github">nicklan/pnmixer</remote-id> + <maintainer status="active"> + <email>hasufell@posteo.de</email> + <name>Julian Ospald</name> + </maintainer> + <maintainer status="active"> + <email>elboulangero@gmail.com</email> + <name>El Boulangero</name> + </maintainer> + </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..809462325d8b --- /dev/null +++ b/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils gnome2-utils + +DESCRIPTION="Alsa volume mixer for the system tray" +HOMEPAGE="https://github.com/nicklan/pnmixer" +SRC_URI="https://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.7.1.ebuild b/media-sound/pnmixer/pnmixer-0.7.1.ebuild new file mode 100644 index 000000000000..830c6b74c7ec --- /dev/null +++ b/media-sound/pnmixer/pnmixer-0.7.1.ebuild @@ -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 +} diff --git a/media-sound/pnmixer/pnmixer-9999.ebuild b/media-sound/pnmixer/pnmixer-9999.ebuild new file mode 100644 index 000000000000..69801bb9225a --- /dev/null +++ b/media-sound/pnmixer/pnmixer-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +WANT_LIBTOOL=none +inherit cmake-utils gnome2-utils git-r3 + +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="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" + +src_configure() { + local mycmakeargs=( + -DWITH_LIBNOTIFY="$(usex libnotify)" + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |