21 |
SRC_URI=( |
SRC_URI=( |
22 |
sourceforge://${PNAME}/${SRCFILE} |
sourceforge://${PNAME}/${SRCFILE} |
23 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
|
mirror://${PNAME}/${PNAME}-1.2.2-excl.patch |
|
|
mirror://${PNAME}/${PNAME}-1.2.2-gcc43.patch |
|
|
mirror://${PNAME}/${PNAME}-1.2.2-toc2cue.patch |
|
|
mirror://${PNAME}/${PNAME}-1.2.2-cdtext.patch |
|
|
mirror://${PNAME}/${PNAME}-1.2.2-device.patch |
|
|
mirror://${PNAME}/${PNAME}-1.2.2-tocparser.patch |
|
24 |
) |
) |
25 |
|
|
26 |
UP2DATE="updatecmd_sourceforge ${PNAME}" |
UP2DATE="updatecmd_sourceforge ${PNAME}" |
30 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
31 |
cd ${SRCDIR} |
cd ${SRCDIR} |
32 |
|
|
|
# use O_EXCL to avoid conflicts with hal |
|
|
mpatch ${PNAME}-1.2.2-excl.patch || die |
|
|
|
|
|
# fix issues with gcc-4.3 |
|
|
mpatch ${PNAME}-1.2.2-gcc43.patch || die |
|
|
|
|
|
# fixes error: CD/cdda.toc:36: Invalid CD-TEXT item for a track |
|
|
mpatch ${PNAME}-1.2.2-toc2cue.patch || die |
|
|
|
|
|
# fix cdrdao: Track.cc:1415: void Track::addCdTextItem(CdTextItem*): Assertion |
|
|
# `CdTextItem::isTrackPack(item->packType())' failed. |
|
|
mpatch ${PNAME}-1.2.2-cdtext.patch || die |
|
|
|
|
|
# set default device to /dev/cdrw |
|
|
mpatch ${PNAME}-1.2.2-device.patch || die |
|
|
|
|
|
# undo upstream removal of automatic reading of the track lengths in TOC |
|
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440419 |
|
|
mpatch ${PNAME}-1.2.2-tocparser.patch || die |
|
|
|
|
33 |
# add our vendor string |
# add our vendor string |
34 |
sed -i "s:^\(PACKAGE_STRING=\).*:\1'cdrdao ${PVER} Magellan-Linux':" configure || die |
sed -i "s:^\(PACKAGE_STRING=\).*:\1'cdrdao ${PVER} Magellan-Linux':" configure || die |
35 |
|
|