Lines 30-39
Link Here
|
30 |
sed -i -e "s:#include <ppm.h>:#include <netpbm/ppm.h>:g" spudec.c subtitle2pgm.c |
30 |
sed -i -e "s:#include <ppm.h>:#include <netpbm/ppm.h>:g" spudec.c subtitle2pgm.c |
31 |
# we will install the gocrfilters into /usr/share/subtitleripper |
31 |
# we will install the gocrfilters into /usr/share/subtitleripper |
32 |
sed -i -e 's:~/sourceforge/subtitleripper/src/:/usr/share/subtitleripper:' pgm2txt |
32 |
sed -i -e 's:~/sourceforge/subtitleripper/src/:/usr/share/subtitleripper:' pgm2txt |
33 |
|
33 |
|
34 |
epatch "${FILESDIR}/${P}-linkingorder.patch" |
34 |
epatch "${FILESDIR}/${P}-linkingorder.patch" |
|
|
35 |
#build against libpng |
36 |
epatch "${FILESDIR}/${P}-libpng.patch" |
35 |
} |
37 |
} |
36 |
|
38 |
|
37 |
src_install () { |
39 |
src_install () { |
38 |
dobin pgm2txt srttool subtitle2pgm subtitle2vobsub vobsub2pgm |
40 |
dobin pgm2txt srttool subtitle2pgm subtitle2vobsub vobsub2pgm |
39 |
|
41 |
|