diff options
Diffstat (limited to 'multimedia/mpv/mpv.SlackBuild')
-rw-r--r-- | multimedia/mpv/mpv.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild index 484cf9486c..f4957c9a36 100644 --- a/multimedia/mpv/mpv.SlackBuild +++ b/multimedia/mpv/mpv.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mpv -VERSION=${VERSION:-0.27.2} +VERSION=${VERSION:-0.29.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,7 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cp $CWD/waf-1.9.8 $PRGNAM-$VERSION/waf +cp $CWD/waf-2.0.9 $PRGNAM-$VERSION/waf chmod +x $PRGNAM-$VERSION/waf cd $PRGNAM-$VERSION chown -R root:root . @@ -73,12 +73,15 @@ 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 {} \; -DOCS="Copyright LICENSE README.md RELEASE_NOTES" +DOCS="Copyright LICENSE.GPL LICENSE.LGPL README.md RELEASE_NOTES VERSION" MANUAL="DOCS/*.md DOCS/*.rst DOCS/*.txt" # This leaves an opening for build options. BUILD_OPTS=${BUILD_OPTS:-""} +PKG_CONFIG_PATH="/usr/lib${LIBDIRSUFFIX}/ffmpeg4/pkgconfig" +export PKG_CONFIG_PATH + # Setting CFLAGS and CXXFLAGS breaks configure. ./waf configure \ --prefix=/usr \ |