1 |
nixphoeni 11/01/04 03:08:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xwax-0.8.ebuild |
5 |
Removed: xwax-0.8_beta1.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
|
9 |
(Portage version: 2.1.9.26/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.22 media-sound/xwax/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/ChangeLog?rev=1.22&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/ChangeLog?rev=1.22&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/ChangeLog?r1=1.21&r2=1.22 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v |
21 |
retrieving revision 1.21 |
22 |
retrieving revision 1.22 |
23 |
diff -u -r1.21 -r1.22 |
24 |
--- ChangeLog 2 Dec 2010 03:31:11 -0000 1.21 |
25 |
+++ ChangeLog 4 Jan 2011 03:08:17 -0000 1.22 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for media-sound/xwax |
28 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.21 2010/12/02 03:31:11 nixphoeni Exp $ |
30 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.22 2011/01/04 03:08:17 nixphoeni Exp $ |
32 |
+ |
33 |
+*xwax-0.8 (04 Jan 2011) |
34 |
+ |
35 |
+ 04 Jan 2011; Joe Sapp <nixphoeni@g.o> -xwax-0.8_beta1.ebuild, |
36 |
+ +xwax-0.8.ebuild: |
37 |
+ Version bump from 0.8_beta1 to 0.8 (and removed beta) |
38 |
|
39 |
*xwax-0.8_beta1 (02 Dec 2010) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 media-sound/xwax/xwax-0.8.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/xwax-0.8.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/xwax-0.8.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: xwax-0.8.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-0.8.ebuild,v 1.1 2011/01/04 03:08:17 nixphoeni Exp $ |
54 |
|
55 |
EAPI=3 |
56 |
inherit toolchain-funcs |
57 |
|
58 |
DESCRIPTION="Digital vinyl emulation software" |
59 |
HOMEPAGE="http://www.xwax.co.uk/" |
60 |
SRC_URI="http://www.xwax.co.uk/releases/${P}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
65 |
# These make sure the user can decode the files he or she cares about by |
66 |
# setting appropriate runtime depends and (perhaps) configuring the import |
67 |
# script |
68 |
IUSE_XWAX_DECODERS="xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac \ |
69 |
+xwax_decoders_mp3 xwax_decoders_ogg xwax_decoders_misc" |
70 |
IUSE="alsa jack ${IUSE_XWAX_DECODERS}" |
71 |
|
72 |
RDEPEND="media-libs/libsdl |
73 |
media-libs/sdl-ttf |
74 |
media-fonts/dejavu |
75 |
alsa? ( media-libs/alsa-lib ) |
76 |
jack? ( media-sound/jack-audio-connection-kit ) |
77 |
xwax_decoders_aac? ( media-libs/faad2 ) |
78 |
xwax_decoders_cd? ( media-sound/cdparanoia ) |
79 |
xwax_decoders_flac? ( media-libs/flac ) |
80 |
xwax_decoders_mp3? ( || ( media-sound/mpg123 media-sound/mpg321 ) ) |
81 |
xwax_decoders_ogg? ( media-sound/vorbis-tools ) |
82 |
xwax_decoders_misc? ( media-video/ffmpeg )" |
83 |
DEPEND="${RDEPEND}" |
84 |
|
85 |
DOCS="README CHANGES" |
86 |
|
87 |
src_prepare() { |
88 |
# Remove the forced optimization from 'CFLAGS' and 'LDFLAGS' in |
89 |
# the Makefile |
90 |
sed -i -e 's:\(^CFLAGS.*\)-O[0-9]\(.*\):\1\2:' \ |
91 |
-e 's:\(^LDFLAGS.*\)-O[0-9]\(.*\):\1\2:' \ |
92 |
Makefile || die "sed failed" |
93 |
} |
94 |
|
95 |
src_configure() { |
96 |
tc-export CC |
97 |
econf \ |
98 |
$(use_enable alsa) \ |
99 |
$(use_enable jack) |
100 |
} |
101 |
|
102 |
src_compile() { |
103 |
# EXECDIR is the default directory in which xwax will look for |
104 |
# the 'xwax-import' and 'xwax-scan' scripts |
105 |
emake PREFIX="${EROOT}usr" EXECDIR="${EROOT}usr/bin" |
106 |
} |
107 |
|
108 |
src_install() { |
109 |
# This is easier than setting all the environment variables |
110 |
# needed, running the sed script required to get the man directory |
111 |
# correct, and removing the GPL-2 after a 'make install' run |
112 |
dobin xwax || die "failed to install xwax" |
113 |
newbin import xwax-import || die "failed to install xwax-import" |
114 |
newbin scan xwax-scan || die "failed to install xwax-scan" |
115 |
doman xwax.1 || die "failed to install man page" |
116 |
|
117 |
# Replace any decoder commands in the import script, if necessary |
118 |
if use xwax_decoders_mp3; then |
119 |
# mpg123 is upstream's default |
120 |
if has_version media-sound/mpg123; then |
121 |
TO="mpg123" |
122 |
FROM="mpg321" |
123 |
# Otherwise, use mpg321 |
124 |
else |
125 |
TO="mpg321" |
126 |
FROM="mpg123" |
127 |
fi |
128 |
debug-print "found ${TO}" |
129 |
sed -i -e "s:${FROM}:${TO}:g" "${D}/usr/bin/xwax-import" || \ |
130 |
die "problem converting xwax-import to use ${TO}" |
131 |
fi |
132 |
|
133 |
dodoc ${DOCS} || die "failed to install docs" |
134 |
} |