summaryrefslogtreecommitdiff
path: root/libraries/libopenshot
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2020-03-06 09:02:58 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-07 14:06:31 +0700
commit95d1509c2cd68e47606910fad32932414d82d429 (patch)
tree69ea5a61c1b4b7e9e79f7458ea4bffda2857df53 /libraries/libopenshot
parentca38d0ddb75bbc4113f6ebb87af12e1a2b01c1f0 (diff)
downloadslackbuilds-95d1509c2cd68e47606910fad32932414d82d429.tar.gz
libraries/libopenshot: Updated for version 0.2.5
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'libraries/libopenshot')
-rw-r--r--libraries/libopenshot/libopenshot.SlackBuild10
-rw-r--r--libraries/libopenshot/libopenshot.info6
2 files changed, 7 insertions, 9 deletions
diff --git a/libraries/libopenshot/libopenshot.SlackBuild b/libraries/libopenshot/libopenshot.SlackBuild
index 3636b27ea6..21480212eb 100644
--- a/libraries/libopenshot/libopenshot.SlackBuild
+++ b/libraries/libopenshot/libopenshot.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libopenshot
-VERSION=${VERSION:-0.2.4}
+VERSION=${VERSION:-0.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,8 +62,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-patch -p1 < $CWD/limit-hwaccel.patch
-patch -p1 < $CWD/resolve-abs.patch
cp -p $CWD/zmq.hpp include/
chown -R root:root .
find -L . \
@@ -79,10 +77,10 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DZMQ_INCLUDE_DIR=$TMP/$PRGNAM-$VERSION/include \
-DENABLE_RUBY=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
+ make doc
make install DESTDIR=$PKG
cd ..
@@ -90,8 +88,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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/libopenshot.info b/libraries/libopenshot/libopenshot.info
index 32bf717cae..a9a244b1cc 100644
--- a/libraries/libopenshot/libopenshot.info
+++ b/libraries/libopenshot/libopenshot.info
@@ -1,9 +1,9 @@
PRGNAM="libopenshot"
-VERSION="0.2.4"
+VERSION="0.2.5"
HOMEPAGE="https://github.com/OpenShot/libopenshot"
-DOWNLOAD="https://github.com/OpenShot/libopenshot/archive/v0.2.4/libopenshot-0.2.4.tar.gz \
+DOWNLOAD="https://github.com/OpenShot/libopenshot/archive/v0.2.5/libopenshot-0.2.5.tar.gz \
https://raw.githubusercontent.com/zeromq/cppzmq/014628c/zmq.hpp"
-MD5SUM="91af3b0da2fbcffbef8fa78eeebec978 \
+MD5SUM="2e271cf3ad03e6116564fa1bcc7bf46b \
56f264ec5604a5576e0d836d89c38c77"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""