diff options
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 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 |