1 |
nixphoeni 12/01/30 01:14:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xwax-1.1.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.38 media-sound/xwax/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/ChangeLog?rev=1.38&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/ChangeLog?rev=1.38&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/ChangeLog?r1=1.37&r2=1.38 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v |
20 |
retrieving revision 1.37 |
21 |
retrieving revision 1.38 |
22 |
diff -u -r1.37 -r1.38 |
23 |
--- ChangeLog 28 Jan 2012 14:44:54 -0000 1.37 |
24 |
+++ ChangeLog 30 Jan 2012 01:14:47 -0000 1.38 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-sound/xwax |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.37 2012/01/28 14:44:54 phajdan.jr Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.38 2012/01/30 01:14:47 nixphoeni Exp $ |
30 |
+ |
31 |
+*xwax-1.1 (29 Jan 2012) |
32 |
+ |
33 |
+ 29 Jan 2012; Joe Sapp <nixphoeni@g.o> +xwax-1.1.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
28 Jan 2012; Pawel Hajdan jr <phajdan.jr@g.o> xwax-1.0.ebuild: |
37 |
x86 stable wrt bug #400415 |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-sound/xwax/xwax-1.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/xwax-1.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/xwax-1.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: xwax-1.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-1.1.ebuild,v 1.1 2012/01/30 01:14:47 nixphoeni Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
inherit toolchain-funcs |
54 |
|
55 |
DESCRIPTION="Digital vinyl emulation software" |
56 |
HOMEPAGE="http://www.xwax.co.uk/" |
57 |
SRC_URI="http://www.xwax.co.uk/releases/${P}.tar.gz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
62 |
IUSE="alsa jack oss cdda mp3 +fallback" |
63 |
REQUIRED_USE="|| ( cdda mp3 fallback ) |
64 |
|| ( alsa jack oss )" |
65 |
|
66 |
RDEPEND="sys-libs/glibc |
67 |
media-libs/libsdl |
68 |
media-libs/sdl-ttf |
69 |
media-fonts/dejavu |
70 |
alsa? ( media-libs/alsa-lib ) |
71 |
jack? ( media-sound/jack-audio-connection-kit ) |
72 |
cdda? ( media-sound/cdparanoia ) |
73 |
mp3? ( || ( media-sound/mpg123 media-sound/mpg321 ) ) |
74 |
fallback? ( virtual/ffmpeg )" |
75 |
DEPEND="${RDEPEND}" |
76 |
|
77 |
DOCS="README CHANGES" |
78 |
|
79 |
src_prepare() { |
80 |
# Remove the forced optimization from 'CFLAGS' and 'LDFLAGS' in |
81 |
# the Makefile |
82 |
# Also remove the dependency on the .version target so we don't need |
83 |
# git just to build |
84 |
sed -i -e 's/\(^\(LD\|C\)FLAGS.*\)-O[0-9]\(.*\)/\1\3/g' \ |
85 |
-e 's/^xwax\.o:.*\.version//' \ |
86 |
Makefile || die "sed failed" |
87 |
|
88 |
# Replace any decoder commands in the import script, if necessary |
89 |
if [[ `use mp3` ]]; then |
90 |
# mpg123 is upstream's default |
91 |
if has_version media-sound/mpg123; then |
92 |
TO="mpg123" |
93 |
FROM="mpg321" |
94 |
# Otherwise, use mpg321 |
95 |
else |
96 |
TO="mpg321" |
97 |
FROM="mpg123" |
98 |
fi |
99 |
debug-print "found ${TO}" |
100 |
sed -i -e "s:${FROM}:${TO}:g" import || \ |
101 |
die "problem converting xwax-import to use ${TO}" |
102 |
fi |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
tc-export CC |
107 |
econf \ |
108 |
--prefix "${EROOT}usr" \ |
109 |
$(use_enable alsa) \ |
110 |
$(use_enable jack) \ |
111 |
$(use_enable oss) |
112 |
} |
113 |
|
114 |
src_compile() { |
115 |
# EXECDIR is the default directory in which xwax will look for |
116 |
# the 'xwax-import' and 'xwax-scan' scripts |
117 |
emake EXECDIR="\$(BINDIR)" VERSION="${PV}" |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
# This is easier than setting all the environment variables |
122 |
# needed, running the sed script required to get the man directory |
123 |
# correct, and removing the GPL-2 after a 'make install' run |
124 |
dobin xwax || die "failed to install xwax" |
125 |
newbin import xwax-import || die "failed to install xwax-import" |
126 |
newbin scan xwax-scan || die "failed to install xwax-scan" |
127 |
doman xwax.1 || die "failed to install man page" |
128 |
|
129 |
dodoc ${DOCS} || die "failed to install docs" |
130 |
} |