diff options
author | Christoph Willing <chris.willing@linux.com> | 2020-03-06 09:02:58 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-03-07 14:06:31 +0700 |
commit | 95d1509c2cd68e47606910fad32932414d82d429 (patch) | |
tree | 69ea5a61c1b4b7e9e79f7458ea4bffda2857df53 /libraries/libopenshot/libopenshot.SlackBuild | |
parent | ca38d0ddb75bbc4113f6ebb87af12e1a2b01c1f0 (diff) |
libraries/libopenshot: Updated for version 0.2.5
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'libraries/libopenshot/libopenshot.SlackBuild')
-rw-r--r-- | libraries/libopenshot/libopenshot.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libraries/libopenshot/libopenshot.SlackBuild b/libraries/libopenshot/libopenshot.SlackBuild index 3636b27ea6197..21480212eb5ed 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 |