diff options
author | Larry Hajali <larryhaja@gmail.com> | 2017-01-25 09:31:13 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-28 07:38:31 +0700 |
commit | 468a62df1534c8975ceb9ad0cbf16eade5b5a376 (patch) | |
tree | 4b73bed3ae61b271f63949c1f4d9e4acdfe30be7 /multimedia/mlt/mlt.SlackBuild | |
parent | b67bfa3061ae49cc101c96e5ea3e466eb139df32 (diff) | |
download | slackbuilds-468a62df1534c8975ceb9ad0cbf16eade5b5a376.tar.gz |
multimedia/mlt: fix build against Qt 5.7.1
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
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} |