summaryrefslogtreecommitdiff
path: root/media-sound/xwax
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/xwax')
-rw-r--r--media-sound/xwax/Manifest8
-rw-r--r--media-sound/xwax/files/xwax-etc-security-limits.conf1
-rw-r--r--media-sound/xwax/metadata.xml16
-rw-r--r--media-sound/xwax/xwax-1.5.ebuild80
-rw-r--r--media-sound/xwax/xwax-1.6.ebuild80
5 files changed, 185 insertions, 0 deletions
diff --git a/media-sound/xwax/Manifest b/media-sound/xwax/Manifest
new file mode 100644
index 000000000000..3378fa67b7c2
--- /dev/null
+++ b/media-sound/xwax/Manifest
@@ -0,0 +1,8 @@
+AUX xwax-etc-security-limits.conf 18 SHA256 e24dde95f162428a991629aa19c6295b6a1746316cecb8811cc25fadbdcde3b5 SHA512 fab914f078597e9c4ba4ffa289f559106d62354d5f97c0847855c08cd8a9a1bdfd9db3f74d9b3868e6150d39fadc4c2c8d51b4815bb6b19ccdbee1fb6ddf72e2 WHIRLPOOL e60972b3ed1fa32715905fd6e132306727349b8e61cf6c91e7d203bdb880a3abef106d1441891cf2d10e78d3afbbf84322b986832291ca35306fd0578dfefa03
+DIST xwax-1.5.tar.gz 77582 SHA256 b67ee78c988e4af2ebce899da98bbb8cadf91792bca1d08ee65a9b5da7b0d4a8 SHA512 b5fb66c35dd5174277417b8973bab63232bdf471fe190ab3df1c37e386a9cdc9e2b5cbdc4f5715bf69d146846c13ce2acd5db6a0881412dabdcd234d6d199b61 WHIRLPOOL 60abdcdfd3cf70b17525e16deeecabe6aaa6838a172e4292655ca5401a15d05952649faaf85f3b616c884222abcb2cbdf105522446f1e1ddc81dcb4bcfe60ec7
+DIST xwax-1.6.tar.gz 79452 SHA256 fc3392979d243e3950819834f2303e78de5acf8fad4e5d2f77826c3ac35683df SHA512 710a53a1b056bf6850a668a1f267b91664d5629998e6ee2d4853aa57d1ab351dd782716272ed4a4858168c0ac9f5c7d2e1fe0a8b330e26775677e1eb54249015 WHIRLPOOL 621f30d72883ea23d5c86d6668d4c943e8625da4bf0b6541083133ab390b225d4737e3f9aee64d5f6c536061172b5cd580350cb5218d8e0074bfb746cd2d7164
+EBUILD xwax-1.5.ebuild 2174 SHA256 8befea9449d569df24941ac6537760b441ed07a181cce07cd133deaa53cc7c84 SHA512 02324db41aad3424fcc9b8fa2f221ba95d74ecdae659fc84ea425ff262e6ed97f3c77f41a1f45268966cd83c5c9075ba73a9e0e299a49bafbf496343f969e04e WHIRLPOOL 6b7ffc3d7d321dd8c6cc8fbad5e926339e2e887b50f0793bbb1efed0f99478f1c1576c63bd09cf5706e182aeec5b6a2aed08007755af64c4f13e999f5d534eee
+EBUILD xwax-1.6.ebuild 2178 SHA256 e6800c32bae25735be4da775e4e572068c45b87b0f4ccd26fb9739b66d546b0d SHA512 1213009c6f809a5c4b104fe160c30ab7f513e9be626c8b57c3754bf3c575981d5d0a94dbd0cf9e859d85d9871b05b0112966603fb6be6a7f242230e66e1425ac WHIRLPOOL 598477cee7b8b2b80f9568fb5ec3fa8faa853f6e48c8dfe866834e287c0602ab413149dc38f112a235072a306cd7b1631fc8c9f177a7bc1ac50d689bab9ac494
+MISC ChangeLog 2988 SHA256 79e888eb94b695b4e8462702ec8d902761aae99c940971918987d056b71b963e SHA512 db8855bd509b16eb6a961c52a93fd08eb6700ebd831cb539b0838e763b30f033c860b0a5eab109541cae112717588d476b385418bb2d379277bc279b636343b9 WHIRLPOOL a0e1c3737a721b94f330de175248cd64f8d033987dc628c7f20586fb99d3a4e06df178b51cd4c9c9ed0979708a4feba212061976c31883c9cfa8fe641bd54672
+MISC ChangeLog-2015 8578 SHA256 fe16dfd6f0e0f1c799baadbaed9852d321d94111d7a9683d8f426fdf6ab12f1f SHA512 d2ccbb32f7a96aa2febb65c5c92df807bb7d14cf457e00b4915622c3fee66ea0773419ef98eb67441ee26103540f32dd7cbc8579fcc043673f0605cb3e2d8f69 WHIRLPOOL b4cae98998b2d77dacdbd10f7ea9bf63cb0a4f44f0234c6853fb286bde8472fc9929f90ccc0419ef3fb64db05fc6fea4c56676d79fe66df06dac1192d664d1a5
+MISC metadata.xml 803 SHA256 31ed66a5bacc6e6326cd319611c136a877c081de4defa6a8f405ed7e048694e0 SHA512 9d15deede88ee114e0ade78665996cfaf09443f8629b08415ae0bd1c486ff6a239567056aacde2d49883066d4d8dc3690a397d170effbfe5e4aa5cf7d24cbca8 WHIRLPOOL c98a305fafdfaefb269c40a87344f1edc8f48f1d0daa69aab3adf5d668f080e15c2215bf3b9d7d3566e335b797ff11628173bd8a5e557aace5ce71c95f911dbd
diff --git a/media-sound/xwax/files/xwax-etc-security-limits.conf b/media-sound/xwax/files/xwax-etc-security-limits.conf
new file mode 100644
index 000000000000..7ae166ec18f8
--- /dev/null
+++ b/media-sound/xwax/files/xwax-etc-security-limits.conf
@@ -0,0 +1 @@
+@xwax - rtprio 80
diff --git a/media-sound/xwax/metadata.xml b/media-sound/xwax/metadata.xml
new file mode 100644
index 000000000000..762283d3c0c5
--- /dev/null
+++ b/media-sound/xwax/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <use>
+ <flag name="alsa">Adds support for ALSA audio input/output.</flag>
+ <flag name="jack">Adds support for audio input/output via the JACK Audio Connection Kit.</flag>
+ <flag name="oss">Adds support for OSS (open sound system) audio input/output.</flag>
+ <flag name="cdda">Sets runtime dependencies to support decoding audio from a compact disc.</flag>
+ <flag name="mp3">Sets runtime dependencies to support decoding MP3 audio.</flag>
+ <flag name="fallback">Sets runtime dependencies to support decoding "other" audio files.</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-sound/xwax/xwax-1.5.ebuild b/media-sound/xwax/xwax-1.5.ebuild
new file mode 100644
index 000000000000..677a355aceb5
--- /dev/null
+++ b/media-sound/xwax/xwax-1.5.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs user
+
+DESCRIPTION="Digital vinyl emulation software"
+HOMEPAGE="http://xwax.org/"
+SRC_URI="http://xwax.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="alsa jack oss cdda mp3 +fallback"
+REQUIRED_USE="|| ( cdda mp3 fallback )
+ || ( alsa jack oss )"
+
+RDEPEND="sys-libs/glibc
+ sys-libs/pam
+ media-libs/libsdl
+ media-libs/sdl-ttf
+ media-fonts/dejavu
+ alsa? ( media-libs/alsa-lib )
+ jack? ( media-sound/jack-audio-connection-kit )
+ cdda? ( media-sound/cdparanoia )
+ mp3? ( media-sound/mpg123 )
+ fallback? ( virtual/ffmpeg )"
+DEPEND="${RDEPEND}"
+
+DOCS="README CHANGES"
+
+src_prepare() {
+ # Remove the forced optimization from 'CFLAGS' and 'LDFLAGS' in
+ # the Makefile
+ # Also remove the dependency on the .version target so we don't need
+ # git just to build
+ sed -i -e 's/\(^\(LD\|C\)FLAGS.*\)-O[0-9]\(.*\)/\1\3/g' \
+ -e 's/^xwax\.o:.*\.version//' \
+ Makefile || die "sed failed"
+}
+
+src_configure() {
+ tc-export CC
+ econf \
+ --prefix "${EROOT}usr" \
+ $(use_enable alsa) \
+ $(use_enable jack) \
+ $(use_enable oss)
+}
+
+src_compile() {
+ # EXECDIR is the default directory in which xwax will look for
+ # the 'xwax-import' and 'xwax-scan' scripts
+ emake EXECDIR="\$(BINDIR)" VERSION="${PV}" xwax
+}
+
+pkg_preinst() {
+ enewgroup ${PN}
+}
+
+src_install() {
+ # This is easier than setting all the environment variables
+ # needed, running the sed script required to get the man directory
+ # correct, and removing the GPL-2 after a 'make install' run
+ dobin xwax || die "failed to install xwax"
+ newbin scan xwax-scan || die "failed to install xwax-scan"
+ newbin import xwax-import || die "failed to install xwax-import"
+ doman xwax.1 || die "failed to install man page"
+
+ dodoc ${DOCS} || die "failed to install docs"
+
+ insinto "/etc/security/limits.d"
+ newins "${FILESDIR}/xwax-etc-security-limits.conf" xwax.conf
+}
+
+pkg_postinst() {
+ elog "Be sure to add any users that will be using ${PN} to the"
+ elog "\"${PN}\" group. Doing so will allow processes that user"
+ elog "runs to request realtime priority."
+}
diff --git a/media-sound/xwax/xwax-1.6.ebuild b/media-sound/xwax/xwax-1.6.ebuild
new file mode 100644
index 000000000000..89ce08abad33
--- /dev/null
+++ b/media-sound/xwax/xwax-1.6.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs user
+
+DESCRIPTION="Digital vinyl emulation software"
+HOMEPAGE="http://xwax.org/"
+SRC_URI="http://xwax.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="alsa jack oss cdda mp3 +fallback"
+REQUIRED_USE="|| ( cdda mp3 fallback )
+ || ( alsa jack oss )"
+
+RDEPEND="sys-libs/glibc
+ sys-libs/pam
+ media-libs/libsdl
+ media-libs/sdl-ttf
+ media-fonts/dejavu
+ alsa? ( media-libs/alsa-lib )
+ jack? ( media-sound/jack-audio-connection-kit )
+ cdda? ( media-sound/cdparanoia )
+ mp3? ( media-sound/mpg123 )
+ fallback? ( virtual/ffmpeg )"
+DEPEND="${RDEPEND}"
+
+DOCS="README CHANGES"
+
+src_prepare() {
+ # Remove the forced optimization from 'CFLAGS' and 'LDFLAGS' in
+ # the Makefile
+ # Also remove the dependency on the .version target so we don't need
+ # git just to build
+ sed -i -e 's/\(^\(LD\|C\)FLAGS.*\)-O[0-9]\(.*\)/\1\3/g' \
+ -e 's/^xwax\.o:.*\.version//' \
+ Makefile || die "sed failed"
+}
+
+src_configure() {
+ tc-export CC
+ econf \
+ --prefix "${EROOT}usr" \
+ $(use_enable alsa) \
+ $(use_enable jack) \
+ $(use_enable oss)
+}
+
+src_compile() {
+ # EXECDIR is the default directory in which xwax will look for
+ # the 'xwax-import' and 'xwax-scan' scripts
+ emake EXECDIR="\$(BINDIR)" VERSION="${PV}" xwax
+}
+
+pkg_preinst() {
+ enewgroup ${PN}
+}
+
+src_install() {
+ # This is easier than setting all the environment variables
+ # needed, running the sed script required to get the man directory
+ # correct, and removing the GPL-2 after a 'make install' run
+ dobin xwax || die "failed to install xwax"
+ newbin scan xwax-scan || die "failed to install xwax-scan"
+ newbin import xwax-import || die "failed to install xwax-import"
+ doman xwax.1 || die "failed to install man page"
+
+ dodoc ${DOCS} || die "failed to install docs"
+
+ insinto "/etc/security/limits.d"
+ newins "${FILESDIR}/xwax-etc-security-limits.conf" xwax.conf
+}
+
+pkg_postinst() {
+ elog "Be sure to add any users that will be using ${PN} to the"
+ elog "\"${PN}\" group. Doing so will allow processes that user"
+ elog "runs to request realtime priority."
+}