diff options
Diffstat (limited to 'network/dino/dino.SlackBuild')
-rw-r--r-- | network/dino/dino.SlackBuild | 69 |
1 files changed, 52 insertions, 17 deletions
diff --git a/network/dino/dino.SlackBuild b/network/dino/dino.SlackBuild index 06f927cc17..6dd0017744 100644 --- a/network/dino/dino.SlackBuild +++ b/network/dino/dino.SlackBuild @@ -27,9 +27,10 @@ cd $(dirname $0) ; CWD=$(pwd) set -uoe pipefail + TGZNAM=dino PRGNAM=dino -VERSION=${VERSION:-0.4.2} +VERSION=${VERSION:-0.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,29 +79,63 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT +COMMIT=e23f2d8a6877c4d8137d1377db35cb963dd6e609 + cd $TMP -rm -rf $TGZNAM-$VERSION -tar xvf $CWD/$TGZNAM-$VERSION.tar.?z* || exit 1 -cd $TGZNAM-$VERSION || exit 1 +rm -rf $TGZNAM-$COMMIT +tar xvf $CWD/$TGZNAM-$COMMIT.tar.?z* || exit 1 +cd $TGZNAM-$COMMIT || exit 1 chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + -exec chmod 755 {} + -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ - ./configure \ - --with-libsoup3 \ - --prefix=/usr \ - --sysconfdir=/etc \ - --lib-suffix=${LIBDIRSUFFIX} \ - --build=$ARCH-slackware-linux || exit 1 - -make || exit 1 -make install DESTDIR=$PKG || exit 1 + -exec chmod 644 {} + + +# CFLAGS="$SLKCFLAGS" \ +# ./configure \ +# --with-libsoup3 \ +# --prefix=/usr \ +# --sysconfdir=/etc \ +# --lib-suffix=${LIBDIRSUFFIX} \ +# --build=$ARCH-slackware-linux || exit 1 +#make || exit 1 +# make install DESTDIR=$PKG || exit 1 + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +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 \ + -Dstrip=true \ + -Dplugin-http-files=enabled \ + -Dplugin-ice=enabled\ + -Dplugin-omemo=enabled \ + -Dplugin-openpgp=enabled \ + -Dplugin-rtp=enabled \ + -Dplugin-notification-sound=enabled \ + -Dplugin-rtp-h264=enabled \ + -Dplugin-rtp-msdk=enabled \ + -Dplugin-rtp-vaapi=enabled \ + -Dplugin-rtp-vp9=enabled \ + -Dplugin-rtp-webrtc-audio-processing=enabled + + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. + # Strip binaries: ( cd $PKG |