aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gpac/gpac.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-06-01 15:10:48 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-02 01:03:58 +0700
commit3599a346d9ade89bbe3e9a7b67153663457db047 (patch)
treea93abc193b8b2de8eda52227fea4b2f9b41a69c5 /multimedia/gpac/gpac.SlackBuild
parent52c4afacda34363df2c660b5b26eaa3598ac0abf (diff)
multimedia/gpac: Updated for version 1.0.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/gpac/gpac.SlackBuild')
-rw-r--r--multimedia/gpac/gpac.SlackBuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/multimedia/gpac/gpac.SlackBuild b/multimedia/gpac/gpac.SlackBuild
index c7cd430d33d2..9f80cdf070e8 100644
--- a/multimedia/gpac/gpac.SlackBuild
+++ b/multimedia/gpac/gpac.SlackBuild
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="gpac"
-VERSION=${VERSION:-0.7.1}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,7 +75,7 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -f $PRGNAM-$VERSION
+rm -fR $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root.root .
@@ -88,12 +88,6 @@ find -L . \
# configure doesn't have --libdir option.
sed -i "s/^libdir=\".*\"$/libdir=\"lib$LIBDIRSUFFIX\"/" configure
-# remove this to let it build against openssl-1.1.x
-sed -i "/SSLeay_add_all_algorithms/d" src/utils/downloader.c
-
-# patch for ffmpeg-4.x
-patch -p1 < $CWD/gpac-ffmpeg-4.0.patch
-
./configure \
--prefix=/usr \
--mandir=/usr/man \
@@ -112,7 +106,7 @@ make install-lib DESTDIR=$PKG
### remove $PKG/usr/share/gpac directory
### only contains gpac.mp4 file which
### doesn't seem to play with mplayer
-rm -fr $PKG/usr/share
+#rm -fr $PKG/usr/share
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -121,7 +115,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS COPYING Changelog INSTALLME README.md TODO doc/configuration.html \
+cp -a COPYING Changelog README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install