1 |
loki_val 08/09/27 23:57:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cdrtools-2.01.01_alpha50.ebuild |
5 |
Log: |
6 |
Bump, fixing bug #230940 and bug #234537. Major rewrite to take advantage of built-in make system. |
7 |
(Portage version: 2.2_rc10/cvs/Linux 2.6.25.8 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.206 app-cdr/cdrtools/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/ChangeLog?rev=1.206&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/ChangeLog?rev=1.206&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/ChangeLog?r1=1.205&r2=1.206 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v |
19 |
retrieving revision 1.205 |
20 |
retrieving revision 1.206 |
21 |
diff -u -r1.205 -r1.206 |
22 |
--- ChangeLog 6 Jul 2008 09:45:09 -0000 1.205 |
23 |
+++ ChangeLog 27 Sep 2008 23:57:25 -0000 1.206 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for app-cdr/cdrtools |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.205 2008/07/06 09:45:09 opfer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.206 2008/09/27 23:57:25 loki_val Exp $ |
29 |
+ |
30 |
+*cdrtools-2.01.01_alpha50 (27 Sep 2008) |
31 |
+ |
32 |
+ 27 Sep 2008; Peter Alfredsen <loki_val@g.o> |
33 |
+ +files/cdrtools-2.01.01_alpha50-asneeded.patch, |
34 |
+ +cdrtools-2.01.01_alpha50.ebuild: |
35 |
+ Bump, fixing bug #230940 and bug #234537. Major rewrite to take advantage |
36 |
+ of built-in make system. |
37 |
|
38 |
*cdrtools-2.01.01_alpha42 (06 Jul 2008) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 app-cdr/cdrtools/cdrtools-2.01.01_alpha50.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha50.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha50.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cdrtools-2.01.01_alpha50.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha50.ebuild,v 1.1 2008/09/27 23:57:25 loki_val Exp $ |
53 |
|
54 |
inherit multilib eutils toolchain-funcs flag-o-matic |
55 |
|
56 |
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord" |
57 |
HOMEPAGE="http://cdrecord.berlios.de/" |
58 |
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/alpha/${P/_alpha/a}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
63 |
IUSE="unicode" |
64 |
|
65 |
DEPEND="virtual/libc |
66 |
sys-apps/acl |
67 |
!app-cdr/dvdrtools |
68 |
!app-cdr/cdrkit" |
69 |
|
70 |
PROVIDE="virtual/cdrtools" |
71 |
|
72 |
S="${WORKDIR}/${PN}-2.01.01" |
73 |
|
74 |
src_unpack() { |
75 |
unpack ${A} |
76 |
cd "${S}" |
77 |
sed -i -e "/INSDIR/ s/lib/$(get_libdir)/" \ |
78 |
$(grep -l -r '^INSDIR.\+lib\(/siconv\)\?$' .) \ |
79 |
|| die "404 on multilib-sed" |
80 |
|
81 |
sed -i -e 's:opt/schily:usr:' \ |
82 |
$(grep -l --include='*.1' --include='*.8' -r 'opt/schily' .) \ |
83 |
$(grep -l --include='*.c' --include='*.h' -r 'opt/schily' .) \ |
84 |
|| die "404 on opt-schily sed" |
85 |
|
86 |
rm -f $(find . -name '*_p.mk') |
87 |
|
88 |
epatch "${FILESDIR}"/${PN}-2.01.01a03-warnings.patch |
89 |
epatch "${FILESDIR}"/${PN}-2.01.01_alpha50-asneeded.patch |
90 |
|
91 |
cd "${S}"/DEFAULTS |
92 |
local MYARCH="linux" |
93 |
|
94 |
sed -i "s:/opt/schily:/usr:g" Defaults.${MYARCH} |
95 |
sed -i "s:/usr/src/linux/include::g" Defaults.${MYARCH} |
96 |
|
97 |
# For dynamic linking: |
98 |
sed -i "s:static:dynamic:" Defaults.${MYARCH} |
99 |
|
100 |
# lame symlinks that all point to the same thing |
101 |
cd "${S}"/RULES |
102 |
local t |
103 |
for t in ppc64 sh4 s390x ; do |
104 |
ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die |
105 |
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die |
106 |
done |
107 |
|
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
if use unicode; then |
112 |
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)" |
113 |
if [[ -n ${flags} ]]; then |
114 |
append-flags ${flags} |
115 |
else |
116 |
ewarn "Your compiler does not support the options required to build" |
117 |
ewarn "cdrtools with unicode in USE. unicode flag will be ignored." |
118 |
fi |
119 |
fi |
120 |
emake CC="$(tc-getCC) -D__attribute_const__=const" COPTX="${CFLAGS}" CPPOPTX="${CPPFLAGS}" LDOPTX="${LDFLAGS}" || die |
121 |
} |
122 |
|
123 |
src_install() { |
124 |
emake INS_BASE="${D}/usr/" install |
125 |
#These symlinks are for compat with cdrkit. |
126 |
dosym schily /usr/include/scsilib |
127 |
dosym ../../scg /usr/include/schily/scg |
128 |
} |
129 |
|
130 |
pkg_postinst() { |
131 |
echo |
132 |
einfo "The command line option 'dev=/dev/hdX' (X is the name of your drive)" |
133 |
einfo "should be used for IDE CD writers. And make sure that the permissions" |
134 |
einfo "on this device are set properly and your user is in the correct group." |
135 |
} |