mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
libraries/totem-pl-parser: Updated for version 3.26.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
dd4181f2ca
commit
d2a911cda3
2 changed files with 23 additions and 27 deletions
|
@ -5,13 +5,13 @@
|
|||
# Written by crocket (crockabiscuit@gmail.com)
|
||||
|
||||
PRGNAM=totem-pl-parser
|
||||
VERSION=${VERSION:-3.4.5}
|
||||
VERSION=${VERSION:-3.26.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -22,8 +22,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -46,30 +46,26 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
|
|||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
mkdir build
|
||||
cd build
|
||||
meson setup \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--disable-static \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--infodir=/usr/info \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make V=1
|
||||
make install-strip DESTDIR=$PKG
|
||||
--libexecdir=/usr/lib$LIBDIRSUFFIX \
|
||||
--buildtype=release \
|
||||
-Denable-gtk-doc=true \
|
||||
..
|
||||
ninja
|
||||
DESTDIR="$PKG" ninja install
|
||||
cd ..
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README \
|
||||
AUTHORS COPYING.LIB MAINTAINERS NEWS README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cd $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
ln -sf ../../share/gtk-doc/html/$PRGNAM html
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="totem-pl-parser"
|
||||
VERSION="3.4.5"
|
||||
HOMEPAGE="ftp://ftp.gnome.org/pub/gnome/sources/totem-pl-parser"
|
||||
DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/totem-pl-parser/3.4/totem-pl-parser-3.4.5.tar.xz"
|
||||
MD5SUM="c675bb7e0195397d3870fd3c9690b220"
|
||||
VERSION="3.26.0"
|
||||
HOMEPAGE="https://git.gnome.org/browse/totem-pl-parser"
|
||||
DOWNLOAD="http://ponce.cc/slackware/sources/repo/totem-pl-parser-3.26.0.tar.xz"
|
||||
MD5SUM="a1c92d40691884ca05a70cb9993b9b9a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue