diff options
Diffstat (limited to 'multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild')
-rw-r--r-- | multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild index 13bcddb008724..371ffabbc06a6 100644 --- a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild +++ b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="opera-ffmpeg-codecs" -VERSION=${VERSION:-66.0.3359.170} +VERSION=${VERSION:-0.30.5} 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/lib_extra -mv usr/lib/opera/lib_extra/libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera/lib_extra/ +mv libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera/lib_extra/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |