summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2013-01-22 01:30:12 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2013-01-22 01:30:12 +0000
commit89f2227512112a5555ed8b4b22d5b172877207ea (patch)
tree620aa3f9b159c8b0c60c86406fb176fd6b2ebb63 /media-sound
parentversion bump (bug #452278) (diff)
downloadhistorical-89f2227512112a5555ed8b4b22d5b172877207ea.tar.gz
historical-89f2227512112a5555ed8b4b22d5b172877207ea.tar.bz2
historical-89f2227512112a5555ed8b4b22d5b172877207ea.zip
Version bump
Package-Manager: portage-2.1.11.47/cvs/Linux x86_64 Manifest-Sign-Key: 0xB5BBDC30
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/xwax/ChangeLog7
-rw-r--r--media-sound/xwax/Manifest10
-rw-r--r--media-sound/xwax/xwax-1.3.ebuild84
3 files changed, 96 insertions, 5 deletions
diff --git a/media-sound/xwax/ChangeLog b/media-sound/xwax/ChangeLog
index fddd8b38558c..16f8573d8363 100644
--- a/media-sound/xwax/ChangeLog
+++ b/media-sound/xwax/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/xwax
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.46 2013/01/22 00:45:11 nixphoeni Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.47 2013/01/22 01:30:05 nixphoeni Exp $
+
+*xwax-1.3 (22 Jan 2013)
+
+ 22 Jan 2013; Joe Sapp <nixphoeni@gentoo.org> +xwax-1.3.ebuild:
+ Version and EAPI bump
22 Jan 2013; Joe Sapp <nixphoeni@gentoo.org> -xwax-1.0.ebuild:
Removed old version; update copyright
diff --git a/media-sound/xwax/Manifest b/media-sound/xwax/Manifest
index ff9e22931471..8051e641ef48 100644
--- a/media-sound/xwax/Manifest
+++ b/media-sound/xwax/Manifest
@@ -2,13 +2,15 @@
Hash: SHA256
DIST xwax-1.2.tar.gz 64910 SHA256 2e35aafb2a08d29c611e19a54b3e45b5c7243cf53b2aec1634c87f01fb35e6a9 SHA512 a36ce3f950df5f19e64c70325d507a95880b3c8e22eaed592bdf9545989632badfde87ed89c4129dc1e26266980ebdb6c15255edd2bc2aac9ff5c3d8fc88287d WHIRLPOOL 7d608bee6b808d779865ce5ae9d1c1402d4b409cb2fd20bda959bbbddf0ca1f9a7981e9f271a3f1a0e9b4972108a153e6b16cd181294a0acb9d2b4af85ddd5ad
+DIST xwax-1.3.tar.gz 68207 SHA256 06c442cb60c4355409e88563a1b99c9563ff65995cbf98ee26feae3ffb4e91b8 SHA512 93f8e4a6fcdd4419821d0ffbb69f5f3c60140477687148a3af811020167e138ce47fb734a01dd42d2fbcb1779fcc45065a1b133c7cfa1e7a25c1dc4b040e85d1 WHIRLPOOL 24379d262ac896bfe55be986872754da4ae4f1b3cb35f9f2e8f4c0427cf3a32ba2b31bc407c9d193e0c65e840d678d55023a8afa3ebf9922e7440df2fc0e6767
EBUILD xwax-1.2.ebuild 2372 SHA256 751f885bf5b839356f9311664d2f4659baf522fc028f19d4ca8cb5af8d19f62f SHA512 1f74df818b9487dca76ded7748ad75e310f7b3b9b60700705995fa97cdaf2eb08a2a1b57fac49ad27bf64043bf0c9f8d3b119af52e33b76936f86bd431cfc66c WHIRLPOOL b2897d7f0407794dc8eefcdaba8c3c067f0ab4c586fc9a3a8eff6da8013ac11091a9dd3f53567ab72e055d9dc42bc3374ab1eae336cdefd0b04b1736d8ad0a84
-MISC ChangeLog 6558 SHA256 443bc5d99242d7daae9603a5a3db10259d9385f957a0cd2d5002d5e958671b6a SHA512 7c6374c2a7f04176424bb25c1480203db7bdce793c72d7cb596c22c2e6544297ae618186f3fedab118c431518e05e4b81eb749d29f9c4821bd71ee65be4e07b5 WHIRLPOOL 65fc92112e0ba57b9bf242ebba111ffce7e0392d745dd55b8fc3f527411d14d3645a84f1fcf775597de2082e606f51a45bfc41b5894da299ec94935d042ac329
+EBUILD xwax-1.3.ebuild 2446 SHA256 401d15eeec54d63752a4bfda32bfde167ddb365883fb4a6f60b5e3919d37b8e2 SHA512 af500dab5251babd4aad5fc66c6f2731a976328f1ce5104173a71e15f64d3cc47d8e655f78e8625930c6c1305286c828c150e16758a612432e02f6b762d836ed WHIRLPOOL 2df0ba0a00bd3b2394ece3f47453a23eaea00bed5dd8e12cfab9060131ebbe9e2685261f42b5ac49ce2411bbe4a2c5644236ed894c4a611be7c87e8650b04c44
+MISC ChangeLog 6673 SHA256 774f05f72882a4b63d7aeb0977a0330a66bb95ddf5303a60536ed58d8244beb7 SHA512 ed00a448e312b79a198f161e09febee5e244f6b3d719531cbdee6d98c3118cbbd14d686bb79f5c1ad2a97f23f0bc473ae8f9d93ab4aca60288c4ac213e8a98ed WHIRLPOOL dcafc951e729c4bf86e426e30083d36a915b58e5e8abf974cdd3ebc3c55e62ae2e021445ddcabc86996af68a95e3d7c3205566dcf8177ae9ce1fe72b32e32431
MISC metadata.xml 800 SHA256 93e47a41347f5647d7f9d559d15bb16fe0726875130e90560aef6760613cfa67 SHA512 dcd3f3c3f78e2f3616c134554f708fdf47877dcd0cc7b33b26d403bc17f98b748da0cdfdf7225a59773106f7fc04621b52a7eb5f6e65951213e9fe30a8fd6299 WHIRLPOOL 74988bef754275e1ba24eab54d574f9514ddffc3f253d6860af6f62e07b71f943f60fdebaa7ded9c87c3f1936d8d99714fd94e7dc3a819398f3bdd202889785b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iF4EAREIAAYFAlD94RoACgkQCKzbxbW73DAO3wD9F7QISVW/3lJkJBAqXsSGkJpE
-ksoon/xM55o7FypVhBMBAN4MFVu/djClde6lqvG2e+yT4I51miCPi9/n0avQjtKn
-=llqZ
+iF4EAREIAAYFAlD9658ACgkQCKzbxbW73DDh/QEAqv4m+RMCcmFtk94445GlFea2
+ST+KPdMzrVgfNzbmsA4A+wTMMbFmLHl/Fr0WLLxtOvTGGL4Tr5bBF1LPvV/elS18
+=FZ2z
-----END PGP SIGNATURE-----
diff --git a/media-sound/xwax/xwax-1.3.ebuild b/media-sound/xwax/xwax-1.3.ebuild
new file mode 100644
index 000000000000..84d746f66336
--- /dev/null
+++ b/media-sound/xwax/xwax-1.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-1.3.ebuild,v 1.1 2013/01/22 01:30:05 nixphoeni Exp $
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Digital vinyl emulation software"
+HOMEPAGE="http://www.xwax.co.uk/"
+SRC_URI="http://www.xwax.co.uk/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
+ 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}"
+
+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"
+
+ # Replace any decoder commands in the import script, if necessary.
+ # This may not be necessary with eselect-mpg123 in the future.
+ 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="\$(BINDIR)" VERSION="${PV}" xwax
+}
+
+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"
+}