summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2020-03-06 08:39:00 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-07 14:06:31 +0700
commitca38d0ddb75bbc4113f6ebb87af12e1a2b01c1f0 (patch)
tree0b0d34cf9a6d3020e4e948bcadbfc7aa42500ea8 /libraries
parent786099906aa9241e2bb0e4bfa7409c64bdcb73ed (diff)
downloadslackbuilds-ca38d0ddb75bbc4113f6ebb87af12e1a2b01c1f0.tar.gz
libraries/libopenshot-audio: Updated for version 0.2.0
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libopenshot-audio/libopenshot-audio.SlackBuild10
-rw-r--r--libraries/libopenshot-audio/libopenshot-audio.info8
2 files changed, 9 insertions, 9 deletions
diff --git a/libraries/libopenshot-audio/libopenshot-audio.SlackBuild b/libraries/libopenshot-audio/libopenshot-audio.SlackBuild
index 7f67a3c9ab..85c4e40f40 100644
--- a/libraries/libopenshot-audio/libopenshot-audio.SlackBuild
+++ b/libraries/libopenshot-audio/libopenshot-audio.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libopenshot-audio
-VERSION=${VERSION:-0.1.9}
+VERSION=${VERSION:-0.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,22 +75,22 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
+ make doc
make install DESTDIR=$PKG
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
-mv $PKG/usr/share/man $PKG/usr && rmdir $PKG/usr/share
+mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/API $PKG/usr/doc/$PRGNAM-$VERSION/ && rm -rf $PKG/usr/share
+cp -a AUTHORS COPYING INSTALL.md README.md $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/libopenshot-audio/libopenshot-audio.info b/libraries/libopenshot-audio/libopenshot-audio.info
index 7a539000b8..e59985de64 100644
--- a/libraries/libopenshot-audio/libopenshot-audio.info
+++ b/libraries/libopenshot-audio/libopenshot-audio.info
@@ -1,10 +1,10 @@
PRGNAM="libopenshot-audio"
-VERSION="0.1.9"
+VERSION="0.2.0"
HOMEPAGE="https://github.com/OpenShot/libopenshot-audio"
-DOWNLOAD="https://github.com/OpenShot/libopenshot-audio/archive/v0.1.9/libopenshot-audio-0.1.9.tar.gz"
-MD5SUM="fc5c7b857c20f3fe48e3c05dcc96d5b9"
+DOWNLOAD="https://github.com/OpenShot/libopenshot-audio/archive/v0.2.0/libopenshot-audio-0.2.0.tar.gz"
+MD5SUM="fc6a619a99b3e5ce76cf58d9e040eb41"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"