summaryrefslogtreecommitdiff
path: root/multimedia/kdenlive/kdenlive.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kdenlive/kdenlive.SlackBuild')
-rw-r--r--multimedia/kdenlive/kdenlive.SlackBuild26
1 files changed, 10 insertions, 16 deletions
diff --git a/multimedia/kdenlive/kdenlive.SlackBuild b/multimedia/kdenlive/kdenlive.SlackBuild
index 874bf5e963..9304f04db7 100644
--- a/multimedia/kdenlive/kdenlive.SlackBuild
+++ b/multimedia/kdenlive/kdenlive.SlackBuild
@@ -23,12 +23,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# NOTES
-# -----
-# This package can be successfully built on Slackware 13.37/14.0 with the
-# addition of qjson (available on SlackBuilds.org) as an additional
-# dependency.
-
# CHANGELOG
# ---------
# 2014 MAY 22
@@ -61,8 +55,8 @@
# +---------------------------------------+
PRGNAM=kdenlive
-VERSION=${VERSION:-0.9.8}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.9.10}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -98,7 +92,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-1.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -107,17 +101,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/locales.patch
-# Workaround for CMakeList.txt error at build time on some versions of Slackware
-sed -i.bak -e '69d' src/CMakeLists.txt
- cmake \
+mkdir build
+cd build
+cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=ON \
- .
- make
- make install DESTDIR=$PKG
+ ..
+make
+make install DESTDIR=$PKG
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true