diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound')
1990 files changed, 65260 insertions, 0 deletions
diff --git a/media-sound/SmarTagger/Manifest b/media-sound/SmarTagger/Manifest new file mode 100644 index 000000000000..719ed1552543 --- /dev/null +++ b/media-sound/SmarTagger/Manifest @@ -0,0 +1 @@ +DIST SmarTagger-0.1.tar.gz 3980 SHA256 f7fde56c5495068c2451189b7374f025f5d8969c7cb5d6d459912bf2c2fcc016 diff --git a/media-sound/SmarTagger/SmarTagger-0.1-r1.ebuild b/media-sound/SmarTagger/SmarTagger-0.1-r1.ebuild new file mode 100644 index 000000000000..38dc3cb28475 --- /dev/null +++ b/media-sound/SmarTagger/SmarTagger-0.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Perl script for renaming and tagging mp3s" +HOMEPAGE="http://freshmeat.net/projects/smartagger/" +SRC_URI="http://freshmeat.net/redir/smartagger/9680/url_tgz/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc sparc x86" +IUSE="" + +RDEPEND="dev-lang/perl + dev-perl/MP3-Info" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_install() { + dobin ${PN} + dosym ${PN} /usr/bin/smartagger + dodoc changelog README TODO + newdoc album.id3 example.id3 +} diff --git a/media-sound/SmarTagger/files/SmarTagger-0.1-gentoo.patch b/media-sound/SmarTagger/files/SmarTagger-0.1-gentoo.patch new file mode 100644 index 000000000000..f7d94626430b --- /dev/null +++ b/media-sound/SmarTagger/files/SmarTagger-0.1-gentoo.patch @@ -0,0 +1,12 @@ +diff -ur SmarTagger-0.1.orig/SmarTagger SmarTagger-0.1/SmarTagger +--- SmarTagger-0.1.orig/SmarTagger 1999-11-23 10:10:54.000000000 +0200 ++++ SmarTagger-0.1/SmarTagger 2007-07-28 18:29:38.000000000 +0300 +@@ -38,7 +38,7 @@ + $comilla = ""; + } + +-use MPEG::MP3Info; ++use MP3::Info; + $product_name = "SmarTagger"; + $version = "0.1"; + %tags = (); diff --git a/media-sound/SmarTagger/metadata.xml b/media-sound/SmarTagger/metadata.xml new file mode 100644 index 000000000000..b5e5f691ef67 --- /dev/null +++ b/media-sound/SmarTagger/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <upstream> + <remote-id type="freshmeat">smartagger</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/a2jmidid/Manifest b/media-sound/a2jmidid/Manifest new file mode 100644 index 000000000000..b54d4ba374e0 --- /dev/null +++ b/media-sound/a2jmidid/Manifest @@ -0,0 +1 @@ +DIST a2jmidid-8.tar.bz2 162764 SHA256 2a9635f62aabc59edb54ada07048dd47e896b90caff94bcee710d3582606f55f SHA512 6182a295462ae587461ca395d85c956523bfecd113d031d0ae8a9f304fc3d41f6a5097b3a1a9fc06bd0eef7fe08a4b3c116a3361ff9e63468c3e40b736215592 WHIRLPOOL 04408b6eb3460a522da6009e142fa113fd95c20efbce6c1fcca30a2966478950fc3d5c061694bb533fd5f3261f2d26f22b507bff5fb73050f2fb57a23c6c8936 diff --git a/media-sound/a2jmidid/a2jmidid-8-r1.ebuild b/media-sound/a2jmidid/a2jmidid-8-r1.ebuild new file mode 100644 index 000000000000..418ee3427075 --- /dev/null +++ b/media-sound/a2jmidid/a2jmidid-8-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' +NO_WAF_LIBDIR=1 + +inherit python-single-r1 toolchain-funcs waf-utils eutils + +DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system" +HOMEPAGE="http://home.gna.org/a2jmidid/" +SRC_URI="http://download.gna.org/a2jmidid/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="dbus" + +RDEPEND="media-libs/alsa-lib + media-sound/jack-audio-connection-kit + dbus? ( sys-apps/dbus ) + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=(AUTHORS README NEWS internals.txt) + +src_prepare() { + # Bug 518382 + epatch "${FILESDIR}"/${PN}-link.patch +} + +src_configure() { + if use dbus ; then + waf-utils_src_configure + else + waf-utils_src_configure --disable-dbus + fi +} + +src_install() { + waf-utils_src_install + python_fix_shebang "${ED}" +} diff --git a/media-sound/a2jmidid/a2jmidid-8.ebuild b/media-sound/a2jmidid/a2jmidid-8.ebuild new file mode 100644 index 000000000000..61d53c3081d5 --- /dev/null +++ b/media-sound/a2jmidid/a2jmidid-8.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +PYTHON_DEPEND="2" +NO_WAF_LIBDIR=1 + +inherit python toolchain-funcs waf-utils + +DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system" +HOMEPAGE="http://home.gna.org/a2jmidid/" +SRC_URI="http://download.gna.org/a2jmidid/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="dbus" + +RDEPEND="media-libs/alsa-lib + media-sound/jack-audio-connection-kit + dbus? ( sys-apps/dbus )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=(AUTHORS README NEWS internals.txt) + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_configure() { + if use dbus ; then + waf-utils_src_configure + else + waf-utils_src_configure --disable-dbus + fi +} + +src_install() { + waf-utils_src_install + python_convert_shebangs -r 2 "${ED}" +} diff --git a/media-sound/a2jmidid/files/a2jmidid-link.patch b/media-sound/a2jmidid/files/a2jmidid-link.patch new file mode 100644 index 000000000000..8b41f6ec1a41 --- /dev/null +++ b/media-sound/a2jmidid/files/a2jmidid-link.patch @@ -0,0 +1,33 @@ +From 7f82da7eb2f540a94db23331be98d42a58ddc269 Mon Sep 17 00:00:00 2001 +From: Nedko Arnaudov <nedko@arnaudov.name> +Date: Tue, 10 Jul 2012 07:25:12 +0300 +Subject: [PATCH] properly fix pthread linking. Patch by Orcan. sr#2934 + +--- + wscript | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/wscript b/wscript +index 36710e2..66a532a 100644 +--- a/wscript ++++ b/wscript +@@ -66,7 +66,8 @@ def configure(conf): + else: + conf.env['DBUS_ENABLED'] = False + + conf.env['LIB_DL'] = ['dl'] ++ conf.env['LIB_PTHREAD'] = ['pthread'] + + #conf.check_header('expat.h', mandatory=True) + #conf.env['LIB_EXPAT'] = ['expat'] +@@ -152,7 +153,7 @@ def build(bld): + + prog.includes = '.' # make waf dependency tracking work + prog.target = 'a2jmidid' +- prog.uselib = 'ALSA JACK DL' ++ prog.uselib = 'ALSA JACK DL PTHREAD' + if bld.env()['DBUS_ENABLED']: + prog.uselib += " DBUS-1" + prog = bld.create_obj('cc', 'program') +-- +2.3.3.GIT diff --git a/media-sound/a2jmidid/metadata.xml b/media-sound/a2jmidid/metadata.xml new file mode 100644 index 000000000000..b6dce26b0a20 --- /dev/null +++ b/media-sound/a2jmidid/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> + <herd>proxy-maintainers</herd> + <maintainer> + <email>aballier@gentoo.org</email> + <name>Alexis Ballier</name> + </maintainer> + <maintainer> + <email>l33tmmx@gmail.com</email> + <name>Jouni Rinne</name> + </maintainer> +</pkgmetadata> + diff --git a/media-sound/aacgain/Manifest b/media-sound/aacgain/Manifest new file mode 100644 index 000000000000..e390188acba4 --- /dev/null +++ b/media-sound/aacgain/Manifest @@ -0,0 +1,4 @@ +DIST aacgain-1.9.tar.xz 52824 SHA256 42c97a956b69828e312345c09ee477ce411a40d25bdbb67b184c61afd3be3c91 SHA512 937c1c66feb13dfa869b8868415168c06b20e552577328957230a09b11f5e44ac53643da8e6fe91e476b54fe24c265a589c4a25dbde400f2fd43eebc5916f523 WHIRLPOOL bb006c6476d9f0c73b4e545684d99c8b4f32d9c05125cd48a109d88e59f788055a455a1baa6956ef0dead314dcbbed27e78cecf3526c86d371ddfac5fe91d966 +DIST faad2-2.7.tar.gz 1137407 SHA256 ee26ed1e177c0cd8fa8458a481b14a0b24ca0b51468c8b4c8b676fd3ceccd330 SHA512 8135370497dfcfee09094a03a4a9545ebc58b9e532b89c5d6e5037042549e12ddb75f8903aa05866afac9fa28df96320f1ed2eebffc0660578e54392a51c1161 WHIRLPOOL 6e30d466e47de0e06751718005573a632c5aa0cd209445c56c25d859f917265452676ce897ac5ad1cd308d411911aaf232bfc50904469f9434b2cc95b6ae928f +DIST mp3gain-1_5_2-src.zip 129435 SHA256 dbadc7a41a8a3b87d3a21a1989701cfe72d2090c3ead02b0b396a19a8acf6fca SHA512 1a7ac51bf0108c1f6fbd610c513bf7fd2c64d340a2ba23dc9fa5c3b896b279474f31f2d60318f409576e39f7643dd585d3e159e2a4db4553f7c9cc3761b7f388 WHIRLPOOL 4a0584c52090100e9f9fe2c53ac6614965976f1ada9134212734966199a6c116ce2e304ed54ec240c489c293928daf664f109d003d29c5c79c1e3b4a6ee08403 +DIST mp4v2-1.9.1.tar.bz2 432943 SHA256 5c381caeab2326fc48cfda0fe202bdb8ba0ae624d9c97ad7680a2b07e2c2e3b4 SHA512 28b6f96c1d44a1601980113767c38f5b5b058e1a1fae25c18632163e948c18fc884af9d146bb68e771303ab3c5c8ef9437f4fffa7d770d29157f2d455ee4b1c8 WHIRLPOOL 7ba33598287002d4227bcc4bfc1e8fe71241b95ed7151704b78a250d0f5f7d5c77cabf0195502d368571f5668f775fdecc09700bea12859c827d0d29aa654f5e diff --git a/media-sound/aacgain/aacgain-1.9.ebuild b/media-sound/aacgain/aacgain-1.9.ebuild new file mode 100644 index 000000000000..3c89e56e0e14 --- /dev/null +++ b/media-sound/aacgain/aacgain-1.9.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils autotools + +FAAD2_PV="2.7" +MP4V2_PV="1.9.1" +MP3GAIN_PV="1.5.2" + +DESCRIPTION="AACGain normalizes the volume of digital music files using the Replay Gain algorithm" +HOMEPAGE="http://aacgain.altosdesign.com/" +SRC_URI="http://sbriesen.de/gentoo/distfiles/${P}.tar.xz + http://mp4v2.googlecode.com/files/mp4v2-${MP4V2_PV}.tar.bz2 + mirror://sourceforge/mp3gain/mp3gain-${MP3GAIN_PV//./_}-src.zip + mirror://sourceforge/faac/faad2-${FAAD2_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="" + +DOCS="${PN}/README" + +src_unpack() { + mkdir -p "${S}" + for X in ${A}; do + case "${X}" in + mp3gain*) + mkdir -p "${S}/${X%%-*}" + cd "${S}/${X%%-*}" + unpack "${X}" + ;; + *) + cd "${S}" + unpack "${X}" + [ -d "${X%%-*}" ] || mv -f "${X%%-*}"-* "${X%%-*}" + ;; + esac + done +} + +src_prepare() { + sed -i -e 's:iquote :I:' faad2/libfaad/Makefile.am + sed -i -e 's:../\(mp4v2/\):\1:g' ${PN}/mp4v2.patch + sed -i -e 's:\(libmp4v2\|libfaad/libfaad\)\.la:README:g' \ + -e 's:^\(autoreconf\|pushd\|popd\):# \1:g' aacgain/linux/prepare.sh + + epatch ${PN}/mp4v2.patch + epatch "${FILESDIR}"/${P}-patch-dotdot.patch + + cd "${S}/${PN}/linux" + sh prepare.sh || die "prepare failed!" + + cd "${S}" + eautoreconf + + cd "${S}/faad2" + eautoreconf + + cd "${S}/mp4v2" + elibtoolize +} + +src_configure() { + local myconf="--disable-dependency-tracking" + local myconf2="${myconf} --disable-shared --enable-static" + + cd "${S}/faad2" + econf ${myconf2} --without-xmms --without-mpeg4ip + + cd "${S}/mp4v2" + econf ${myconf2} --disable-gch + + cd "${S}" + econf ${myconf} +} + +src_compile() { + cd "${S}/faad2/libfaad" + emake + + cd "${S}/mp4v2" + emake + + cd "${S}" + emake +} + +pkg_postinst() { + ewarn + ewarn "BACK UP YOUR MUSIC FILES BEFORE USING AACGAIN!" + ewarn "THIS IS EXPERIMENTAL SOFTWARE. THERE HAVE BEEN" + ewarn "BUGS IN PAST RELEASES THAT CORRUPTED MUSIC FILES." + ewarn +} diff --git a/media-sound/aacgain/files/aacgain-1.8+glibc-2.10.patch b/media-sound/aacgain/files/aacgain-1.8+glibc-2.10.patch new file mode 100644 index 000000000000..df48cfdae25d --- /dev/null +++ b/media-sound/aacgain/files/aacgain-1.8+glibc-2.10.patch @@ -0,0 +1,19 @@ +diff -ur aacgain-1.8.orig/mpeg4ip/include/mpeg4ip.h aacgain-1.8/mpeg4ip/include/mpeg4ip.h +--- aacgain-1.8.orig/mpeg4ip/include/mpeg4ip.h 2008-11-08 16:39:36.000000000 +0200 ++++ aacgain-1.8/mpeg4ip/include/mpeg4ip.h 2009-07-10 20:59:51.000000000 +0300 +@@ -120,6 +120,7 @@ + #endif + #include <sys/param.h> + ++/* + #ifdef __cplusplus + extern "C" { + #endif +@@ -127,6 +128,7 @@ + #ifdef __cplusplus + } + #endif ++*/ + + #define OPEN_RDWR O_RDWR + #define OPEN_CREAT O_CREAT diff --git a/media-sound/aacgain/files/aacgain-1.9-patch-dotdot.patch b/media-sound/aacgain/files/aacgain-1.9-patch-dotdot.patch new file mode 100644 index 000000000000..5beda664d83e --- /dev/null +++ b/media-sound/aacgain/files/aacgain-1.9-patch-dotdot.patch @@ -0,0 +1,16 @@ +diff -ru aacgain-1.9-orig/aacgain/linux/prepare.sh aacgain-1.9/aacgain/linux/prepare.sh +--- aacgain-1.9-orig/aacgain/linux/prepare.sh 2013-02-19 07:00:54.313006065 +0100 ++++ aacgain-1.9/aacgain/linux/prepare.sh 2013-02-19 07:01:42.849006331 +0100 +@@ -51,7 +51,11 @@ + #remove obsolete config.h; a correct one will be created by automake's configure + rm -f ../../mp3gain/mpglibDBL/config.h + #correct header include paths +-patch -p0 -N <mp3gain.patch ++sed -i 's:../../::' mp3gain.patch ++old="$(pwd)" ++cd ../.. ++patch -p0 -N <"${old}/mp3gain.patch" ++cd "$old" + + echo Creating the configure script + cp -p configure.ac ../.. diff --git a/media-sound/aacgain/metadata.xml b/media-sound/aacgain/metadata.xml new file mode 100644 index 000000000000..34f86b3868ae --- /dev/null +++ b/media-sound/aacgain/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>sbriesen@gentoo.org</email> + <name>Stefan Briesenick</name> + </maintainer> + <longdescription lang="en">AACGain is a modification to Glen Sawyer's excellent mp3gain program. + It supports AAC (mp4/m4a/QuickTime) audio files in addtion to mp3 files. + If you are not familiar with mp3gain, stop reading this, and go to + http://mp3gain.sourceforge.net. AACGain normalizes the volume of digital + music files using the ReplayGain algorithm. It works by modifying the + global_gain fields in the mp4 samples. Free-form metadata tags are added + to the file to save undo information, making the normalization process + reversable. AACGain uses the same command-line user interface as mp3gain.</longdescription> + <upstream> + <remote-id type="google-code">mp4v2</remote-id> + <remote-id type="sourceforge">faac</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/aacplusenc/Manifest b/media-sound/aacplusenc/Manifest new file mode 100644 index 000000000000..89b6e9b3733a --- /dev/null +++ b/media-sound/aacplusenc/Manifest @@ -0,0 +1 @@ +DIST aacplusenc_0.17.5.tar.gz 547953 RMD160 c59efc3a3f8126b4650b304a043f176b80078d82 SHA1 1f862538c6f3ead4c5440d2649ecff4645c32a07 SHA256 318df58a86ac0647d6bfbcd8766fe301ad2ed08ffb4ef4e016e088f4dceb1669 diff --git a/media-sound/aacplusenc/aacplusenc-0.17.5.ebuild b/media-sound/aacplusenc/aacplusenc-0.17.5.ebuild new file mode 100644 index 000000000000..cacda23df4cf --- /dev/null +++ b/media-sound/aacplusenc/aacplusenc-0.17.5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils toolchain-funcs + +DESCRIPTION="High-Efficiency AAC (AAC+) Encoder" +HOMEPAGE="http://teknoraver.net/software/mp4tools/" +SRC_URI="http://ppa.launchpad.net/teknoraver/ppa/ubuntu/pool/main/a/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="sci-libs/fftw:3.0" +DEPEND="${RDEPEND} + sys-apps/sed" + +# 3GPP patenting issues +RESTRICT="mirror test" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-asneeded.patch + + # Fix linking order (bug #393137) + epatch "${FILESDIR}"/${P}-libm.patch + + sed \ + -e 's:LDFLAGS:LIBRARIES:g' \ + -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' \ + -e 's:ar r:$(AR) r:g' \ + -e 's:strip:true:' \ + -e 's:-O3 -ftree-vectorize::' \ + -i configure Makefile lib*/Makefile || die "sed failed" +} + +src_configure() { + tc-export AR CC + ./configure || die "./configure failed" +} + +src_compile() { + emake EXTRACFLAGS="${CFLAGS}" +} + +src_install() { + emake INSTDIR="${D}/usr" install + doman ${PN}.1 + dodoc debian/changelog +} diff --git a/media-sound/aacplusenc/files/aacplusenc-0.17.5-asneeded.patch b/media-sound/aacplusenc/files/aacplusenc-0.17.5-asneeded.patch new file mode 100644 index 000000000000..53b7d7c62f88 --- /dev/null +++ b/media-sound/aacplusenc/files/aacplusenc-0.17.5-asneeded.patch @@ -0,0 +1,20 @@ +--- aacplusenc/configure.orig ++++ aacplusenc/configure +@@ -8,7 +8,7 @@ + + echo -n 'Checking for libfftw3f...' + +-gcc -o test-fft -Wall -x c -lfftw3f -I/usr/local/include -L/usr/local/lib - <<'EOF' ++${CC} ${LDFLAGS} ${CFLAGS} -o test-fft -Wall -x c -lfftw3f -I/usr/local/include -L/usr/local/lib - <<'EOF' + #include <fftw3.h> + + #define N 128 +@@ -38,7 +38,7 @@ + + echo -n 'Detecting endianness...' + +-gcc -o test-endian -Wall -x c - <<'EOF' ++${CC} ${LDFLAGS} ${CFLAGS} -o test-endian -Wall -x c - <<'EOF' + #include <stdint.h> + #include <stdio.h> + diff --git a/media-sound/aacplusenc/files/aacplusenc-0.17.5-libm.patch b/media-sound/aacplusenc/files/aacplusenc-0.17.5-libm.patch new file mode 100644 index 000000000000..37a3f904fea3 --- /dev/null +++ b/media-sound/aacplusenc/files/aacplusenc-0.17.5-libm.patch @@ -0,0 +1,13 @@ +--- aacplusenc/Makefile.orig ++++ aacplusenc/Makefile +@@ -5,9 +5,8 @@ + LIBS=libaacenc/libaacenc.a libbitbuf/libbitbuf.a libfr/libfr.a libsbrenc/libsbrenc.a libresamp/libresamp.a + TARGET=aacplusenc + +-LDFLAGS=-lm + LDFLAGS+=-L$(TOPDIR)/libaacenc -L$(TOPDIR)/libbitbuf -L$(TOPDIR)/libfr -L$(TOPDIR)/libsbrenc -L$(TOPDIR)/libresamp +-LDFLAGS+=-laacenc -lbitbuf -lfr -lsbrenc -lresamp ++LDFLAGS+=-laacenc -lbitbuf -lfr -lsbrenc -lresamp -lm + + ifdef FFTW3 + LDFLAGS+=-lfftw3f diff --git a/media-sound/aacplusenc/metadata.xml b/media-sound/aacplusenc/metadata.xml new file mode 100644 index 000000000000..ae573a60407f --- /dev/null +++ b/media-sound/aacplusenc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> +</pkgmetadata> diff --git a/media-sound/abcde/Manifest b/media-sound/abcde/Manifest new file mode 100644 index 000000000000..c1b475c21b73 --- /dev/null +++ b/media-sound/abcde/Manifest @@ -0,0 +1,3 @@ +DIST abcde-2.5.4.tar.gz 104229 SHA256 85b679b970e728a986487adcbff7c51eb0e72f9fa10c4450521f8e029fa6e591 SHA512 be3c8f697873b65888a37ea6209e161a6fc7bbe26c6e139b211b1fbcb233d3e250b21f6fad2114962ca4dcce79240e2cec51f69ce47549c737071a6122694791 WHIRLPOOL ae5ea868c7d66f8bd367f0a9724546721524b84ae0478fb9bd2ae64b1c1b358a24bfd8d0303ce3012c2bcce40d3b97a1cbcedcb13f8d4dea2ae6cd988d6c0921 +DIST abcde-2.6.tar.gz 105609 SHA256 683ea7e215142784a28afcda4a18d9a2b8f7ef7bcd9c2881ee110a3b86784c78 SHA512 cbd50b4991e80a47e9d98b7681c3dc85266969854b5e5b8d4e622f5abf4384271d40a827903fdc0e477906863b769d6f574bfdd9744a898e425818c53de70514 WHIRLPOOL fd8ca79f76a20be994f4d28f14583836dfb1bc285d7c3c44d0941388d44befe1bc833af56a51e482d3ac0c0bbbbb90535565f8e30a537c2a5ee73a096f516c47 +DIST abcde-2.7.tar.gz 140039 SHA256 0148698a09fedcbae37ee9da295afe411a1190cf8ae224b7814d31b5bf737746 SHA512 0e5c931cddf283cb4444136e4ad43c996d8f69c990a76ed032ad9863c8de54ad9a9896a2de1a500184690b72ffb35ab2e2f859f12a19f15f093ef016ff69c61e WHIRLPOOL da88cef66740720dffc5175e2777a5da7cf014a64eefcf582ee734949edf19df858e3d9a7ab49295e0d2e2cc7017eb6ccb5345fa123be780c30744be5cf6a171 diff --git a/media-sound/abcde/abcde-2.5.4-r1.ebuild b/media-sound/abcde/abcde-2.5.4-r1.ebuild new file mode 100644 index 000000000000..73ea751fec54 --- /dev/null +++ b/media-sound/abcde/abcde-2.5.4-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="A command line CD encoder" +HOMEPAGE="http://code.google.com/p/abcde/" +SRC_URI="http://abcde.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +# Enable MP3 related flags by default +IUSE="aac cdparanoia cdr flac +id3tag +lame musicbrainz normalize replaygain speex vorbis" + +# See `grep :: abcde-musicbrainz-tool` output for USE musicbrainz dependencies +RDEPEND="media-sound/cd-discid + net-misc/wget + virtual/eject + aac? ( + media-libs/faac + || ( media-video/atomicparsley media-video/atomicparsley-wez ) + ) + cdparanoia? ( + || ( dev-libs/libcdio-paranoia media-sound/cdparanoia ) + ) + cdr? ( virtual/cdrtools ) + flac? ( media-libs/flac ) + id3tag? ( + dev-python/eyeD3:0.7 + >=media-sound/id3-0.12 + media-sound/id3v2 + ) + lame? ( media-sound/lame ) + musicbrainz? ( + dev-perl/MusicBrainz-DiscID + dev-perl/WebService-MusicBrainz + virtual/perl-Digest-SHA + virtual/perl-Getopt-Long + ) + normalize? ( >=media-sound/normalize-0.7.4 ) + replaygain? ( + vorbis? ( media-sound/vorbisgain ) + lame? ( media-sound/mp3gain ) + ) + speex? ( media-libs/speex ) + vorbis? ( media-sound/vorbis-tools )" + +src_prepare() { + sed -i -e 's:etc/abcde.co:etc/abcde/abcde.co:g' abcde || die + + epatch "${FILESDIR}"/${P}-eyeD3-0.7-api.patch +} + +src_install() { + emake DESTDIR="${D}" etcdir="${D}"etc/abcde install + + dodoc changelog FAQ README TODO USEPIPES + + docinto examples + dodoc examples/* +} diff --git a/media-sound/abcde/abcde-2.6.ebuild b/media-sound/abcde/abcde-2.6.ebuild new file mode 100644 index 000000000000..f89360b4acd4 --- /dev/null +++ b/media-sound/abcde/abcde-2.6.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="A command line CD encoder" +HOMEPAGE="http://abcde.einval.com/" +SRC_URI="http://abcde.einval.com/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +# Enable MP3 related flags by default +IUSE="aac cdparanoia cdr flac +id3tag +lame musepack musicbrainz normalize opus replaygain speex vorbis" + +# See `grep :: abcde-musicbrainz-tool` output for USE musicbrainz dependencies +RDEPEND="media-sound/cd-discid + net-misc/wget + virtual/eject + aac? ( + || ( media-libs/faac media-sound/neroaac ) + || ( media-video/atomicparsley media-video/atomicparsley-wez ) + ) + cdparanoia? ( + || ( dev-libs/libcdio-paranoia media-sound/cdparanoia ) + ) + cdr? ( virtual/cdrtools ) + flac? ( media-libs/flac ) + id3tag? ( + dev-python/eyeD3:0.7 + >=media-sound/id3-0.12 + media-sound/id3v2 + ) + lame? ( media-sound/lame ) + musepack? ( media-sound/musepack-tools ) + musicbrainz? ( + dev-perl/MusicBrainz-DiscID + dev-perl/WebService-MusicBrainz + virtual/perl-Digest-SHA + virtual/perl-Getopt-Long + ) + normalize? ( >=media-sound/normalize-0.7.4 ) + opus? ( media-sound/opus-tools ) + replaygain? ( + vorbis? ( media-sound/vorbisgain ) + lame? ( media-sound/mp3gain ) + ) + speex? ( media-libs/speex ) + vorbis? ( media-sound/vorbis-tools )" + +src_prepare() { + sed -i -e 's:etc/abcde.co:etc/abcde/abcde.co:g' abcde || die +} + +src_install() { + emake DESTDIR="${D}" etcdir="${D}"etc/abcde install + + dodoc changelog FAQ README TODO USEPIPES + + docinto examples + dodoc examples/* +} diff --git a/media-sound/abcde/abcde-2.7.ebuild b/media-sound/abcde/abcde-2.7.ebuild new file mode 100644 index 000000000000..b5f95361186a --- /dev/null +++ b/media-sound/abcde/abcde-2.7.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="A command line CD encoder" +HOMEPAGE="http://abcde.einval.com/" +SRC_URI="http://abcde.einval.com/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# Enable MP3 related flags by default +IUSE="aac cdparanoia cdr flac +id3tag +lame mac musepack musicbrainz normalize opus replaygain speex vorbis wavpack" + +# See `grep :: abcde-musicbrainz-tool` output for USE musicbrainz dependencies +RDEPEND="media-sound/cd-discid + net-misc/wget + virtual/eject + aac? ( + || ( media-libs/faac media-sound/neroaac ) + || ( media-video/atomicparsley media-video/atomicparsley-wez ) + ) + cdparanoia? ( + || ( dev-libs/libcdio-paranoia media-sound/cdparanoia ) + ) + cdr? ( virtual/cdrtools ) + flac? ( media-libs/flac ) + id3tag? ( + dev-python/eyeD3:0.7 + >=media-sound/id3-0.12 + media-sound/id3v2 + ) + lame? ( media-sound/lame ) + mac? ( + media-sound/apetag + media-sound/mac + ) + musepack? ( media-sound/musepack-tools ) + musicbrainz? ( + dev-perl/MusicBrainz-DiscID + dev-perl/WebService-MusicBrainz + virtual/perl-Digest-SHA + virtual/perl-Getopt-Long + ) + normalize? ( >=media-sound/normalize-0.7.4 ) + opus? ( media-sound/opus-tools ) + replaygain? ( + vorbis? ( media-sound/vorbisgain ) + lame? ( media-sound/mp3gain ) + ) + speex? ( media-libs/speex ) + vorbis? ( media-sound/vorbis-tools ) + wavpack? ( media-sound/wavpack ) +" + +src_prepare() { + sed -i 's:etc/abcde.co:etc/abcde/abcde.co:g' abcde || die +} + +src_install() { + emake DESTDIR="${D}" etcdir="${D}"etc/abcde install + + dodoc changelog FAQ README + + docinto examples + dodoc examples/* +} diff --git a/media-sound/abcde/files/abcde-2.5.4-eyeD3-0.7-api.patch b/media-sound/abcde/files/abcde-2.5.4-eyeD3-0.7-api.patch new file mode 100644 index 000000000000..15f234877996 --- /dev/null +++ b/media-sound/abcde/files/abcde-2.5.4-eyeD3-0.7-api.patch @@ -0,0 +1,22 @@ +Update to eyeD3 >= 0.7.0 API + +--- abcde ++++ abcde +@@ -829,7 +829,7 @@ + -a "$TRACKARTIST" -t "$TRACKNAME" -Y "$CDYEAR" \ + -G "$GENREID" -n "${TRACKNUM:-$1}" \ + ${TRACKNUM:+-N "$TRACKS"} \ +- ${ENCODING:+--set-encoding="$ENCODING"} \ ++ ${ENCODING:+--encoding "$ENCODING"} \ + ${TPE2:+--set-text-frame=TPE2:"$TPE2"} \ + "$ABCDETEMPDIR/track$1.$OUTPUT" + ;; +@@ -3879,7 +3879,7 @@ + TAGGER="$EYED3" + TAGGEROPTS="$ID3V2OPTS" + ID3SYNTAX=eyed3 +- TAGGEROPTS="--set-encoding=utf16-LE $ID3V2OPTS" ++ TAGGEROPTS="--encoding utf16 $ID3V2OPTS" + fi + + # NOGAP is specific to lame. Other encoders fail ... diff --git a/media-sound/abcde/metadata.xml b/media-sound/abcde/metadata.xml new file mode 100644 index 000000000000..00db7c748975 --- /dev/null +++ b/media-sound/abcde/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <use> + <flag name='id3tag'>Support ID3, ID3v2 tagging of audio files</flag> + <flag name='mac'>Enable support for Monkey's Audio files</flag> + <flag name='normalize'>Add support for normalizing audio file volume levels</flag> + <flag name='opus'>Support opus encoding using opusenc</flag> + <flag name='replaygain'>Support for Replay Gain metadata, for relative volume adjustment</flag> + </use> +</pkgmetadata> diff --git a/media-sound/abcm2ps/Manifest b/media-sound/abcm2ps/Manifest new file mode 100644 index 000000000000..4a7d4d4e7f3a --- /dev/null +++ b/media-sound/abcm2ps/Manifest @@ -0,0 +1,4 @@ +DIST abcm2ps-6.6.22.tar.gz 298108 SHA256 be3dde653a349c8875dd1c98810c7a5263ddaaee9bc99085a41749c3e53ce560 SHA512 fb7e526e7036456df8f8826c9d552de1ff9b007cdf5b5a623ac164a346cad9af07d26ed081d8693ff549cfde37fc541a02eea2d8cb45f4902b66ac05ab96f939 WHIRLPOOL e7d82037462f60ec4c9f6a8411c109eaeebae09373169d5d3b751d789c2c221d88a7062a9b6750e25b8062f999ea213f0c3d031390ea750dcfe9868469424363 +DIST abcm2ps-8.5.2.tar.gz 231017 SHA256 466446ef3007a3bbedf01667e647ba66fcdd81e3bc714bfe5b13a1c16f536c69 SHA512 605ad9eed7470ab89ce87cb0192d58cdfce6dd481b787f58c829c8cfed999fb11ffccbc1fe0ad325a311eabf40405f1ae676c7c64ce84db0ecaf9d58b509b293 WHIRLPOOL 06ad4b92557cd65fcf18b80a40aae36b688137793397cf9aef8e286b73af1218cedacfcbaff8e6e4bd29ab78aac158ef174dfc3eb7cbe00ae560a54cd169636e +DIST abcm2ps-8.8.3.tar.gz 238617 SHA256 7a802a535ccb92e8ff0231ba70fdc9e522f9fbadf00d5a22c0a833853730db17 SHA512 61e6ebbf822a48d558e78e876ed123a7ed5125d858aae6de30b16906c3023509caaa52eeea9123c59fed3128d079965fe0bc95b2603c444bb4d01cfda22d24b3 WHIRLPOOL 5c14ee3c86714c94a65ffea4b6397e891c954f771523df028691d034f549d96d63324e3a7b2f09bd8856ccfd2567a8163d632864d0e9ae4ded1caa3e7c71fa5e +DIST transpose_abc.pl 21045 SHA256 bd6960872bfbc9f71f183f36d533ea33b8cf62a6027b447f0b0b8adfa25a2848 SHA512 dc2623608a7b59d7e0c4d25160e69f696f170e9938dc3e035edbaf6f0163b4c6139892ec8734ea2aaba997507dcf32208562e898690600dc3c199046d4d151f3 WHIRLPOOL 81e327bbd76b40826adab06f7756c79c60289b21432b792c848db3ba1354528fa4f1a074cba890b6087cfac6e712427c6cbb2c9e6679c8ced22c362f6ec005f3 diff --git a/media-sound/abcm2ps/abcm2ps-6.6.22.ebuild b/media-sound/abcm2ps/abcm2ps-6.6.22.ebuild new file mode 100644 index 000000000000..36b5d0c2c545 --- /dev/null +++ b/media-sound/abcm2ps/abcm2ps-6.6.22.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="A program to convert abc files to Postscript files" +HOMEPAGE="http://moinejf.free.fr/" +SRC_URI="http://moinejf.free.fr/${P}.tar.gz + http://moinejf.free.fr/transpose_abc.pl" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="examples pango" + +RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + --enable-a4 \ + --enable-deco-is-roll \ + $(use_enable pango) +} + +src_install() { + dobin abcm2ps + + insinto /usr/share/${PN} + doins *.fmt + + dodoc Changes README *.txt + + if use examples ; then + docinto examples + dodoc *.{abc,eps} + docompress -x /usr/share/doc/${PF}/examples + fi + + docinto contrib + dodoc "${DISTDIR}"/transpose_abc.pl +} diff --git a/media-sound/abcm2ps/abcm2ps-8.5.2.ebuild b/media-sound/abcm2ps/abcm2ps-8.5.2.ebuild new file mode 100644 index 000000000000..d700dad14e8f --- /dev/null +++ b/media-sound/abcm2ps/abcm2ps-8.5.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="A program to convert abc files to Postscript files" +HOMEPAGE="http://moinejf.free.fr/" +SRC_URI="http://moinejf.free.fr/${P}.tar.gz + http://moinejf.free.fr/transpose_abc.pl" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="examples pango" + +RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + --enable-a4 \ + --enable-deco-is-roll \ + $(use_enable pango) +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() { + dobin abcm2ps + + insinto /usr/share/${PN} + doins *.fmt + + dodoc Changes README *.txt + + if use examples ; then + docinto examples + dodoc *.{abc,eps} + docompress -x /usr/share/doc/${PF}/examples + fi + + docinto contrib + dodoc "${DISTDIR}"/transpose_abc.pl +} diff --git a/media-sound/abcm2ps/abcm2ps-8.8.3.ebuild b/media-sound/abcm2ps/abcm2ps-8.8.3.ebuild new file mode 100644 index 000000000000..d6c38320df21 --- /dev/null +++ b/media-sound/abcm2ps/abcm2ps-8.8.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="A program to convert abc files to Postscript files" +HOMEPAGE="http://moinejf.free.fr/" +SRC_URI="http://moinejf.free.fr/${P}.tar.gz + http://moinejf.free.fr/transpose_abc.pl" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="examples pango" + +RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + --enable-a4 \ + --enable-deco-is-roll \ + $(use_enable pango) +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() { + dobin abcm2ps + + insinto /usr/share/${PN} + doins *.fmt + + dodoc Changes README *.txt + + if use examples ; then + docinto examples + dodoc *.{abc,eps} + docompress -x /usr/share/doc/${PF}/examples + fi + + docinto contrib + dodoc "${DISTDIR}"/transpose_abc.pl +} diff --git a/media-sound/abcm2ps/metadata.xml b/media-sound/abcm2ps/metadata.xml new file mode 100644 index 000000000000..9e9e140a45df --- /dev/null +++ b/media-sound/abcm2ps/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <use> + <flag name="pango">Use the pango library to render fonts with non-latin characters</flag> + </use> +</pkgmetadata> diff --git a/media-sound/abcmidi/Manifest b/media-sound/abcmidi/Manifest new file mode 100644 index 000000000000..09290d354e6b --- /dev/null +++ b/media-sound/abcmidi/Manifest @@ -0,0 +1,2 @@ +DIST abcMIDI-2014-12-25.zip 515102 SHA256 eb58236eb80c4b454c16c7df36ebb38712f60074ebbd0cc5cc992fb2ff6bc3cc SHA512 3801a35c23d3bc145c50d652f61c2ffd245cb78d080836985dd6f495d37a31742b2bfd372c7d8ccf12d75fd2d7ccd70a119eb03f2f7abdc45ff666b26d535968 WHIRLPOOL 94f15fc6689da6f7b91b9601bf329b86bc5024ca1e24b8fd6189917390715c701d75cbaa529430cb5a295703d2f2b74393336f5e20365d446c7027e417e6e562 +DIST abcMIDI-2015-02-22.zip 515257 SHA256 56576371a551f7a83d5eb60578fb0af4b17e55c27ebbd78431b8919b7259fb60 SHA512 a9b686dcbcbc63e5ca2284bf4a355718aeca12853b3b0a01a578bfd2b9e2c1c4ede5a7a33c413882e9e0254349591a82a7e13bfb2e1c4e9b2b967fcb089376e2 WHIRLPOOL 15661abcd8fbef72d3e04af3181251575def6d5942fbd38c0a133e95d82af1f903ef2b03b302c0dc7c1a9703243c9a96470dff459f87c2f2a1446b37c869559b diff --git a/media-sound/abcmidi/abcmidi-2014.12.25.ebuild b/media-sound/abcmidi/abcmidi-2014.12.25.ebuild new file mode 100644 index 000000000000..323b7f398e69 --- /dev/null +++ b/media-sound/abcmidi/abcmidi-2014.12.25.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils versionator autotools + +MY_P="abcMIDI-$(replace_all_version_separators '-')" +DESCRIPTION="Programs for processing ABC music notation files" +HOMEPAGE="http://abc.sourceforge.net/abcMIDI/" +SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch + rm configure makefile || die + sed -i "s:-O2::" configure.ac || die + eautoreconf +} + +src_install() { + default + dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt} + + if use examples ; then + docinto examples + dodoc samples/*.abc + fi +} diff --git a/media-sound/abcmidi/abcmidi-2015.02.22.ebuild b/media-sound/abcmidi/abcmidi-2015.02.22.ebuild new file mode 100644 index 000000000000..323b7f398e69 --- /dev/null +++ b/media-sound/abcmidi/abcmidi-2015.02.22.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils versionator autotools + +MY_P="abcMIDI-$(replace_all_version_separators '-')" +DESCRIPTION="Programs for processing ABC music notation files" +HOMEPAGE="http://abc.sourceforge.net/abcMIDI/" +SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch + rm configure makefile || die + sed -i "s:-O2::" configure.ac || die + eautoreconf +} + +src_install() { + default + dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt} + + if use examples ; then + docinto examples + dodoc samples/*.abc + fi +} diff --git a/media-sound/abcmidi/files/abcmidi-2011.10.19-install.patch b/media-sound/abcmidi/files/abcmidi-2011.10.19-install.patch new file mode 100644 index 000000000000..5fa8ca2a5112 --- /dev/null +++ b/media-sound/abcmidi/files/abcmidi-2011.10.19-install.patch @@ -0,0 +1,24 @@ +--- abcmidi/Makefile.in.orig ++++ abcmidi/Makefile.in +@@ -140,17 +140,10 @@ + rm *.o ${binaries} + + install: abc2midi midi2abc abc2abc mftext midicopy yaps abcmatch +- test -d $(DESTDIR)${prefix}/${bindir} || mkdir -p $(DESTDIR)${prefix}/${bindir} +- $(INSTALL) -m 755 ${binaries} $(DESTDIR)${prefix}/${bindir} +- +- # install documentation +- test -d $(DESTDIR)${PREFIX}/share/doc/abcmidi || mkdir -p $(DESTDIR)${prefix}/${docdir} +- $(INSTALL) -m 644 doc/*.txt $(DESTDIR)${prefix}/${docdir} +- $(INSTALL) -m 644 doc/AUTHORS $(DESTDIR)${prefix}/${docdir} +- $(INSTALL) -m 644 doc/CHANGES $(DESTDIR)${prefix}/${docdir} +- $(INSTALL) -m 644 VERSION $(DESTDIR)${prefix}/${docdir} ++ test -d $(DESTDIR)${bindir} || mkdir -p $(DESTDIR)${bindir} ++ $(INSTALL) -m 755 ${binaries} $(DESTDIR)${bindir} + + # install manpages +- test -d $(DESTDIR)${prefix}/${mandir} || mkdir -p $(DESTDIR)${prefix}/${mandir}; +- $(INSTALL) -m 644 doc/*.1 $(DESTDIR)${prefix}/${mandir} ++ test -d $(DESTDIR)${mandir} || mkdir -p $(DESTDIR)${mandir} ++ $(INSTALL) -m 644 doc/*.1 $(DESTDIR)${mandir} + diff --git a/media-sound/abcmidi/metadata.xml b/media-sound/abcmidi/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-sound/abcmidi/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> diff --git a/media-sound/adplay/Manifest b/media-sound/adplay/Manifest new file mode 100644 index 000000000000..a3548c3769d6 --- /dev/null +++ b/media-sound/adplay/Manifest @@ -0,0 +1 @@ +DIST adplay-1.7.tar.bz2 264340 SHA256 2c62cf763de301a05d446655380465743c5b81fb027d9791996e5eac5bf6fdc6 diff --git a/media-sound/adplay/adplay-1.7.ebuild b/media-sound/adplay/adplay-1.7.ebuild new file mode 100644 index 000000000000..c84830cac6cc --- /dev/null +++ b/media-sound/adplay/adplay-1.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="A console player for AdLib music" +HOMEPAGE="http://adplug.sourceforge.net" +SRC_URI="mirror://sourceforge/adplug/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="alsa ao oss sdl" + +RDEPEND=">=media-libs/adplug-2.2.1 + dev-cpp/libbinio + alsa? ( media-libs/alsa-lib ) + ao? ( media-libs/libao ) + sdl? ( media-libs/libsdl )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +src_configure() { + econf \ + $(use_enable alsa output-alsa) \ + $(use_enable ao output-ao) \ + --disable-output-esound \ + $(use_enable oss output-oss) \ + $(use_enable sdl output-sdl) +} diff --git a/media-sound/adplay/metadata.xml b/media-sound/adplay/metadata.xml new file mode 100644 index 000000000000..88d380c3ac81 --- /dev/null +++ b/media-sound/adplay/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <upstream> + <remote-id type="sourceforge">adplug</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/aeolus/Manifest b/media-sound/aeolus/Manifest new file mode 100644 index 000000000000..4c76e9e82651 --- /dev/null +++ b/media-sound/aeolus/Manifest @@ -0,0 +1,3 @@ +DIST aeolus-0.8.1.tar.bz2 59676 SHA256 33cd33a3aad11123fa433ebd37fc8a5c13640d6ea059d3f1bf4f05c0f353c37f +DIST aeolus-0.8.4.tar.bz2 64562 SHA256 59a88976e1f46dfa73d38fe209bd55b17f4c44e62a91797b84be45c6ba1654ea SHA512 79e938355f62e2b91632e0d95130e922b069116459df101dde9ec943f4c2858bb4ff14338f2fd008b26b4f47958c4b6e39d011093ef34b33dc1da2ab89f869c6 WHIRLPOOL 06713b6d23a7224fa998ab3965b00099e4192446ac4cc92547122ad493aa55522595d2c4965b999c68e8ad0a031b349aac84046f43c690d807dd675c7e1aa628 +DIST aeolus-0.9.0.tar.bz2 69017 SHA256 f7bd08d228b15a1d76a21709b47899eea16ebda2585a4348fa4615a1fe8a7336 SHA512 b73ddcb3338dc2c30d11976c1cb7239fab455faf6b1cfc87582a1e48e8bdb90f163b467e93ed5e1c524900ecf59802f4012f83b2181cccad52186c99cfa2baf9 WHIRLPOOL d9293b1a94747e0b59776e9b860ca07abd489f600ebd841e7ec27437215879ca95fe8fb2dc5a6b340b03874aed96b310ba1dca49badcb4b6a2b9c47a5ffa8a15 diff --git a/media-sound/aeolus/aeolus-0.8.1.ebuild b/media-sound/aeolus/aeolus-0.8.1.ebuild new file mode 100644 index 000000000000..b2407f74e4d4 --- /dev/null +++ b/media-sound/aeolus/aeolus-0.8.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit versionator toolchain-funcs multilib + +MY_P=${PN}-$(replace_version_separator 3 '-') + +DESCRIPTION="A synthesised pipe organ emulator" +HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html" +SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-libs/libclalsadrv-1.2.2 + >=media-libs/libclthreads-2.2.1 + >=media-libs/libclxclient-3.3.2 + x11-libs/libXft + x11-libs/libX11 + >=media-sound/jack-audio-connection-kit-0.109.2 + media-libs/alsa-lib + sys-libs/readline" + +RDEPEND="${DEPEND} + media-libs/stops" + +S=${WORKDIR}/${PN}-$(get_version_component_range 1-3) + +src_compile() { + tc-export CXX + sed -i -e "s/-O3//" Makefile || die "Failed to remove forced CFLAGS" + sed -i -e "s:/sbin/ldconfig:true:" Makefile || die "Failed to remove ldconfig call CFLAGS" + sed -i -e "s/g++/$(tc-getCXX)/" Makefile || die "Failed to set correct compiler" + emake PREFIX="/usr" LIBDIR=$(get_libdir) || die "make failed" +} + +src_install() { + dodir /usr/bin + emake PREFIX="${D}/usr" install || die "make install failed" + dodoc README AUTHORS + echo "-S /usr/share/stops" > "${T}/aeolus.conf" + insinto /etc + doins "${T}/aeolus.conf" +} diff --git a/media-sound/aeolus/aeolus-0.8.4.ebuild b/media-sound/aeolus/aeolus-0.8.4.ebuild new file mode 100644 index 000000000000..ccc86798c371 --- /dev/null +++ b/media-sound/aeolus/aeolus-0.8.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit versionator toolchain-funcs multilib + +MY_P=${PN}-$(replace_version_separator 3 '-') + +DESCRIPTION="A synthesised pipe organ emulator" +HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html" +SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-libs/libclalsadrv-2.0.0 + >=media-libs/libclthreads-2.4.0 + >=media-libs/libclxclient-3.6.1 + x11-libs/libXft + x11-libs/libX11 + >=media-sound/jack-audio-connection-kit-0.109.2 + media-libs/alsa-lib + sys-libs/readline" + +RDEPEND="${DEPEND} + media-libs/stops" + +S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)/source + +src_compile() { + tc-export CXX + sed -i -e "s/-O3//" Makefile || die "Failed to remove forced CFLAGS" + sed -i -e "s:/sbin/ldconfig:true:" Makefile || die "Failed to remove ldconfig call CFLAGS" + sed -i -e "s/g++/$(tc-getCXX)/" Makefile || die "Failed to set correct compiler" + emake PREFIX="/usr" LIBDIR=$(get_libdir) || die "make failed" +} + +src_install() { + emake PREFIX="${D}/usr" install || die "make install failed" + dodoc ../README ../AUTHORS + echo "-S /usr/share/stops" > "${T}/aeolus.conf" + insinto /etc + doins "${T}/aeolus.conf" +} diff --git a/media-sound/aeolus/aeolus-0.9.0.ebuild b/media-sound/aeolus/aeolus-0.9.0.ebuild new file mode 100644 index 000000000000..10310e5e7da5 --- /dev/null +++ b/media-sound/aeolus/aeolus-0.9.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit versionator toolchain-funcs multilib flag-o-matic + +MY_P=${PN}-$(replace_version_separator 3 '-') + +DESCRIPTION="A synthesised pipe organ emulator" +HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html" +SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + media-libs/zita-alsa-pcmi + >=media-libs/libclthreads-2.4.0 + >=media-libs/libclxclient-3.6.1 + x11-libs/libXft + x11-libs/libX11 + >=media-sound/jack-audio-connection-kit-0.109.2 + media-libs/alsa-lib + sys-libs/readline:0" + +RDEPEND="${DEPEND} + media-libs/stops" + +S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)/source + +src_compile() { + tc-export CXX + append-cppflags $($(tc-getPKG_CONFIG) --cflags xft) + sed -i -e "s/-O3//" Makefile || die "Failed to remove forced CFLAGS" + sed -i -e "s:ldconfig:true:" Makefile || die "Failed to remove ldconfig call" + sed -i -e "s/g++/$(tc-getCXX)/" Makefile || die "Failed to set correct compiler" + sed -i -e "s/-lXft/`$(tc-getPKG_CONFIG) --libs xft`/" Makefile || die + emake PREFIX="/usr" LIBDIR=$(get_libdir) +} + +src_install() { + emake PREFIX="${D}/usr" install + dodoc ../README ../AUTHORS + echo "-S /usr/share/stops" > "${T}/aeolus.conf" + insinto /etc + doins "${T}/aeolus.conf" +} diff --git a/media-sound/aeolus/metadata.xml b/media-sound/aeolus/metadata.xml new file mode 100644 index 000000000000..a2cd58b8094c --- /dev/null +++ b/media-sound/aeolus/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proaudio</herd> +<longdescription lang="en"> + Aeolus is a synthesised (i.e. not sampled) pipe organ emulator that should + be good enough to make an organist enjoy playing it. It is a software + synthesiser optimised for this job, with possibly hundreds of controls for + each stop, that enable the user to "voice" his instrument. + + Main features of the default instrument: three manuals and one pedal, five + different temperaments, variable tuning, MIDI control of course, stereo, + surround or Ambisonics output, flexible audio controls including a large + church reverb. +</longdescription> +</pkgmetadata> diff --git a/media-sound/alac_decoder/Manifest b/media-sound/alac_decoder/Manifest new file mode 100644 index 000000000000..71325dc67047 --- /dev/null +++ b/media-sound/alac_decoder/Manifest @@ -0,0 +1,2 @@ +DIST alac_decoder-0.1.3.tar.gz 15171 SHA256 b0ac203d873cc5746a519970adf095a32bfc4bad3fff2bfdf41bd1d518f09b1d +DIST alac_decoder-0.2.0.tgz 19019 SHA256 7f8f978a5619e6dfa03dc140994fd7255008d788af848ba6acf9cfbaa3e4122f diff --git a/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild b/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild new file mode 100644 index 000000000000..9e22b17495c5 --- /dev/null +++ b/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils toolchain-funcs + +DESCRIPTION="Basic decoder for Apple Lossless Audio Codec files (ALAC)" +HOMEPAGE="http://craz.net/programs/itunes/alac.html" +SRC_URI="http://craz.net/programs/itunes/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~ppc-macos ~x86-solaris" +IUSE="" + +RDEPEND="" +DEPEND="sys-apps/sed" + +S=${WORKDIR}/${PN} + +src_prepare() { + sed -i -e "s:\(-o alac\):\$(LDFLAGS) \1:g" Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + dobin alac || die "dobin failed" + dodoc README +} diff --git a/media-sound/alac_decoder/alac_decoder-0.2.0.ebuild b/media-sound/alac_decoder/alac_decoder-0.2.0.ebuild new file mode 100644 index 000000000000..7f237a15a529 --- /dev/null +++ b/media-sound/alac_decoder/alac_decoder-0.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils toolchain-funcs + +DESCRIPTION="Basic decoder for Apple Lossless Audio Codec files (ALAC)" +HOMEPAGE="http://craz.net/programs/itunes/alac.html" +SRC_URI="http://craz.net/programs/itunes/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x86-solaris" +IUSE="" + +RDEPEND="" +DEPEND="sys-apps/sed" + +S=${WORKDIR}/${PN} + +src_prepare() { + sed -i -e "s:\(-o alac\):\$(LDFLAGS) \1:g" Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + dobin alac || die "dobin failed" + dodoc README +} diff --git a/media-sound/alac_decoder/metadata.xml b/media-sound/alac_decoder/metadata.xml new file mode 100644 index 000000000000..c733e85706e2 --- /dev/null +++ b/media-sound/alac_decoder/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>maintainer-needed@gentoo.org</email> + </maintainer> + <longdescription lang="en"> + Basic decoder for Apple Lossless Audio Codec files (ALAC). ALAC is a + proprietary lossless audio compression scheme. Apple never released any + documents on the format. ALAC uses an adaptive FIR prediction algorithm + and stores the error values using a modified rice or golumb algorithm. + </longdescription> +</pkgmetadata> diff --git a/media-sound/alsa-tools/Manifest b/media-sound/alsa-tools/Manifest new file mode 100644 index 000000000000..820437fe8809 --- /dev/null +++ b/media-sound/alsa-tools/Manifest @@ -0,0 +1,3 @@ +DIST alsa-tools-1.0.27.tar.bz2 1650746 SHA256 6562611b5a6560712f109e09740a9d4fa47296b07ed9590cb44139c5f154ada2 SHA512 aad985329e5649b5bd7c142e95c5d1c415f28bac1afb81ad21fedac76e736d18abe4aa129e798650d91b2dd14fb18f3960ed5218768c689319c2360c432b4589 WHIRLPOOL 0d827aee4219e393c61a55920e3d66eb4e208e9d3d93ac9c1bf208c5c0c8cdf2d58f63d70b534458f3542cd3cbd5478129d73aecc57ce6654bc43f0bc73c0f25 +DIST alsa-tools-1.0.28.tar.bz2 1675680 SHA256 76e59711c6d0f39cbddce83ce1ed8da00bad112fee021f94fa990d8685cc3761 SHA512 b5150edb5f5124d5ec256b7c3348207da1bb9847ab2f10297171d6a43f559a31429ef96608a2c670db75d269dd940ebf2b6e3cbfafde530de25cbd95dce31af2 WHIRLPOOL 20f8acf8edf3fa82f19e4098c520c155a87966272d769f29a6208b25fc80a831a6cfdb3c748406ced643b5de7fa4cfb43f3a62d634fd90512369b1f57ea9cb92 +DIST alsa-tools-1.0.29.tar.bz2 1715439 SHA256 94abf0ab5a73f0710c70d4fb3dc1003af5bae2d2ed721d59d245b41ad0f2fbd1 SHA512 c236e105106e65b9f02e5baed536fa33f8efcff21a75470127e2edacf0bbb3ec555131e146d9dbfc8da307355b372e7c2acaf8edaa98dc7880abd484fbdb2813 WHIRLPOOL 19d34f425ad45d540a0ccd2ae2c77bae810ee6039250f57296c280156c6e6ed8d3788f306975f6b06b8b3f377e714d644aed08c177bd9d83acf352ccb939a47d diff --git a/media-sound/alsa-tools/alsa-tools-1.0.27-r1.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.27-r1.ebuild new file mode 100644 index 000000000000..3cfac0d7afa0 --- /dev/null +++ b/media-sound/alsa-tools/alsa-tools-1.0.27-r1.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic + +DESCRIPTION="Advanced Linux Sound Architecture tools" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="amd64 ~mips ppc ~ppc64 sparc x86" + +ECHOAUDIO_CARDS="alsa_cards_darla20 alsa_cards_gina20 +alsa_cards_layla20 alsa_cards_darla24 alsa_cards_gina24 +alsa_cards_layla24 alsa_cards_mona alsa_cards_mia alsa_cards_indigo +alsa_cards_indigoio alsa_cards_echo3g" + +IUSE="fltk gtk alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart +alsa_cards_vx222 alsa_cards_usb-usx2y alsa_cards_sb16 alsa_cards_sbawe +alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ice1712 +alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sscape alsa_cards_pcxhr +${ECHOAUDIO_CARDS}" + +RDEPEND=">=media-libs/alsa-lib-${PV} + >=dev-python/pyalsa-1.0.26 + fltk? ( >=x11-libs/fltk-1.3.0:1 ) + gtk? ( + >=dev-python/pygtk-2 + x11-libs/gtk+:2 + x11-libs/gtk+:3 + )" #468294 +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + ALSA_TOOLS="seq/sbiload us428control hwmixvolume hda-verb" + + if use gtk; then + ALSA_TOOLS="${ALSA_TOOLS} hdajackretask" + use alsa_cards_ice1712 && \ + ALSA_TOOLS="${ALSA_TOOLS} envy24control" + use alsa_cards_rme32 && use alsa_cards_rme96 && \ + ALSA_TOOLS="${ALSA_TOOLS} rmedigicontrol" + fi + + if use alsa_cards_hdsp || use alsa_cards_hdspm; then + ALSA_TOOLS="${ALSA_TOOLS} hdsploader" + use fltk && ALSA_TOOLS="${ALSA_TOOLS} hdspconf hdspmixer" + fi + + use alsa_cards_mixart && ALSA_TOOLS="${ALSA_TOOLS} mixartloader" + use alsa_cards_vx222 && ALSA_TOOLS="${ALSA_TOOLS} vxloader" + use alsa_cards_usb-usx2y && ALSA_TOOLS="${ALSA_TOOLS} usx2yloader" + use alsa_cards_pcxhr && ALSA_TOOLS="${ALSA_TOOLS} pcxhr" + use alsa_cards_sscape && ALSA_TOOLS="${ALSA_TOOLS} sscape_ctl" + + { use alsa_cards_sb16 || use alsa_cards_sbawe; } && \ + ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" + + if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then + ALSA_TOOLS="${ALSA_TOOLS} as10k1 ld10k1" + fi + + if use gtk; then + for card in ${ECHOAUDIO_CARDS}; do + if use ${card}; then + ALSA_TOOLS="${ALSA_TOOLS} echomixer" + fi + done + fi +} + +src_prepare() { + epatch "${FILESDIR}"/envy24control-config-dir.patch + + epatch_user + + # This block only deals with the tools that still use GTK and the + # AM_PATH_GTK macro. + for dir in echomixer envy24control rmedigicontrol; do + has "${dir}" "${ALSA_TOOLS}" || continue + pushd "${dir}" &> /dev/null + eautoreconf + popd &> /dev/null + done + + # This block deals with the tools that are being patched + for dir in hdspconf; do + has "${dir}" "${ALSA_TOOLS}" || continue + pushd "${dir}" &> /dev/null + eautoreconf + popd &> /dev/null + done + + elibtoolize +} + +src_configure() { + if use fltk; then + # hdspmixer requires fltk + append-ldflags "-L$(dirname $(fltk-config --libs))" + append-flags "-I$(fltk-config --includedir)" + fi + + local f + for f in ${ALSA_TOOLS} + do + cd "${S}/${f}" + case "${f}" in + echomixer,envy24control,rmedigicontrol ) + econf --with-gtk2 + ;; + * ) + econf + ;; + esac + done +} + +src_compile() { + local f + for f in ${ALSA_TOOLS} + do + cd "${S}/${f}" + emake + done +} + +src_install() { + local f + for f in ${ALSA_TOOLS} + do + # Install the main stuff + cd "${S}/${f}" + # hotplugdir is for usx2yloader/Makefile.am + emake DESTDIR="${D}" hotplugdir=/lib/firmware install + + # Install the text documentation + local doc + for doc in README TODO ChangeLog AUTHORS; do + if [[ -f "${doc}" ]]; then + mv "${doc}" "${doc}.$(basename ${f})" || die + dodoc "${doc}.$(basename ${f})" + fi + done + done + + # Punt at least /usr/lib/liblo10k1.la (last checked, 1.0.27) + prune_libtool_files +} diff --git a/media-sound/alsa-tools/alsa-tools-1.0.28.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.28.ebuild new file mode 100644 index 000000000000..e6564d8bdf82 --- /dev/null +++ b/media-sound/alsa-tools/alsa-tools-1.0.28.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic + +DESCRIPTION="Advanced Linux Sound Architecture tools" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="amd64 ~mips ppc ppc64 sparc x86" + +IUSE="fltk gtk alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart +alsa_cards_vx222 alsa_cards_usb-usx2y alsa_cards_sb16 alsa_cards_sbawe +alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ice1712 +alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sscape alsa_cards_pcxhr" + +COMMON_DEPEND=">=media-libs/alsa-lib-${PV} + >=dev-python/pyalsa-1.0.26 + fltk? ( >=x11-libs/fltk-1.3.0:1 ) + gtk? ( + >=dev-python/pygtk-2 + x11-libs/gtk+:2 + x11-libs/gtk+:3 + )" #468294 +RDEPEND="${COMMON_DEPEND} + gtk? ( media-fonts/font-misc-misc )" #456114 +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +pkg_setup() { + ALSA_TOOLS="seq/sbiload us428control hwmixvolume hda-verb" + + if use gtk; then + ALSA_TOOLS="${ALSA_TOOLS} hdajackretask" + use alsa_cards_ice1712 && \ + ALSA_TOOLS="${ALSA_TOOLS} envy24control" + use alsa_cards_rme32 && use alsa_cards_rme96 && \ + ALSA_TOOLS="${ALSA_TOOLS} rmedigicontrol" + fi + + if use alsa_cards_hdsp || use alsa_cards_hdspm; then + ALSA_TOOLS="${ALSA_TOOLS} hdsploader" + use fltk && ALSA_TOOLS="${ALSA_TOOLS} hdspconf hdspmixer" + fi + + use alsa_cards_mixart && ALSA_TOOLS="${ALSA_TOOLS} mixartloader" + use alsa_cards_vx222 && ALSA_TOOLS="${ALSA_TOOLS} vxloader" + use alsa_cards_usb-usx2y && ALSA_TOOLS="${ALSA_TOOLS} usx2yloader" + use alsa_cards_pcxhr && ALSA_TOOLS="${ALSA_TOOLS} pcxhr" + use alsa_cards_sscape && ALSA_TOOLS="${ALSA_TOOLS} sscape_ctl" + + { use alsa_cards_sb16 || use alsa_cards_sbawe; } && \ + ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" + + if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then + ALSA_TOOLS="${ALSA_TOOLS} as10k1 ld10k1" + fi + + use gtk && ALSA_TOOLS="${ALSA_TOOLS} echomixer" +} + +src_prepare() { + epatch "${FILESDIR}"/envy24control-config-dir.patch + + epatch_user + + # This block only deals with the tools that still use GTK and the + # AM_PATH_GTK macro. + for dir in echomixer envy24control rmedigicontrol; do + has "${dir}" "${ALSA_TOOLS}" || continue + pushd "${dir}" &> /dev/null + eautoreconf + popd &> /dev/null + done + + # This block deals with the tools that are being patched + for dir in hdspconf; do + has "${dir}" "${ALSA_TOOLS}" || continue + pushd "${dir}" &> /dev/null + eautoreconf + popd &> /dev/null + done + + elibtoolize +} + +src_configure() { + if use fltk; then + # hdspmixer requires fltk + append-ldflags "-L$(dirname $(fltk-config --libs))" + append-flags "-I$(fltk-config --includedir)" + fi + + local f + for f in ${ALSA_TOOLS} + do + cd "${S}/${f}" + case "${f}" in + echomixer,envy24control,rmedigicontrol ) + econf --with-gtk2 + ;; + * ) + econf + ;; + esac + done +} + +src_compile() { + local f + for f in ${ALSA_TOOLS} + do + cd "${S}/${f}" + emake + done +} + +src_install() { + local f + for f in ${ALSA_TOOLS} + do + # Install the main stuff + cd "${S}/${f}" + # hotplugdir is for usx2yloader/Makefile.am + emake DESTDIR="${D}" hotplugdir=/lib/firmware install + + # Install the text documentation + local doc + for doc in README TODO ChangeLog AUTHORS; do + if [[ -f "${doc}" ]]; then + mv "${doc}" "${doc}.$(basename ${f})" || die + dodoc "${doc}.$(basename ${f})" + fi + done + done + + # Punt at least /usr/lib/liblo10k1.la (last checked, 1.0.27) + prune_libtool_files +} diff --git a/media-sound/alsa-tools/alsa-tools-1.0.29.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.29.ebuild new file mode 100644 index 000000000000..d356055227f4 --- /dev/null +++ b/media-sound/alsa-tools/alsa-tools-1.0.29.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic + +DESCRIPTION="Advanced Linux Sound Architecture tools" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="amd64 ~mips ppc ~ppc64 sparc x86" + +IUSE="fltk gtk alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart +alsa_cards_vx222 alsa_cards_usb-usx2y alsa_cards_sb16 alsa_cards_sbawe +alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ice1712 +alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sscape alsa_cards_pcxhr" + +COMMON_DEPEND=">=media-libs/alsa-lib-${PV} + >=dev-python/pyalsa-1.0.26 + fltk? ( >=x11-libs/fltk-1.3.0:1 ) + gtk? ( + >=dev-python/pygtk-2 + x11-libs/gtk+:2 + x11-libs/gtk+:3 + )" #468294 +RDEPEND="${COMMON_DEPEND} + gtk? ( media-fonts/font-misc-misc )" #456114 +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +pkg_setup() { + ALSA_TOOLS="seq/sbiload us428control hwmixvolume hda-verb" + + if use gtk; then + ALSA_TOOLS="${ALSA_TOOLS} hdajackretask" + use alsa_cards_ice1712 && \ + ALSA_TOOLS="${ALSA_TOOLS} envy24control" + use alsa_cards_rme32 && use alsa_cards_rme96 && \ + ALSA_TOOLS="${ALSA_TOOLS} rmedigicontrol" + fi + + if use alsa_cards_hdsp || use alsa_cards_hdspm; then + ALSA_TOOLS="${ALSA_TOOLS} hdsploader" + use fltk && ALSA_TOOLS="${ALSA_TOOLS} hdspconf hdspmixer" + fi + + use alsa_cards_mixart && ALSA_TOOLS="${ALSA_TOOLS} mixartloader" + use alsa_cards_vx222 && ALSA_TOOLS="${ALSA_TOOLS} vxloader" + use alsa_cards_usb-usx2y && ALSA_TOOLS="${ALSA_TOOLS} usx2yloader" + use alsa_cards_pcxhr && ALSA_TOOLS="${ALSA_TOOLS} pcxhr" + use alsa_cards_sscape && ALSA_TOOLS="${ALSA_TOOLS} sscape_ctl" + + { use alsa_cards_sb16 || use alsa_cards_sbawe; } && \ + ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" + + if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then + ALSA_TOOLS="${ALSA_TOOLS} as10k1 ld10k1" + fi + + use gtk && ALSA_TOOLS="${ALSA_TOOLS} echomixer" +} + +src_prepare() { + epatch "${FILESDIR}"/envy24control-config-dir.patch + + epatch_user + + # This block only deals with the tools that still use GTK and the + # AM_PATH_GTK macro. + for dir in echomixer envy24control rmedigicontrol; do + has "${dir}" "${ALSA_TOOLS}" || continue + pushd "${dir}" &> /dev/null + eautoreconf + popd &> /dev/null + done + + # This block deals with the tools that are being patched + for dir in hdspconf; do + has "${dir}" "${ALSA_TOOLS}" || continue + pushd "${dir}" &> /dev/null + eautoreconf + popd &> /dev/null + done + + elibtoolize +} + +src_configure() { + if use fltk; then + # hdspmixer requires fltk + append-ldflags "-L$(dirname $(fltk-config --libs))" + append-flags "-I$(fltk-config --includedir)" + fi + + local f + for f in ${ALSA_TOOLS} + do + cd "${S}/${f}" + case "${f}" in + echomixer,envy24control,rmedigicontrol ) + econf --with-gtk2 + ;; + * ) + econf + ;; + esac + done +} + +src_compile() { + local f + for f in ${ALSA_TOOLS} + do + cd "${S}/${f}" + emake + done +} + +src_install() { + local f + for f in ${ALSA_TOOLS} + do + # Install the main stuff + cd "${S}/${f}" + # hotplugdir is for usx2yloader/Makefile.am + emake DESTDIR="${D}" hotplugdir=/lib/firmware install + + # Install the text documentation + local doc + for doc in README TODO ChangeLog AUTHORS; do + if [[ -f "${doc}" ]]; then + mv "${doc}" "${doc}.$(basename ${f})" || die + dodoc "${doc}.$(basename ${f})" + fi + done + done + + # Punt at least /usr/lib/liblo10k1.la (last checked, 1.0.27) + prune_libtool_files +} diff --git a/media-sound/alsa-tools/files/envy24control-config-dir.patch b/media-sound/alsa-tools/files/envy24control-config-dir.patch new file mode 100644 index 000000000000..436f2c64db34 --- /dev/null +++ b/media-sound/alsa-tools/files/envy24control-config-dir.patch @@ -0,0 +1,12 @@ +diff -ru alsa-tools-1.0.20/envy24control/envy24control.h alsa-tools-1.0.20-r1/envy24control/envy24control.h +--- alsa-tools-1.0.20/envy24control/envy24control.h 2009-05-06 09:07:25.000000000 +0200 ++++ alsa-tools-1.0.20-r1/envy24control/envy24control.h 2009-06-08 04:18:04.000000000 +0200 +@@ -15,7 +15,7 @@ + #endif + #define MAX_PROFILES 8 + #define MAX_PROFILE_NAME_LENGTH 20 +-#define DEFAULT_PROFILERC "~/envy24control/profiles.conf" ++#define DEFAULT_PROFILERC "~/.envy24control/profiles.conf" + #define SYS_PROFILERC "/etc/envy24control/profiles.conf" + #ifndef MKDIR + #define MKDIR "/bin/mkdir" diff --git a/media-sound/alsa-tools/metadata.xml b/media-sound/alsa-tools/metadata.xml new file mode 100644 index 000000000000..4ce038f08186 --- /dev/null +++ b/media-sound/alsa-tools/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>alsa</herd> + <maintainer> + <email>alsa-bugs@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest new file mode 100644 index 000000000000..2e150b000689 --- /dev/null +++ b/media-sound/alsa-utils/Manifest @@ -0,0 +1,3 @@ +DIST alsa-utils-1.0.27.2.tar.bz2 1143802 SHA256 02bfac39092f3b68d743c23ad3d688d6c5aa8df69f2ccd692c5b8282edb352ea SHA512 c9a4943852ec1a71a5a8d2c99e1df0ba96a5d9d1196cabfdb6655f58c6a9a5a9d40dea62de019f5ed0fad0885800403c48a4a6c86b67af7fbd842097881c2bd6 WHIRLPOOL 9e95c37f307498bb9a7829fd721bf54888f3fe9ec78f014702cc26493e81369a44b571f1f5e65b3e32dbde926f97ab1152e22cf66fdff17be209e61ae34d9d46 +DIST alsa-utils-1.0.28.tar.bz2 1146887 SHA256 f3ff4c89b0125a7797b1b13cd094cc92276e655458274967386e812d03642acc SHA512 faa5abf3f066106c80d019944efa2298e2d3157469c1c7bc52deb9aa1bcd5f5439a2e22b04ad9210e292fcef97bdacc27aa75fc275d0d7cae2c2f88729c84786 WHIRLPOOL d58587d9f302f3f1a7ab4de45c3889ce82e5be782e4aa9a953c39a908a4693e99c8ea9aeeb5669f0f606d980983beb7d5fc53e4c76ce1bb76500c7c2bcb45013 +DIST alsa-utils-1.0.29.tar.bz2 1154497 SHA256 5160058f3e14483ced5de919dd473f93932059454530a9b7ef97dcabd6833e9b SHA512 0d83805aa7b1c975524cc5ecd4aa6eb36126bc434458f9e9475e4bd1b14bbb4bf9691096ca7973342a3798e97a361451c078f4595f8f4275db64d6b443ca5928 WHIRLPOOL ccad5115148045e0c5f139d70306e801e250aa3946f60d9cd0a47c84c72f6d8689e53105030589309c98ddd4a7b871bb8dc03f00fcc3d46cc3e08c4718299407 diff --git a/media-sound/alsa-utils/alsa-utils-1.0.27.2.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.27.2.ebuild new file mode 100644 index 000000000000..0c3fc633b29b --- /dev/null +++ b/media-sound/alsa-utils/alsa-utils-1.0.27.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils systemd udev + +DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86" +IUSE="doc +libsamplerate +ncurses nls selinux" + +CDEPEND=">=media-libs/alsa-lib-1.0.27.1 + libsamplerate? ( media-libs/libsamplerate ) + ncurses? ( >=sys-libs/ncurses-5.7-r7 )" +DEPEND="${CDEPEND} + virtual/pkgconfig + doc? ( app-text/xmlto )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-alsa )" + +src_prepare() { + epatch_user +} + +src_configure() { + local myconf + use doc || myconf='--disable-xmlto' + + # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214 + econf \ + --disable-maintainer-mode \ + $(use_enable libsamplerate alsaloop) \ + $(use_enable nls) \ + $(use_enable ncurses alsamixer) \ + --disable-alsaconf \ + "$(systemd_with_unitdir)" \ + --with-udev-rules-dir="$(get_udevdir)"/rules.d \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ChangeLog README TODO seq/*/README.* + + newinitd "${FILESDIR}"/alsasound.initd-r5 alsasound + newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound + + insinto /etc/modprobe.d + newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf + + keepdir /var/lib/alsa + + # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not + # scan directory /usr/share/alsa/ucm: No such file or directory + # alsaucm: unable to obtain card list: No such file or directory + keepdir /usr/share/alsa/ucm +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "To take advantage of the init script, and automate the process of" + elog "saving and restoring sound-card mixer levels you should" + elog "add alsasound to the boot runlevel. You can do this as" + elog "root like so:" + elog "# rc-update add alsasound boot" + ewarn + ewarn "The ALSA core should be built into the kernel or loaded through other" + ewarn "means. There is no longer any modular auto(un)loading in alsa-utils." + fi +} diff --git a/media-sound/alsa-utils/alsa-utils-1.0.28-r1.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.28-r1.ebuild new file mode 100644 index 000000000000..42c776b92215 --- /dev/null +++ b/media-sound/alsa-utils/alsa-utils-1.0.28-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils systemd udev + +DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="doc +libsamplerate +ncurses nls selinux" + +CDEPEND=">=media-libs/alsa-lib-${PV} + libsamplerate? ( media-libs/libsamplerate ) + ncurses? ( >=sys-libs/ncurses-5.7-r7 )" +DEPEND="${CDEPEND} + virtual/pkgconfig + doc? ( app-text/xmlto )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-alsa )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-aplay-return.patch + epatch "${FILESDIR}"/${P}-va-end.patch + epatch "${FILESDIR}"/${P}-{mixer,monitor}-proto.patch + epatch_user +} + +src_configure() { + local myconf + use doc || myconf='--disable-xmlto' + + # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214 + econf \ + --disable-maintainer-mode \ + $(use_enable libsamplerate alsaloop) \ + $(use_enable nls) \ + $(use_enable ncurses alsamixer) \ + --disable-alsaconf \ + "$(systemd_with_unitdir)" \ + --with-udev-rules-dir="$(get_udevdir)"/rules.d \ + ${myconf} +} + +src_install() { + default + dodoc seq/*/README.* + + newinitd "${FILESDIR}"/alsasound.initd-r6 alsasound + newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound + + insinto /etc/modprobe.d + newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf + + keepdir /var/lib/alsa + + # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not + # scan directory /usr/share/alsa/ucm: No such file or directory + # alsaucm: unable to obtain card list: No such file or directory + keepdir /usr/share/alsa/ucm +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "To take advantage of the init script, and automate the process of" + elog "saving and restoring sound-card mixer levels you should" + elog "add alsasound to the boot runlevel. You can do this as" + elog "root like so:" + elog "# rc-update add alsasound boot" + ewarn + ewarn "The ALSA core should be built into the kernel or loaded through other" + ewarn "means. There is no longer any modular auto(un)loading in alsa-utils." + fi +} diff --git a/media-sound/alsa-utils/alsa-utils-1.0.28.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.28.ebuild new file mode 100644 index 000000000000..8922ee294e60 --- /dev/null +++ b/media-sound/alsa-utils/alsa-utils-1.0.28.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils systemd udev + +DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86" +IUSE="doc +libsamplerate +ncurses nls selinux" + +CDEPEND=">=media-libs/alsa-lib-${PV} + libsamplerate? ( media-libs/libsamplerate ) + ncurses? ( >=sys-libs/ncurses-5.7-r7 )" +DEPEND="${CDEPEND} + virtual/pkgconfig + doc? ( app-text/xmlto )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-alsa )" + +src_prepare() { + epatch_user +} + +src_configure() { + local myconf + use doc || myconf='--disable-xmlto' + + # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214 + econf \ + --disable-maintainer-mode \ + $(use_enable libsamplerate alsaloop) \ + $(use_enable nls) \ + $(use_enable ncurses alsamixer) \ + --disable-alsaconf \ + "$(systemd_with_unitdir)" \ + --with-udev-rules-dir="$(get_udevdir)"/rules.d \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ChangeLog README TODO seq/*/README.* + + newinitd "${FILESDIR}"/alsasound.initd-r6 alsasound + newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound + + insinto /etc/modprobe.d + newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf + + keepdir /var/lib/alsa + + # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not + # scan directory /usr/share/alsa/ucm: No such file or directory + # alsaucm: unable to obtain card list: No such file or directory + keepdir /usr/share/alsa/ucm +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "To take advantage of the init script, and automate the process of" + elog "saving and restoring sound-card mixer levels you should" + elog "add alsasound to the boot runlevel. You can do this as" + elog "root like so:" + elog "# rc-update add alsasound boot" + ewarn + ewarn "The ALSA core should be built into the kernel or loaded through other" + ewarn "means. There is no longer any modular auto(un)loading in alsa-utils." + fi +} diff --git a/media-sound/alsa-utils/alsa-utils-1.0.29.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.29.ebuild new file mode 100644 index 000000000000..f9c558c759fe --- /dev/null +++ b/media-sound/alsa-utils/alsa-utils-1.0.29.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils systemd udev + +DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86" +IUSE="doc +libsamplerate +ncurses nls selinux" + +CDEPEND=">=media-libs/alsa-lib-${PV} + libsamplerate? ( media-libs/libsamplerate ) + ncurses? ( >=sys-libs/ncurses-5.7-r7 )" +DEPEND="${CDEPEND} + virtual/pkgconfig + doc? ( app-text/xmlto )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-alsa )" + +src_prepare() { + epatch_user +} + +src_configure() { + local myconf + use doc || myconf='--disable-xmlto' + + # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214 + econf \ + --disable-maintainer-mode \ + $(use_enable libsamplerate alsaloop) \ + $(use_enable nls) \ + $(use_enable ncurses alsamixer) \ + --disable-alsaconf \ + "$(systemd_with_unitdir)" \ + --with-udev-rules-dir="$(get_udevdir)"/rules.d \ + ${myconf} +} + +src_install() { + default + dodoc seq/*/README.* + + newinitd "${FILESDIR}"/alsasound.initd-r6 alsasound + newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound + + insinto /etc/modprobe.d + newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf + + keepdir /var/lib/alsa + + # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not + # scan directory /usr/share/alsa/ucm: No such file or directory + # alsaucm: unable to obtain card list: No such file or directory + keepdir /usr/share/alsa/ucm +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "To take advantage of the init script, and automate the process of" + elog "saving and restoring sound-card mixer levels you should" + elog "add alsasound to the boot runlevel. You can do this as" + elog "root like so:" + elog "# rc-update add alsasound boot" + ewarn + ewarn "The ALSA core should be built into the kernel or loaded through other" + ewarn "means. There is no longer any modular auto(un)loading in alsa-utils." + fi +} diff --git a/media-sound/alsa-utils/files/alsa-modules.conf-rc b/media-sound/alsa-utils/files/alsa-modules.conf-rc new file mode 100644 index 000000000000..40e99df8d3f4 --- /dev/null +++ b/media-sound/alsa-utils/files/alsa-modules.conf-rc @@ -0,0 +1,38 @@ +# Alsa kernel modules' configuration file. + +# ALSA portion +alias char-major-116 snd +# OSS/Free portion +alias char-major-14 soundcore + +## +## IMPORTANT: +## You need to customise this section for your specific sound card(s) +## and then run `update-modules' command. +## Read alsa-driver's INSTALL file in /usr/share/doc for more info. +## +## ALSA portion +## alias snd-card-0 snd-interwave +## alias snd-card-1 snd-ens1371 +## OSS/Free portion +## alias sound-slot-0 snd-card-0 +## alias sound-slot-1 snd-card-1 +## + +# OSS/Free portion - card #1 +alias sound-service-0-0 snd-mixer-oss +alias sound-service-0-1 snd-seq-oss +alias sound-service-0-3 snd-pcm-oss +alias sound-service-0-8 snd-seq-oss +alias sound-service-0-12 snd-pcm-oss +## OSS/Free portion - card #2 +## alias sound-service-1-0 snd-mixer-oss +## alias sound-service-1-3 snd-pcm-oss +## alias sound-service-1-12 snd-pcm-oss + +alias /dev/mixer snd-mixer-oss +alias /dev/dsp snd-pcm-oss +alias /dev/midi snd-seq-oss + +# Set this to the correct number of cards. +options snd cards_limit=1 diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.28-aplay-return.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.28-aplay-return.patch new file mode 100644 index 000000000000..e25788892b28 --- /dev/null +++ b/media-sound/alsa-utils/files/alsa-utils-1.0.28-aplay-return.patch @@ -0,0 +1,45 @@ +http://crbug.com/433899 + +From 8f361d83cfcb39887f5fc591633e68d9448e3425 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela <perex@perex.cz> +Date: Wed, 1 Oct 2014 15:43:57 +0200 +Subject: [PATCH [alsa-utils]] Revert "aplay: fix pcm_read() return value" + +This reverts commit 8aa13eec80eac312e4b99423909387660fb99b8f. + +The semantics for pcm_read() and pcm_readv() was changed, but the +callers expect the exact frame count as requested. It's possible +to fix callers, but the fix is more complicated than to revert the +change. Note that '-d' processing was broken in some cases. + +Note: The reverted commit allows that the return value might be +greater than requested (see the first condition in read routines). +--- + aplay/aplay.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/aplay/aplay.c b/aplay/aplay.c +index 30d3f31..e58e1bc 100644 +--- a/aplay/aplay.c ++++ b/aplay/aplay.c +@@ -2039,7 +2039,7 @@ static ssize_t pcm_read(u_char *data, size_t rcount) + data += r * bits_per_frame / 8; + } + } +- return result; ++ return rcount; + } + + static ssize_t pcm_readv(u_char **data, unsigned int channels, size_t rcount) +@@ -2084,7 +2084,7 @@ static ssize_t pcm_readv(u_char **data, unsigned int channels, size_t rcount) + count -= r; + } + } +- return result; ++ return rcount; + } + + /* +-- +2.1.3 + diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.28-mixer-proto.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.28-mixer-proto.patch new file mode 100644 index 000000000000..fdd26c328469 --- /dev/null +++ b/media-sound/alsa-utils/files/alsa-utils-1.0.28-mixer-proto.patch @@ -0,0 +1,24 @@ +From c788ce9b6088e2c937f77231eab520c3d16e0c76 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela <perex@perex.cz> +Date: Wed, 25 Jun 2014 10:49:23 +0200 +Subject: [PATCH [alsa-utils]] alsamixer: include missing mixer_controls.h + +--- + alsamixer/mainloop.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/alsamixer/mainloop.c b/alsamixer/mainloop.c +index 351f57f..79d81a9 100644 +--- a/alsamixer/mainloop.c ++++ b/alsamixer/mainloop.c +@@ -29,6 +29,7 @@ + #include "widget.h" + #include "mixer_widget.h" + #include "mixer_display.h" ++#include "mixer_controls.h" + #include "mainloop.h" + + static WINDOW *curses_initialized; +-- +2.1.3 + diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.28-monitor-proto.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.28-monitor-proto.patch new file mode 100644 index 000000000000..55d93f832d93 --- /dev/null +++ b/media-sound/alsa-utils/files/alsa-utils-1.0.28-monitor-proto.patch @@ -0,0 +1,24 @@ +From 74e5d57c999f8afed4f87046dcac84f6709b9196 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela <perex@perex.cz> +Date: Wed, 24 Sep 2014 10:46:02 +0200 +Subject: [PATCH [alsa-utils]] alsactl: aded missing monitor() prototype + +--- + alsactl/alsactl.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/alsactl/alsactl.h b/alsactl/alsactl.h +index bd9bf23..4f969ec 100644 +--- a/alsactl/alsactl.h ++++ b/alsactl/alsactl.h +@@ -31,6 +31,7 @@ int save_state(const char *file, const char *cardname); + int load_state(const char *file, const char *initfile, const char *cardname, + int do_init); + int power(const char *argv[], int argc); ++int monitor(const char *name); + int state_daemon(const char *file, const char *cardname, int period, + const char *pidfile); + int state_daemon_kill(const char *pidfile, const char *cmd); +-- +2.1.3 + diff --git a/media-sou |