Magellan Linux

Diff of /trunk/extras/subtitleripper/subtitleripper-0.3.4-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4407 by niro, Sun Dec 13 15:43:58 2009 UTC revision 4408 by niro, Sun Dec 13 20:47:40 2009 UTC
# Line 10  STATE="unstable" Line 10  STATE="unstable"
10  DESCRIPTION="DVD Subtitle Ripper for Linux."  DESCRIPTION="DVD Subtitle Ripper for Linux."
11  HOMEPAGE="http://subtitleripper.sourceforge.net/"  HOMEPAGE="http://subtitleripper.sourceforge.net/"
12    
13  DEPEND=">= media-libs/libpng-1.2  DEPEND=">= media-libs/netpbm-10.48
14     >= media-libs/libpng-1.2
15   >= sys-libs/zlib-1.2   >= sys-libs/zlib-1.2
16   >= app-text/gocr-0.45"   >= app-text/gocr-0.45"
17    
# Line 39  src_prepare() Line 40  src_prepare()
40   sed -i -e 's|^\(.*lppm.*\)$|#\1|' \   sed -i -e 's|^\(.*lppm.*\)$|#\1|' \
41   -e 's|^\(.*D_HAVE_LIB_PPM.*\)$|#\1|' Makefile || die   -e 's|^\(.*D_HAVE_LIB_PPM.*\)$|#\1|' Makefile || die
42    
43     # ppm library is libnetppm
44     sed -i "s:ppm:netpbm:g" Makefile || die
45     # fix ppm includes
46     sed -i "s:#include <ppm.h>:#include <netpbm/ppm.h>:g" spudec.c subtitle2pgm.c || die
47    
48   # change gocrfilters location to /usr/share/subtitleripper   # change gocrfilters location to /usr/share/subtitleripper
49   sed -i 's:~/sourceforge/subtitleripper/src/:/usr/share/subtitleripper:' pgm2txt || die   sed -i 's:~/sourceforge/subtitleripper/src/:/usr/share/subtitleripper:' pgm2txt || die
50    

Legend:
Removed from v.4407  
changed lines
  Added in v.4408