diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2018-06-24 07:48:22 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-30 07:00:12 +0700 |
commit | 7ee68e989b2c83b8f22385a51167f4f086d31baf (patch) | |
tree | 987060fb5f998d8555d04e26e0600b249e4d5e4c /multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild | |
parent | 253b81695db4ba9b116ff9241cebd352634bfa33 (diff) |
multimedia/opera-developer-ffmpeg-codecs: Updated for v. 0.31.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild')
-rw-r--r-- | multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild index 63d43a2714c0a..091a806d8ae79 100644 --- a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild +++ b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="opera-developer-ffmpeg-codecs" -VERSION=${VERSION:-68.0.3440.15} +VERSION=${VERSION:-0.31.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,18 +61,14 @@ else exit 1 fi -SRCVER=$VERSION-1 - set -e -rm -rf $PKG $TMP/$PRGNAM -mkdir -p $TMP/$PRGNAM $PKG $OUTPUT - -cd $TMP/$PRGNAM +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION mkdir -p $PRGNAM-${VERSION} -tar xvf $CWD/${PRGNAM}-${SRCVER}-${BITS}.pkg.tar.xz \ - --warning=no-unknown-keyword \ - --exclude={.PKGINFO,.BUILDINFO,.MTREE} -C $PRGNAM-${VERSION} +unzip $CWD/${VERSION}-linux-x64.zip -d $PRGNAM-${VERSION} cd $PRGNAM-${VERSION} chown -R root:root . find -L . \ @@ -85,7 +81,7 @@ 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/lib${LIBDIRSUFFIX}/opera-developer/lib_extra -mv usr/lib/opera-developer/lib_extra/libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera-developer/lib_extra/ +mv libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera-developer/lib_extra/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |