Browse Source

l/libdvdcss: Upgraded to libdvdcss-1.2.13.

slackware-14.2
Damien Goutte-Gattat 9 years ago
parent
commit
9da76413a2
  1. 1
      l/libdvdcss/libdvdcss-1.2.13.tar.bz2.sha1
  2. 1
      l/libdvdcss/libdvdcss-1.2.9.tar.gz.sha1
  3. 22
      l/libdvdcss/libdvdcss.SlackBuild

1
l/libdvdcss/libdvdcss-1.2.13.tar.bz2.sha1

@ -0,0 +1 @@
1a4a5e55c7529da46386c1c333340eee2c325a77 libdvdcss-1.2.13.tar.bz2

1
l/libdvdcss/libdvdcss-1.2.9.tar.gz.sha1

@ -1 +0,0 @@
7b31665ae42559e58019cfcd93a2747d11bcf060 libdvdcss-1.2.9.tar.gz

22
l/libdvdcss/libdvdcss.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2010 Damien Goutte-Gattat
# Copyright (C) 2008,2010,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,15 +27,15 @@
# Source package infos
NAMESRC=${NAMESRC:-libdvdcss}
VERSION=${VERSION:-1.2.9}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
VERSION=${VERSION:-1.2.13}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://download.videolan.org/pub/videolan/libdvdcss/$VERSION/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-libdvdcss}
BUILD=${BUILD:-3GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-3}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
@ -78,29 +78,21 @@ fi
sha1sum -c $ARCHIVE.sha1
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Extract
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Documentation build is broken, do not build the doc subdirectory!
sed -i 's/^SUBDIRS = src test doc$/SUBDIRS = src test/' Makefile.{am,in}
# Compile
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--docdir=/usr/doc/$NAME \
--disable-static
make -j $JOBS
make install-strip DESTDIR=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save