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