diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-08 10:24:49 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-08 10:24:49 +0000 |
commit | 347b24b4053f1f6c888294fca49b199998fb1ea6 (patch) | |
tree | 4e778d7d73f6dea84436f753dc878df1d0216d49 /media-sound/aumix | |
parent | Bump for new init script that works across all baselayout versions. (diff) | |
download | historical-347b24b4053f1f6c888294fca49b199998fb1ea6.tar.gz historical-347b24b4053f1f6c888294fca49b199998fb1ea6.tar.bz2 historical-347b24b4053f1f6c888294fca49b199998fb1ea6.zip |
Added patch to fix mute script, bug #122087.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'media-sound/aumix')
-rw-r--r-- | media-sound/aumix/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/aumix/Manifest | 35 | ||||
-rw-r--r-- | media-sound/aumix/aumix-2.8-r4.ebuild | 71 | ||||
-rw-r--r-- | media-sound/aumix/files/aumix-2.8-mute.patch | 16 | ||||
-rw-r--r-- | media-sound/aumix/files/digest-aumix-2.8-r4 | 3 |
5 files changed, 131 insertions, 2 deletions
diff --git a/media-sound/aumix/ChangeLog b/media-sound/aumix/ChangeLog index 0a0a8974fae1..314df87297c5 100644 --- a/media-sound/aumix/ChangeLog +++ b/media-sound/aumix/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/aumix # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/ChangeLog,v 1.50 2006/01/22 04:58:03 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/ChangeLog,v 1.51 2006/02/08 10:24:49 flameeyes Exp $ + +*aumix-2.8-r4 (08 Feb 2006) + + 08 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/aumix-2.8-mute.patch, +aumix-2.8-r4.ebuild: + Added patch to fix mute script, bug #122087. *aumix-2.8-r3 (22 Jan 2006) diff --git a/media-sound/aumix/Manifest b/media-sound/aumix/Manifest index 55f490f349a9..9322a6aa6d20 100644 --- a/media-sound/aumix/Manifest +++ b/media-sound/aumix/Manifest @@ -1,12 +1,45 @@ -MD5 a0c072caf20d4ad7d0b491b6ea5b50f7 ChangeLog 6134 +MD5 9c0b317ea2a32bbdd2d54cd6bc0f5c6f ChangeLog 6320 +RMD160 ee034e7b7ed26d2c84126f71c962b765af72937b ChangeLog 6320 +SHA256 dbd95d6b545f7a186f0248f116b43ffb437f0f8ccd07aff2f3b1d3f874e17e68 ChangeLog 6320 MD5 92391e16e18a77102b7975e5dc1ce49d aumix-2.8-r2.ebuild 1848 +RMD160 81dc7f0df2b4d2489a1027f37150e25d08265319 aumix-2.8-r2.ebuild 1848 +SHA256 7eae666ee9a8bbaeb8686c0a1d8c890987a8f24fd1481ab1e19e1d5ea4a80e4d aumix-2.8-r2.ebuild 1848 MD5 f3e0a5f906fe62aa5d2ea75348510687 aumix-2.8-r3.ebuild 1677 +RMD160 66fcdd91d66e5d589381b6af8da42881ec2a6d60 aumix-2.8-r3.ebuild 1677 +SHA256 a20247588df3d3968fd73e1617afa3a202381ecfd4bdb825485d6c280f67889e aumix-2.8-r3.ebuild 1677 +MD5 b7d139296d27cdb0117b8e6cc77f3dba aumix-2.8-r4.ebuild 1739 +RMD160 40a737242791e3b267642da71e612e14846a1604 aumix-2.8-r4.ebuild 1739 +SHA256 2fb9c0963ae5562e6185de3ef1b2de7b91e6dd5246a54df25c1b33d06289f6b5 aumix-2.8-r4.ebuild 1739 MD5 00da88dc336799f1385f518dd005dd5a files/aumix-2.8-close-dialogs.patch 613 +RMD160 e06045a6aac2925d4578562d2133ea6a25a8c336 files/aumix-2.8-close-dialogs.patch 613 +SHA256 d9dbe541d875b5918c8b86adcb5d217c2988cf26f6ff6680bbc6523be294dab3 files/aumix-2.8-close-dialogs.patch 613 +MD5 3611c0372870a0ad67630231fe576e32 files/aumix-2.8-mute.patch 470 +RMD160 b1db29828cc06c02a94c0a8c88206f478b30d909 files/aumix-2.8-mute.patch 470 +SHA256 7b19f89a6b5ecb97181c1154c6ee21079ecc2ccfe25a5b3fb8fd670709a61a14 files/aumix-2.8-mute.patch 470 MD5 a685fd4f0649bfb0c7fd4860eda0caa7 files/aumix-2.8-nls.patch 829 +RMD160 bbc28e1285acdbadf0f3c58e18ab94f7160e6299 files/aumix-2.8-nls.patch 829 +SHA256 b0e2a27c422c6c106863521a7bd43741e74cfa86e490096da8209138c0a03b45 files/aumix-2.8-nls.patch 829 MD5 6c8d691beb495257d8309e58c127acd2 files/aumix-2.8-nohome.patch 529 +RMD160 93ac976f5dd420ac63806e14fd3abc44d726f244 files/aumix-2.8-nohome.patch 529 +SHA256 fc0f6ee2a545f7340dc5a78fce6553132d274c607ec4473019f3c8ff62e598c7 files/aumix-2.8-nohome.patch 529 MD5 221509621be1606c1a61dfc8fcd4991e files/aumix-2.8-save_load.patch 1331 +RMD160 5568874206654f06bce4a29a3039deee5760b45d files/aumix-2.8-save_load.patch 1331 +SHA256 01adab9a3da9b1955b805bb2a47cc1cff8865625f6a726331f9911055d578e07 files/aumix-2.8-save_load.patch 1331 MD5 f39abfbf49ff4a33e109eeb14a4325c2 files/aumix.desktop 124 +RMD160 67231039ee0b0cb250414195339b45b225347436 files/aumix.desktop 124 +SHA256 29f48ad86e787da60d4c98bd38e5c2aff92ca690d5692857d3a806c683e11b0c files/aumix.desktop 124 MD5 1ddf032a74e8441c64775370c1b446bd files/aumix.rc6 1155 +RMD160 58a43795dcb697c72b7804996bacd37103b87105 files/aumix.rc6 1155 +SHA256 34af5baf45d13260ad0b6e5822104562ef77eb16c277fa76844e0ff5129e9bfd files/aumix.rc6 1155 MD5 857a1fe260905ab09b7befd877affafd files/digest-aumix-2.8-r2 62 +RMD160 8e4a34a27aa3dd649d055f444112ad2528f7b72d files/digest-aumix-2.8-r2 62 +SHA256 48b29efcbd665335e584c0577b25fc95f7a2e40a5584d20daac5993d80e52708 files/digest-aumix-2.8-r2 62 MD5 857a1fe260905ab09b7befd877affafd files/digest-aumix-2.8-r3 62 +RMD160 8e4a34a27aa3dd649d055f444112ad2528f7b72d files/digest-aumix-2.8-r3 62 +SHA256 48b29efcbd665335e584c0577b25fc95f7a2e40a5584d20daac5993d80e52708 files/digest-aumix-2.8-r3 62 +MD5 c7d5617a6cfc0d254fd3ed7d60e7bf6c files/digest-aumix-2.8-r4 232 +RMD160 b598d5dc93a8d24e2f632cbcecd22669db20d04e files/digest-aumix-2.8-r4 232 +SHA256 f394b03f33cb374e2fcf3fbfc9c4216d290eeef8352b96c123f03810486d32cd files/digest-aumix-2.8-r4 232 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158 +SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158 diff --git a/media-sound/aumix/aumix-2.8-r4.ebuild b/media-sound/aumix/aumix-2.8-r4.ebuild new file mode 100644 index 000000000000..aeca81f484d4 --- /dev/null +++ b/media-sound/aumix/aumix-2.8-r4.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/aumix-2.8-r4.ebuild,v 1.1 2006/02/08 10:24:49 flameeyes Exp $ + +inherit eutils + +DESCRIPTION="Aumix volume/mixer control program" +HOMEPAGE="http://jpj.net/~trevor/aumix.html" +SRC_URI="http://jpj.net/~trevor/aumix/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="gpm gtk nls" + +#alsa support is broken in 2.8 alsa? ( >=media-libs/alsa-lib-0.9.0_rc1 ) +RDEPEND=">=sys-libs/ncurses-5.2 + gpm? ( >=sys-libs/gpm-1.19.3 ) + gtk? ( >=x11-libs/gtk+-2.0.0 ) + nls? ( virtual/libintl )" + +DEPEND="${RDEPEND} + >=sys-apps/portage-2.0.51 + sys-apps/findutils + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-nohome.patch + epatch "${FILESDIR}"/${P}-close-dialogs.patch + epatch "${FILESDIR}"/${P}-save_load.patch + epatch "${FILESDIR}"/${P}-nls.patch + epatch "${FILESDIR}/${P}-mute.patch" + + # Prevent auto* from rerunning... bug #70379 + touch aclocal.m4 configure + find . -name Makefile.in -o -name stamp-h.in -print0 | xargs -0 touch; + touch configure +} + +src_compile() { + local myconf="--without-gtk1" + + # use_with borks becasue of bad configure script. + if ! use gtk; then + myconf="${myconf} --without-gtk" + fi + + if ! use gpm; then + myconf="${myconf} --without-gpm" + fi + + econf \ + `use_enable nls` \ + ${myconf} || die + emake || die "make failed" +} + +src_install() { + make DESTDIR="${D}" install || die + + dodoc AUTHORS BUGS ChangeLog NEWS README TODO + + newinitd "${FILESDIR}"/aumix.rc6 aumix + + if use gtk; then + doicon data/aumix.xpm + make_desktop_entry aumix Aumix aumix.xpm + fi +} diff --git a/media-sound/aumix/files/aumix-2.8-mute.patch b/media-sound/aumix/files/aumix-2.8-mute.patch new file mode 100644 index 000000000000..8a32fd5b9b87 --- /dev/null +++ b/media-sound/aumix/files/aumix-2.8-mute.patch @@ -0,0 +1,16 @@ +Fix mute script: save volume and then set it to 0 instead of saving it directly +to 0. Bug #122087. +Index: aumix-2.8/src/mute +=================================================================== +--- aumix-2.8.orig/src/mute ++++ aumix-2.8/src/mute +@@ -8,7 +8,8 @@ + volumes=$(aumix -vq |tr -d ,) + if [ $(echo $volumes | awk '{print $2}') -ne 0 -o \ + $(echo $volumes | awk '{print $3}') -ne 0 ]; then +- aumix -S -v 0 ++ aumix -S ++ aumix -v 0 + else + aumix -L > /dev/null + fi diff --git a/media-sound/aumix/files/digest-aumix-2.8-r4 b/media-sound/aumix/files/digest-aumix-2.8-r4 new file mode 100644 index 000000000000..69a4c20a6176 --- /dev/null +++ b/media-sound/aumix/files/digest-aumix-2.8-r4 @@ -0,0 +1,3 @@ +MD5 dc3fc7209752207c23e7c94ab886b340 aumix-2.8.tar.bz2 157503 +RMD160 f7ab3737af772b97359dfc5d9852d06fda05aaa5 aumix-2.8.tar.bz2 157503 +SHA256 636eef7f400c2f3df489c0d2fa21507e88692113561e75a40a26c52bc422d7fc aumix-2.8.tar.bz2 157503 |