diff options
Diffstat (limited to 'multimedia/mlt/mlt.SlackBuild')
-rw-r--r-- | multimedia/mlt/mlt.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/mlt/mlt.SlackBuild b/multimedia/mlt/mlt.SlackBuild index 4d6a3de0b8..e5f88343b2 100644 --- a/multimedia/mlt/mlt.SlackBuild +++ b/multimedia/mlt/mlt.SlackBuild @@ -51,7 +51,7 @@ PRGNAM=mlt VERSION=${VERSION:-6.2.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -118,6 +118,9 @@ 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 {} \; +# Fix building against qt >= 5.7. +patch -p1 < $CWD/qt5-5.7.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -164,7 +167,6 @@ if [ "$php" ]; then ; extension=$PRGNAM.so EOF ) - echo "config etc/php.d/$PRGNAM.ini.new" >> $CWD/doinst.sh fi if [ "$python" ]; then PYTHONSITEPKG=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')") @@ -205,5 +207,9 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh +if [ "$php" ]; then + echo "config etc/php.d/$PRGNAM.ini.new" >> $PKG/install/doinst.sh +fi + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |