diff options
author | Willy Sudiarto Raharjo <willysr@gmail.com> | 2012-09-17 21:51:03 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-17 23:36:13 -0500 |
commit | 6194d0b79e50e1f13932d2d0ccc836a191f6154b (patch) | |
tree | 4660b565a07b105cd87d1f163b8e6b85a105f2ee /multimedia/subtitlecomposer/subtitlecomposer.SlackBuild | |
parent | d59497fc9bf2965e2dc12315a3386c2844ed3f10 (diff) | |
download | slackbuilds-6194d0b79e50e1f13932d2d0ccc836a191f6154b.tar.gz |
multimedia/subtitlecomposer: rebuilt to add patches to compile.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/subtitlecomposer/subtitlecomposer.SlackBuild')
-rw-r--r-- | multimedia/subtitlecomposer/subtitlecomposer.SlackBuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild index 0c522eb954..047c012046 100644 --- a/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild +++ b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=subtitlecomposer VERSION=${VERSION:-0.5.3} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -53,19 +53,26 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Patch to build with gcc 4.5. -patch -p0 < $CWD/subtitlecomposer-0.5.3-gcc45.patch +patch -p1 < $CWD/subtitlecomposer-build-fixes.patch +patch -p1 < $CWD/subtitlecomposer-linkage.patch +patch -p1 < $CWD/link_gobject.patch +mkdir build +cd build + +LDFLAGS="-lX11" \ cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DLIB_SUFFIX="$LIBDIRSUFFIX" \ -DCMAKE_BUILD_TYPE="release" \ - . + .. make make install DESTDIR=$PKG +cd ../ + # Fix api install files cp src/main/scripting/scripting_*.h $PKG/usr/share/apps/subtitlecomposer |