aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-05-11 22:24:55 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:24:55 +0200
commitf240b2f6bca41e443a6ede30d24e420e5adf1e8c (patch)
tree59e38be80c07f43ff6c7744269370a026775d76a /multimedia
parent4b4d9aae0dd0163d3abca00da0c4f79cdb425702 (diff)
multimedia/mythplugins: Updated for version 0.21
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mythplugins/mythplugins.SlackBuild14
-rw-r--r--multimedia/mythplugins/mythplugins.info6
2 files changed, 14 insertions, 6 deletions
diff --git a/multimedia/mythplugins/mythplugins.SlackBuild b/multimedia/mythplugins/mythplugins.SlackBuild
index f3c85486ae40e..85d0f1db8b7df 100644
--- a/multimedia/mythplugins/mythplugins.SlackBuild
+++ b/multimedia/mythplugins/mythplugins.SlackBuild
@@ -24,10 +24,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mythplugins
-VERSION=0.20.2
+VERSION=0.21
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
@@ -37,6 +38,8 @@ if [ "${ARCH}" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "${ARCH}" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -48,7 +51,12 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \;
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -75,7 +83,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
)
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
diff --git a/multimedia/mythplugins/mythplugins.info b/multimedia/mythplugins/mythplugins.info
index 8880d1afb1198..559332109fd9c 100644
--- a/multimedia/mythplugins/mythplugins.info
+++ b/multimedia/mythplugins/mythplugins.info
@@ -1,8 +1,8 @@
PRGNAM="mythplugins"
-VERSION="0.20.2"
+VERSION="0.21"
HOMEPAGE="http://www.mythtv.org/"
-DOWNLOAD="http://ftp.osuosl.org/pub/mythtv/mythplugins-0.20.2.tar.bz2"
-MD5SUM="53fcf62c3d2bac31cde610621a08ef33"
+DOWNLOAD="http://ftp.osuosl.org/pub/mythtv/mythplugins-0.21.tar.bz2"
+MD5SUM="6c08043227bef1384858deee12b5cdc3"
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
APPROVED="rworkman"