Browse Source

xap/cantata: Upgraded to cantata-2.3.3.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
eee10922f2
  1. 1
      xap/cantata/cantata-2.0.1.tar.gz.sha1
  2. 1
      xap/cantata/cantata-2.3.3.tar.bz2.sha256
  3. 22
      xap/cantata/cantata.SlackBuild

1
xap/cantata/cantata-2.0.1.tar.gz.sha1

@ -1 +0,0 @@
810450365a262f0b52f7b9be2243c98b3517bf77 cantata-2.0.1.tar.gz

1
xap/cantata/cantata-2.3.3.tar.bz2.sha256

@ -0,0 +1 @@
0d7f90c8f448adcdb1e013a6eb95147d9169d5b2023357ff8e34c29ab803ed1d cantata-2.3.3.tar.bz2

22
xap/cantata/cantata.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2013,2016 Damien Goutte-Gattat
# Copyright (C) 2013,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,12 +24,14 @@
#
# Latest cantata sourcecode is available at:
# <https://github.com/CDrummond/cantata>.
#
# Depends: l/qt5
# Source package infos
NAMESRC=${NAMESRC:-cantata}
VERSION=${VERSION:-2.0.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/CDrummond/cantata/archive/v$VERSION.tar.gz}
VERSION=${VERSION:-2.3.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://github.com/CDrummond/cantata/releases/download/v$VERSION/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-cantata}
@ -76,7 +78,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -90,9 +92,8 @@ CXXFLAGS="$CPUOPT" \
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSHARE_INSTALL_PREFIX=/usr/share \
-DCMAKE_BUILD_TYPE=Release \
$LIB64_OPTS \
-DENABLE_QT5=OFF \
-DENABLE_LIBVLC=OFF \
..
make -j $JOBS
make install/strip DESTDIR=$PKG
@ -100,12 +101,17 @@ cd ..
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS ChangeLog LICENSE README{,.md} TODO $PKG/usr/doc/$NAME
install -m 644 AUTHORS ChangeLog LICENSE README TODO $PKG/usr/doc/$NAME
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
qt5
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save