summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2011-05-07 17:58:08 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2011-05-07 17:58:08 +0000
commitad5068221e55909c125baf2661174c8ec7ae43bb (patch)
tree21a1273422702bbb45750e85da562e0aacf811fb /media-sound/xwax
parentalpha/arm/ia64/sparc stable wrt #360315 (diff)
downloadhistorical-ad5068221e55909c125baf2661174c8ec7ae43bb.tar.gz
historical-ad5068221e55909c125baf2661174c8ec7ae43bb.tar.bz2
historical-ad5068221e55909c125baf2661174c8ec7ae43bb.zip
Added new beta version
Package-Manager: portage-2.1.9.45/cvs/Linux x86_64
Diffstat (limited to 'media-sound/xwax')
-rw-r--r--media-sound/xwax/ChangeLog7
-rw-r--r--media-sound/xwax/Manifest4
-rw-r--r--media-sound/xwax/xwax-0.10_beta1.ebuild102
3 files changed, 111 insertions, 2 deletions
diff --git a/media-sound/xwax/ChangeLog b/media-sound/xwax/ChangeLog
index a55afb316bda..ce2827479673 100644
--- a/media-sound/xwax/ChangeLog
+++ b/media-sound/xwax/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/xwax
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.32 2011/05/07 17:52:41 nixphoeni Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.33 2011/05/07 17:58:08 nixphoeni Exp $
+
+*xwax-0.10_beta1 (07 May 2011)
+
+ 07 May 2011; Joe Sapp <nixphoeni@gentoo.org> +xwax-0.10_beta1.ebuild:
+ Added new beta version
07 May 2011; Joe Sapp <nixphoeni@gentoo.org> -xwax-0.7.ebuild:
Removed old version
diff --git a/media-sound/xwax/Manifest b/media-sound/xwax/Manifest
index 415d206cdf4f..06e898bb7447 100644
--- a/media-sound/xwax/Manifest
+++ b/media-sound/xwax/Manifest
@@ -1,6 +1,8 @@
+DIST xwax-0.10-beta1.tar.gz 53882 RMD160 8f76203c41fe14853f0fd18b9cd31bb431fd5a41 SHA1 44a9b9d080c34abed6c2cf93e824e057a0392ffb SHA256 093951eb6b087dcfdeee6736e0f268509ae5fbec96dbcc3f23fd22e6d0099e32
DIST xwax-0.8.tar.gz 47660 RMD160 ce974475cc7b36d9362513f0951adff00c11569c SHA1 f72199faf79cea9025b69daf703a1b6e51140d76 SHA256 552ebbac9edfc6d85b269ca49170cf7f89b48702e683da6ab02f8878bfa8fd58
DIST xwax-0.9.tar.gz 52835 RMD160 12e7c1d90c90ba2c0c8c4d2a14751aa33f571bcc SHA1 1c440a82471d4fb0049ba81f5823f038e1f664e4 SHA256 bc51bb5a19ec68ceaba7fb5f63c31481c8e8958d82d460ac45abbb4565dde106
+EBUILD xwax-0.10_beta1.ebuild 2938 RMD160 02d7333aa60a91290b7f5950f81f590b76bae33c SHA1 4fe60e5f79b2052ca356fb487d4dd4449a8fbcdc SHA256 c17aa084f339dab396b69a51c7a4966621a54b849a67344dbd2c36a65e033e17
EBUILD xwax-0.8.ebuild 2649 RMD160 55827c6da33928640b0364a965c554c2217455c2 SHA1 cbb38885588ed643c23d212a24a32f4ed9801e31 SHA256 0be55923bdcb2b1c90cdc0d28a8a968962c6b67283a4bf14fb45409cd755e177
EBUILD xwax-0.9.ebuild 2491 RMD160 4f550a516dec5aa79b46485f1e78d52c1b8e6e69 SHA1 f2fedb3f07e405bf11dee7c6ddd9ff30be18a24c SHA256 96cf2baf1d89f731fce0b3514183f96d32d9e5c91430db344bcc9fdb24e088b3
-MISC ChangeLog 4912 RMD160 c32343ee06ad06f39e8a912b0835cfaa9422dc87 SHA1 73104ef377c478dd84f08b90ad40110bbba5bb73 SHA256 373829d95842fe5e96869080feda918b5f17a0070b280d955f70428869482b9e
+MISC ChangeLog 5042 RMD160 df8b26613f7f71cd3e0c29d54b39afec0a27bd2b SHA1 79503e26764c0d75621f91440c4e4c6123aa3713 SHA256 47da005a347d4520dae2d0b945b52cd7a1d6e76ac83c7a9c18fca3eb87e6b6f8
MISC metadata.xml 1232 RMD160 da6ef6ba859ba6adaa6c258a5a29128551e1988e SHA1 f5195e554ced97a966f8774008451d8234b003c3 SHA256 3d4ed19e666eecab3d091124d841127fd915f18fcaa7616eb0a854a60d228323
diff --git a/media-sound/xwax/xwax-0.10_beta1.ebuild b/media-sound/xwax/xwax-0.10_beta1.ebuild
new file mode 100644
index 000000000000..0c97ce0a6fb1
--- /dev/null
+++ b/media-sound/xwax/xwax-0.10_beta1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-0.10_beta1.ebuild,v 1.1 2011/05/07 17:58:08 nixphoeni Exp $
+
+EAPI=4
+inherit toolchain-funcs versionator
+
+MY_PV="${PV/_/-}"
+TYPE="$(version_format_string '$3')"
+
+DESCRIPTION="Digital vinyl emulation software"
+HOMEPAGE="http://www.xwax.co.uk/"
+SRC_URI="http://www.xwax.co.uk/testing/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="testing"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="alsa jack oss cdda mp3 +fallback"
+REQUIRED_USE="|| ( cdda mp3 fallback )
+ || ( alsa jack oss )"
+
+RDEPEND="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 media-sound/mpg321 ) )
+ fallback? ( virtual/ffmpeg )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+DOCS="README CHANGES"
+
+pkg_setup() {
+ ewarn "Please note that XWAX_DECODERS is deprecated in favor of USE flags."
+ ewarn "Sorry for the inconvenience."
+}
+
+src_prepare() {
+ # Remove the forced optimization from 'CFLAGS' and 'LDFLAGS' in
+ # the Makefile
+ # Also replace VERSION so we don't have to depend on git...
+ sed -i -e 's:\(^CFLAGS.*\)-O[0-9]\(.*\):\1\2:' \
+ -e 's:\(^LDFLAGS.*\)-O[0-9]\(.*\):\1\2:' \
+ -e "s:\(^VERSION =\).*:\1 ${PV}:" \
+ Makefile || die "sed failed"
+
+ # Fix name for importer and scanner
+ sed -i -e "s:\(xwax-import\):\1-${TYPE}:g" \
+ -e "s:\(xwax-scan\):\1-${TYPE}:g" \
+ xwax.c || die "patching xwax.c failed"
+
+ # Replace any decoder commands in the import script, if necessary
+ if [[ `use mp3` ]]; then
+ # mpg123 is upstream's default
+ if has_version media-sound/mpg123; then
+ TO="mpg123"
+ FROM="mpg321"
+ # Otherwise, use mpg321
+ else
+ TO="mpg321"
+ FROM="mpg123"
+ fi
+ debug-print "found ${TO}"
+ sed -i -e "s:${FROM}:${TO}:g" import || \
+ die "problem converting xwax-import to use ${TO}"
+ fi
+}
+
+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="${EROOT}usr/bin"
+}
+
+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
+ newbin xwax xwax-${TYPE} || die "failed to install xwax"
+ newbin import xwax-import-${TYPE} || die "failed to install xwax-import"
+ newbin scan xwax-scan-${TYPE} || die "failed to install xwax-scan"
+ newman xwax.1 xwax-${TYPE}.1 || die "failed to install man page"
+
+ dodoc ${DOCS} || die "failed to install docs"
+}
+
+pkg_postinst() {
+ ewarn "Note that this is a testing package and is probably unsuitable for"
+ ewarn "live shows."
+}