diff options
Diffstat (limited to 'python/gst-python3/gst-python3.SlackBuild')
-rw-r--r-- | python/gst-python3/gst-python3.SlackBuild | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/python/gst-python3/gst-python3.SlackBuild b/python/gst-python3/gst-python3.SlackBuild index a9c2d7eb42..08ebb64e98 100644 --- a/python/gst-python3/gst-python3.SlackBuild +++ b/python/gst-python3/gst-python3.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=gst-python3 SRCNAM=gst-python -VERSION=${VERSION:-1.6.2} +VERSION=${VERSION:-1.16.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,18 +71,23 @@ 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 \ - PYTHON=/usr/bin/python3 +patch -p1 < $CWD/fix-builds-with-python-3.8.patch -make -make install DESTDIR=$PKG - -# Remove the .la file to prevent conflicts with the python2 version of gst-python -rm $PKG/usr/lib${LIBDIRSUFFIX}/gstreamer-1.0/libgstpythonplugin.la +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc + 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 |