aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/gst-python/gst-python.SlackBuild31
-rw-r--r--python/gst-python/gst-python.info6
2 files changed, 23 insertions, 14 deletions
diff --git a/python/gst-python/gst-python.SlackBuild b/python/gst-python/gst-python.SlackBuild
index 4a847d9c56d06..47012993995e3 100644
--- a/python/gst-python/gst-python.SlackBuild
+++ b/python/gst-python/gst-python.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gst-python
-# Copyright 2014-2015 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2014-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gst-python
-VERSION=${VERSION:-1.16.2}
+VERSION=${VERSION:-1.18.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,20 +69,29 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS -std=c++11" \
+ meson .. \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --sysconfdir=/etc \
+ --buildtype=release
+ ninja
+ DESTDIR=$PKG ninja install
+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
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS RELEASE README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/gst-python/gst-python.info b/python/gst-python/gst-python.info
index 9e3ae5125e7c5..337b45fab5701 100644
--- a/python/gst-python/gst-python.info
+++ b/python/gst-python/gst-python.info
@@ -1,8 +1,8 @@
PRGNAM="gst-python"
-VERSION="1.16.2"
+VERSION="1.18.4"
HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-python.html"
-DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.16.2.tar.xz"
-MD5SUM="6ac709767334d8d0a71cb4e016f6abeb"
+DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.18.4.tar.xz"
+MD5SUM="19696a9c0b0b5a3131ac1299acb2b97b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""