22 |
SRC_URI=( |
SRC_URI=( |
23 |
sourceforge://${PNAME}/${SRCFILE} |
sourceforge://${PNAME}/${SRCFILE} |
24 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
25 |
|
mirror://${PNAME}/${PNAME}-${PVER}-linkingorder.patch |
26 |
|
mirror://${PNAME}/${PNAME}-${PVER}-glibc210.patch |
27 |
|
mirror://${PNAME}/${PNAME}-${PVER}-libpng.patch |
28 |
) |
) |
29 |
|
|
30 |
# fake it |
# fake it |
41 |
|
|
42 |
# change gocrfilters location to /usr/share/subtitleripper |
# change gocrfilters location to /usr/share/subtitleripper |
43 |
sed -i 's:~/sourceforge/subtitleripper/src/:/usr/share/subtitleripper:' pgm2txt || die |
sed -i 's:~/sourceforge/subtitleripper/src/:/usr/share/subtitleripper:' pgm2txt || die |
44 |
|
|
45 |
|
# correct linking order to fix builds with --as-needed |
46 |
|
mpatch ${PNAME}-${PVER}-linkingorder.patch || die |
47 |
|
|
48 |
|
# fix compilation against newer glibc |
49 |
|
mpatch ${PNAME}-${PVER}-glibc210.patch || die |
50 |
|
|
51 |
|
# fix compilation against newer libpng |
52 |
|
mpatch ${PNAME}-${PVER}-libpng.patch || die |
53 |
} |
} |
54 |
|
|
55 |
src_compile() |
src_compile() |