1 |
billie 13/03/01 20:04:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cdrtools-3.01_alpha13.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.1.11.52/cvs/Linux i686, signed Manifest commit with key 215AD14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.303 app-cdr/cdrtools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdrtools/ChangeLog?rev=1.303&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdrtools/ChangeLog?rev=1.303&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdrtools/ChangeLog?r1=1.302&r2=1.303 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v |
20 |
retrieving revision 1.302 |
21 |
retrieving revision 1.303 |
22 |
diff -u -r1.302 -r1.303 |
23 |
--- ChangeLog 14 Feb 2013 19:19:20 -0000 1.302 |
24 |
+++ ChangeLog 1 Mar 2013 20:04:37 -0000 1.303 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-cdr/cdrtools |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.302 2013/02/14 19:19:20 billie Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.303 2013/03/01 20:04:37 billie Exp $ |
30 |
+ |
31 |
+*cdrtools-3.01_alpha13 (01 Mar 2013) |
32 |
+ |
33 |
+ 01 Mar 2013; Daniel Pielmeier <billie@g.o> |
34 |
+ +cdrtools-3.01_alpha13.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
14 Feb 2013; Daniel Pielmeier <billie@g.o> |
38 |
-cdrtools-3.01_alpha11.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-cdr/cdrtools/cdrtools-3.01_alpha13.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha13.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha13.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: cdrtools-3.01_alpha13.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha13.ebuild,v 1.1 2013/03/01 20:04:37 billie Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit multilib eutils toolchain-funcs flag-o-matic |
56 |
|
57 |
MY_P="${P/_alpha/a}" |
58 |
|
59 |
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord" |
60 |
HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html" |
61 |
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
66 |
IUSE="acl nls unicode" |
67 |
|
68 |
RDEPEND="acl? ( virtual/acl ) |
69 |
nls? ( virtual/libintl ) |
70 |
!app-cdr/cdrkit" |
71 |
DEPEND="${RDEPEND} |
72 |
nls? ( >=sys-devel/gettext-0.18.1.1 )" |
73 |
|
74 |
S=${WORKDIR}/${P/_alpha[0-9][0-9]} |
75 |
|
76 |
src_prepare() { |
77 |
# Remove profiled make files. |
78 |
rm -f $(find . -name '*_p.mk') || die "rm profiled" |
79 |
|
80 |
# Adjusting hardcoded paths. |
81 |
sed -i -e 's:opt/schily:usr:' \ |
82 |
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \ |
83 |
|| die "sed opt/schily" |
84 |
|
85 |
sed -i -e "s:\(^INSDIR=\t\tshare/doc/\):\1${PF}/:" \ |
86 |
$(find ./ -type f -exec grep -l 'INSDIR.\+doc' '{}' '+') \ |
87 |
|| die "sed doc" |
88 |
|
89 |
# Respect libdir. |
90 |
sed -i -e "s:\(^INSDIR=\t\t\)lib:\1$(get_libdir):" \ |
91 |
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \ |
92 |
|| die "sed multilib" |
93 |
|
94 |
# Do not install static libraries. |
95 |
sed -i -e 's:include\t\t.*rules.lib::' \ |
96 |
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \ |
97 |
|| die "sed rules" |
98 |
|
99 |
# Respect CC/CXX variables. |
100 |
cd "${S}"/RULES |
101 |
local tcCC=$(tc-getCC) |
102 |
local tcCXX=$(tc-getCXX) |
103 |
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \ |
104 |
rules1.top || die "sed rules1.top" |
105 |
sed -i -e "/^\(CC\|DYNLD\|LDCC\|MKDEP\)/s|gcc|${tcCC}|" \ |
106 |
-e "/^\(CC++\|DYNLDC++\|LDCC++\|MKC++DEP\)/s|g++|${tcCXX}|" \ |
107 |
-e "/COPTOPT=/s/-O//" \ |
108 |
-e 's/$(GCCOPTOPT)//' \ |
109 |
cc-gcc.rul || die "sed cc-gcc.rul" |
110 |
sed -i -e "s|^#CONFFLAGS +=\t-cc=\$(XCC_COM)$|CONFFLAGS +=\t-cc=${tcCC}|g" \ |
111 |
rules.cnf || die "sed rules.cnf" |
112 |
|
113 |
# Create additional symlinks needed for some archs (armv4l already created) |
114 |
local t |
115 |
for t in armv4tl armv5l armv5tel armv6l armv7l ppc64 s390x; do |
116 |
ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die |
117 |
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die |
118 |
done |
119 |
|
120 |
# Schily make setup. |
121 |
cd "${S}"/DEFAULTS |
122 |
local os="linux" |
123 |
[[ ${CHOST} == *-darwin* ]] && os="mac-os10" |
124 |
|
125 |
sed -i \ |
126 |
-e "s:/opt/schily:/usr:g" \ |
127 |
-e "s:/usr/src/linux/include::g" \ |
128 |
-e "s:bin:root:g" \ |
129 |
Defaults.${os} || die "sed Schily make setup" |
130 |
} |
131 |
|
132 |
# skip obsolete configure script |
133 |
src_configure() { : ; } |
134 |
|
135 |
src_compile() { |
136 |
if use unicode; then |
137 |
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)" |
138 |
if [[ -n ${flags} ]]; then |
139 |
append-flags ${flags} |
140 |
else |
141 |
ewarn "Your compiler does not support the options required to build" |
142 |
ewarn "cdrtools with unicode in USE. unicode flag will be ignored." |
143 |
fi |
144 |
fi |
145 |
|
146 |
if ! use acl; then |
147 |
CFLAGS="${CFLAGS} -DNO_ACL" |
148 |
fi |
149 |
|
150 |
# LIB_ACL_TEST removed to support x86-fbsd |
151 |
# If not built with -j1, "sometimes" cdda2wav will not be built. |
152 |
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \ |
153 |
LDOPTX="${LDFLAGS}" \ |
154 |
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \ |
155 |
RUNPATH="" GMAKE_NOWARN="true" |
156 |
} |
157 |
|
158 |
src_install() { |
159 |
# If not built with -j1, "sometimes" manpages are not installed. |
160 |
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \ |
161 |
LDOPTX="${LDFLAGS}" \ |
162 |
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \ |
163 |
RUNPATH="" GMAKE_NOWARN="true" install |
164 |
|
165 |
# These symlinks are for compat with cdrkit. |
166 |
dosym schily /usr/include/scsilib |
167 |
dosym ../scg /usr/include/schily/scg |
168 |
|
169 |
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux |
170 |
|
171 |
cd "${S}"/cdda2wav |
172 |
docinto cdda2wav |
173 |
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO |
174 |
|
175 |
cd "${S}"/mkisofs |
176 |
docinto mkisofs |
177 |
dodoc ChangeLog* TODO |
178 |
|
179 |
# Remove man pages related to the build system |
180 |
rm -rvf "${ED}"/usr/share/man/man5 |
181 |
} |
182 |
|
183 |
pkg_postinst() { |
184 |
if [[ ${CHOST} == *-darwin* ]] ; then |
185 |
einfo |
186 |
einfo "Darwin/OS X use the following device names:" |
187 |
einfo |
188 |
einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices" |
189 |
einfo |
190 |
einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices" |
191 |
einfo |
192 |
fi |
193 |
} |