summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2010-12-02 03:31:11 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2010-12-02 03:31:11 +0000
commit56b85bfeb0986239e6546e644d24eb59d704dbba (patch)
tree1ae14e97f6a4684305dd77d27c53fb024016d4d1 /media-sound/xwax
parentFix broken Manifest entry for vdr-skinelchi-0.1.1_pre2-r3.ebuild. (diff)
downloadhistorical-56b85bfeb0986239e6546e644d24eb59d704dbba.tar.gz
historical-56b85bfeb0986239e6546e644d24eb59d704dbba.tar.bz2
historical-56b85bfeb0986239e6546e644d24eb59d704dbba.zip
Added 0.8 beta version that has been out for a while
Package-Manager: portage-2.1.9.24/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.8_beta1.ebuild87
3 files changed, 96 insertions, 2 deletions
diff --git a/media-sound/xwax/ChangeLog b/media-sound/xwax/ChangeLog
index c903af20ff9b..bb25eedb7a17 100644
--- a/media-sound/xwax/ChangeLog
+++ b/media-sound/xwax/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/xwax
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.20 2010/09/14 12:35:42 nixphoeni Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.21 2010/12/02 03:31:11 nixphoeni Exp $
+
+*xwax-0.8_beta1 (02 Dec 2010)
+
+ 02 Dec 2010; Joe Sapp <nixphoeni@gentoo.org> +xwax-0.8_beta1.ebuild:
+ Added 0.8 beta version that has been out for a while
14 Sep 2010; Joe Sapp <nixphoeni@gentoo.org> -xwax-0.5.ebuild,
-xwax-0.6-r1.ebuild:
diff --git a/media-sound/xwax/Manifest b/media-sound/xwax/Manifest
index 51624e61e481..149b956aff81 100644
--- a/media-sound/xwax/Manifest
+++ b/media-sound/xwax/Manifest
@@ -1,6 +1,8 @@
AUX xwax-0.4-fonts.patch 339 RMD160 afcc620ba588f7a57f3e5f9aa503a176aaf3d8dd SHA1 79a91baa81d46bf358d6b2b1a6919d8e76f73dd6 SHA256 8a620b9c2fac9a784df7a3901ad158b84db949e0da0612022e678e3f94564f05
AUX xwax-0.6-execlp.patch 1033 RMD160 94e42cef447ec49669963e5d35aaab07594607fc SHA1 61067ce3a06886b970b63bc8e43253202edcf7c3 SHA256 2b845879cb752a68cfd2cad538256707c89bc19e11fe8d8ab9173cf6e184458c
DIST xwax-0.7.tar.gz 47167 RMD160 2c15a51027ba2ec25b4953a49e4953864400f279 SHA1 a94e4b9b60c81b9ebd74f85be0717007eb6ddadf SHA256 c2274ec002d157ee51494b6c6eaf2a5429f6c007f000defdfcbd5a9e39b75362
+DIST xwax-0.8-beta1.tar.gz 48019 RMD160 ef94e2d4396b12ff4dbb422f7516c78c24b18b8e SHA1 5474d898a174cb9d9b0278d4d207086e7f761267 SHA256 f4023f362c45ccff39319dc17a6f2e496605d6b9be005b27dc21ff7feea8f3f9
EBUILD xwax-0.7.ebuild 2721 RMD160 f0c1ed8b4785fa7caf74abe15c320aebab16b49b SHA1 22bc6dd64850a9d95da27543a694b54a820fdf27 SHA256 edcfc124d4f07cebb89be5fae6ff2960b5eed5b99c01bb66ca74acda09989d01
-MISC ChangeLog 3089 RMD160 42e07af6f508c8413995d446f9a485091de29762 SHA1 1cd073778c5a1529a878bf48df26b46741e5d045 SHA256 1e1790e806977af62ee620332d78899940ce6466863dad97645cf3b1312f4987
+EBUILD xwax-0.8_beta1.ebuild 2814 RMD160 54d566d2b60f45a27c67e911b78a0c637e7c3bc3 SHA1 b8fc6fe5ce9860bc454dcba397d24418695f966a SHA256 640b671417f056e24c4b1927e56ae4b6902de5eaf2a70089f1a0ee8eac9010b5
+MISC ChangeLog 3247 RMD160 e1bfcd4855b911eaf737b7f6588d9a5ce6912deb SHA1 50b737a1826448ed302fb8448fd55063bac76e93 SHA256 0ea7cebe9f3e30a8e92f7143444f328998a942e98ad3fb9021ff0e53621e88fa
MISC metadata.xml 951 RMD160 0fbeebdaa2cd21809d5d91d422f15518652693b7 SHA1 d5e698d35c2b339c0bdf0a26dd11830b701a7f84 SHA256 b7e433deaf2a12d7d8550f3732ed2d6506672d4fa6b81b169c843782ddea7b30
diff --git a/media-sound/xwax/xwax-0.8_beta1.ebuild b/media-sound/xwax/xwax-0.8_beta1.ebuild
new file mode 100644
index 000000000000..39ebe71c3d23
--- /dev/null
+++ b/media-sound/xwax/xwax-0.8_beta1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-0.8_beta1.ebuild,v 1.1 2010/12/02 03:31:05 nixphoeni Exp $
+
+EAPI=3
+inherit toolchain-funcs
+
+MY_PV="${PV/_/-}"
+
+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="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+# These make sure the user can decode the files he or she cares about by
+# setting appropriate runtime depends and (perhaps) configuring the import
+# script
+IUSE_XWAX_DECODERS="xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac \
+ +xwax_decoders_mp3 xwax_decoders_ogg xwax_decoders_misc"
+IUSE="alsa jack ${IUSE_XWAX_DECODERS}"
+
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-ttf
+ media-fonts/dejavu
+ alsa? ( media-libs/alsa-lib )
+ jack? ( media-sound/jack-audio-connection-kit )
+ xwax_decoders_aac? ( media-libs/faad2 )
+ xwax_decoders_cd? ( media-sound/cdparanoia )
+ xwax_decoders_flac? ( media-libs/flac )
+ xwax_decoders_mp3? ( || ( media-sound/mpg123 media-sound/mpg321 ) )
+ xwax_decoders_ogg? ( media-sound/vorbis-tools )
+ xwax_decoders_misc? ( media-video/ffmpeg )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+DOCS="README CHANGES"
+
+src_prepare() {
+ # Remove the forced optimization from 'CFLAGS' and 'LDFLAGS' in
+ # the Makefile
+ sed -i -e 's:\(^CFLAGS.*\)-O[0-9]\(.*\):\1\2:' \
+ -e 's:\(^LDFLAGS.*\)-O[0-9]\(.*\):\1\2:' \
+ Makefile || die "sed failed"
+}
+
+src_configure() {
+ tc-export CC
+ econf \
+ $(use_enable alsa) \
+ $(use_enable jack)
+}
+
+src_compile() {
+ # EXECDIR is the default directory in which xwax will look for
+ # the 'xwax-import' and 'xwax-scan' scripts
+ emake PREFIX="${EROOT}usr" 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
+ dobin xwax || die "failed to install xwax"
+ newbin import xwax-import || die "failed to install xwax-import"
+ newbin scan xwax-scan || die "failed to install xwax-scan"
+ doman xwax.1 || die "failed to install man page"
+
+ # Replace any decoder commands in the import script, if necessary
+ if use xwax_decoders_mp3; then
+ # mpg123 is upstream's default
+ if has_version media-sound/mpg123; then
+ debug-print "found mpg123"
+ sed -i -e "s:mpg321:mpg123:g" "${D}/usr/bin/xwax-import" || \
+ die "problem converting xwax-import to use mpg123"
+ # Otherwise, use mpg321
+ else
+ debug-print "found mpg321"
+ sed -i -e "s:mpg123:mpg321:g" "${D}//usr/bin/xwax-import" || \
+ die "problem converting xwax-import to use mpg321"
+ fi
+ fi
+
+ dodoc ${DOCS} || die "failed to install docs"
+}