21 |
SRC_URI=( |
SRC_URI=( |
22 |
sourceforge://${PNAME}/${SRCFILE} |
sourceforge://${PNAME}/${SRCFILE} |
23 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
24 |
|
mirror://${PNAME}/${PNAME}-${PVER}-excl.patch |
25 |
|
mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch |
26 |
|
mirror://${PNAME}/${PNAME}-${PVER}-toc2cue.patch |
27 |
|
mirror://${PNAME}/${PNAME}-${PVER}-cdtext.patch |
28 |
|
mirror://${PNAME}/${PNAME}-${PVER}-device.patch |
29 |
|
mirror://${PNAME}/${PNAME}-${PVER}-tocparser.patch |
30 |
) |
) |
31 |
|
|
32 |
UP2DATE="updatecmd_sourceforge ${PNAME}" |
UP2DATE="updatecmd_sourceforge ${PNAME}" |
36 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
37 |
cd ${SRCDIR} |
cd ${SRCDIR} |
38 |
|
|
39 |
|
# use O_EXCL to avoid conflicts with hal |
40 |
|
mpatch ${PNAME}-${PVER}-excl.patch || die |
41 |
|
|
42 |
|
# fix issues with gcc-4.3 |
43 |
|
mpatch ${PNAME}-${PVER}-gcc43.patch || die |
44 |
|
|
45 |
|
# fixes error: CD/cdda.toc:36: Invalid CD-TEXT item for a track |
46 |
|
mpatch ${PNAME}-${PVER}-toc2cue.patch || die |
47 |
|
|
48 |
|
# fix cdrdao: Track.cc:1415: void Track::addCdTextItem(CdTextItem*): Assertion |
49 |
|
# `CdTextItem::isTrackPack(item->packType())' failed. |
50 |
|
mpatch ${PNAME}-${PVER}-cdtext.patch || die |
51 |
|
|
52 |
|
# set default device to /dev/cdrw |
53 |
|
mpatch ${PNAME}-${PVER}-device.patch || die |
54 |
|
|
55 |
|
# undo upstream removal of automatic reading of the track lengths in TOC |
56 |
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440419 |
57 |
|
mpatch ${PNAME}-${PVER}-tocparser.patch || die |
58 |
|
|
59 |
# add our vendor string |
# add our vendor string |
60 |
sed -i "s:^\(PACKAGE_STRING=\).*:\1'cdrdao ${PVER} Magellan-Linux':" configure || die |
sed -i "s:^\(PACKAGE_STRING=\).*:\1'cdrdao ${PVER} Magellan-Linux':" configure || die |
61 |
|
|