[Slackbuilds-users] Two small errors in subtitleripper CMakeLists.txt

andrew andrew.david.52 at gmail.com
Tue Oct 5 03:29:16 UTC 2010


Hi,

There are 2 small errors in the CMakeLists.txt file for subtitleripper
0.3_4 which firstly damage the script pgm2txt by over zealous sed
replacement and secondly fail to give the correct path to allow
pgm2txt to find the language filter files. This can be solved by
replacing this line:

COMMAND sed s|PATH_TO_LANGUAGE_FILTER.*|PATH_TO_LANGUAGE_FILTER=@CMAKE_INSTALL_PREFIX@/@DATA_INSTALL_DIR@/subtitleripper|

with the following:

COMMAND sed s|^PATH_TO_LANGUAGE_FILTER.*|PATH_TO_LANGUAGE_FILTER=@CMAKE_INSTALL_PREFIX@/@DATA_INSTALL_DIR@/subtitleripper/|

Thanks for your trouble,

Andrew Strong
-- 
Do you think that's air you're breathing?


More information about the SlackBuilds-users mailing list