aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2009-04-02 15:23:25 +0000
committerrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2009-04-02 15:23:25 +0000
commitc70453376604a3a1625770c3ec58cc8694eca4e0 (patch)
treee7d6a8b47e015f1b0f8c851dad6f53277cc4599e
parent0c700aec845def5dc0d56d56b4fd216b9dc1f5fb (diff)
downloadslackbuilds-c70453376604a3a1625770c3ec58cc8694eca4e0.tar.gz
slackbuilds-c70453376604a3a1625770c3ec58cc8694eca4e0.tar.bz2
faac and faad2 version bump
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2133 370017ae-e619-0410-ac65-c121f96126d4
-rw-r--r--media/libs/faac/Manifest5
-rwxr-xr-xmedia/libs/faac/faac.SlackBuild42
-rw-r--r--media/libs/faad2/Manifest5
-rwxr-xr-xmedia/libs/faad2/faad2.SlackBuild29
4 files changed, 41 insertions, 40 deletions
diff --git a/media/libs/faac/Manifest b/media/libs/faac/Manifest
new file mode 100644
index 00000000..968d1223
--- /dev/null
+++ b/media/libs/faac/Manifest
@@ -0,0 +1,5 @@
+DIST faac-1.28.tar.gz 678891 MD5 80763728d392c7d789cde25614c878f6 RMD160 03902393488f04223aabdc804bfe77bb32a61c94 SHA1 d00b023a3642f81bb1fb13d962a65079121396ee SHA256 c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f0fec40228b6b9c3d19df SHA512 0ef721ad28835e95cad41afc0cb6130e1ebb634cb6dd4b40f649bc2269b7bb5bf2887f6d8f023c74628d521f8bdf55b4dd070f972ecff162a5fe0384e026235b
+MKBUILD faac.mkbuild 2720 MD5 474f7bcc06eb4396f983efce7fd0bf54 RMD160 984af43577bd7ab29ae42972c1378617650d529d SHA1 2920ddcd948f218a29d8494b86a804581904175b SHA256 8d41b2907bd6c2e64ff4d21c7a829ebad32f55a0f74238dee2b5a50895dfb6a2 SHA512 6f0dd4faed330a442b6be046f2edeae356c934bc5b31bcc336a9ab7d6778d2b589c6068d90b88ba24e6d1c5a7abeef2f373130db603e58173dd94a910a6b695f
+PATCH faac-1.24.diff.gz 296212 MD5 5f53b4ee031873dffb1101b59aa05bcf RMD160 9b16bd34aa810661fb69674d76191df8507264a0 SHA1 6e66751f8eecd1e0bc439482879a93d26de97470 SHA256 ffd125a90ffb2f7767329a6b4ab682864abc9bb498032044e775a3c8b33eb7bf SHA512 5344c57f2ecee2edecbbb6c5593d6891f03e19c96efdbeb37950826d7000746fd2e0cd613d2b2922ded21587dce884f0740bf3edea6966c58e5dd6db86d31a3e
+PATCH faac-1.25.diff.gz 290557 MD5 4ab74a1aef1353319e1c9090759f254b RMD160 e950088ed15b0e57b7d9ec580cdd4c76b3b23842 SHA1 a99184f42e8ce9d4e77c8df9769029b12a416c37 SHA256 55f1ebd31ca692c0531ea169582d8ffaefc7662cb4291bfd91ad16be42093c3d SHA512 3139d989036faaf214977ec32d3048aac5d294a27abe1bf8b87cb5f7bf35b900e9bc3b7b2966dbafc12c89c3551f0a71d97812c5c41b568e17767bda8db396d8
+SLACKBUILD faac.SlackBuild 5789 MD5 c12494a2af257be2082804f6cdd72f20 RMD160 87e24a0453d83624034ffea0057873e501403dc8 SHA1 1b7887d6713199e90fa7807c7e5d64b8ab7e21ec SHA256 d1b23a2d57f5bf0d0dad8c29d3acd2f75240ecd1f9c084aed47c708e7042813c SHA512 1f02365fc37356a06be3d9a25fc954e7dea9fe87fba13f73f74ac5df10dc02ff99a4f34dfea75ce39a6d0f86a22445a1632faaf15bb8ae476f505b2df422ed08
diff --git a/media/libs/faac/faac.SlackBuild b/media/libs/faac/faac.SlackBuild
index 4b467de2..48d1d78b 100755
--- a/media/libs/faac/faac.SlackBuild
+++ b/media/libs/faac/faac.SlackBuild
@@ -10,13 +10,14 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place - Suite 330, Boston, MA 02111-1307, USA
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
#
# slackbuild for faac, by Silvio Rhatto
# requires:
-# tested: faac-1.25, faac-1.26
+# tested: faac-1.28
+# model: generic.mkSlackBuild $Rev: 784 $
#
# Look for slackbuildrc
@@ -31,7 +32,7 @@ CWD="$(pwd)"
SRC_NAME="faac"
PKG_NAME="faac"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=1.26}
+SRC_VERSION=${VERSION:=1.28}
PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
@@ -47,9 +48,9 @@ NUMJOBS=${NUMJOBS:=""}
LIBDIR="$PREFIX/lib"
if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
+ SLKCFLAGS="-O2 -march=i386 -mtune=i686"
elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686"
elif [ "$ARCH" = "s390" ]; then
@@ -57,6 +58,7 @@ elif [ "$ARCH" = "s390" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIR="$PREFIX/lib64"
+ LDFLAGS="-L/lib64 -L/usr/lib64"
fi
# Set error codes (used by createpkg)
@@ -64,6 +66,7 @@ ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
+ERROR_MANIFEST=43;
# Clean up any leftovers of previous builds
rm -rf "$PKG_WORK" 2> /dev/null
@@ -86,14 +89,15 @@ fi
# Untar
cd "$PKG_WORK"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
-PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $8 }'`"
+PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $NF }'`"
cd "$PKG_SRC"
# Patch source
-patches="
+patches=" [[PATCH URLS]]
$PKG_NAME.diff $PKG_NAME-$PKG_VERSION.diff
$PKG_NAME-$PKG_VERSION-$ARCH.diff $PKG_NAME-$ARCH.diff"
for patch in $patches; do
+ patch="`basename $patch`"
if [ -f "$CWD/$patch" ]; then
patch -Np1 < "$CWD/$patch" || exit $ERROR_PATCH
elif [ -f "$CWD/patches/$patch" ]; then
@@ -102,15 +106,7 @@ for patch in $patches; do
gzip -dc "$CWD/$patch.gz" | patch -Np1 || exit $ERROR_PATCH
elif [ -f "$CWD/patches/$patch.gz" ]; then
gzip -dc "$CWD/patches/$patch.gz" | patch -Np1 || exit $ERROR_PATCH
- fi
-done
-
-if echo [[PATCH URLS]] | grep -q -v "PATCH URLS"; then
- for patch_url in [[PATCH URLS]]; do
- patch="`basename $patch_url`"
- if [ ! -s "$SRC_DIR/$patch" ]; then
- wget "$patch_url" -O "$SRC_DIR/$patch" || exit $ERROR_WGET
- fi
+ elif [ -f "$SRC_DIR/$patch" ]; then
if [ "`basename $patch .gz`" != "$patch" ]; then
gzip -dc $SRC_DIR/$patch | patch -Np1 || exit $ERROR_PATCH
elif [ "`basename $patch .bz2`" != "$patch" ]; then
@@ -118,8 +114,8 @@ if echo [[PATCH URLS]] | grep -q -v "PATCH URLS"; then
else
patch -Np1 < "$SRC_DIR/$patch" || exit $ERROR_PATCH
fi
- done
-fi
+ fi
+done
# Configure
sh ./bootstrap
@@ -156,9 +152,9 @@ done
mkdir -p "$PKG/install" || exit $ERROR_MKDIR
cat << EODESC > "$PKG/install/slack-desc"
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
+# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
+# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
@@ -181,6 +177,6 @@ cd "$PKG"
makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
# Delete source and build directories if requested
-if [ "$CLEANUP" == "yes" ]; then
+if [ "$CLEANUP" == "yes" ] || [ "$1" = "--cleanup" ]; then
rm -rf "$PKG_WORK" "$PKG"
fi
diff --git a/media/libs/faad2/Manifest b/media/libs/faad2/Manifest
new file mode 100644
index 00000000..e6a384e6
--- /dev/null
+++ b/media/libs/faad2/Manifest
@@ -0,0 +1,5 @@
+DIST faad2-2.7.tar.gz 1137407 MD5 ee1b4d67ea2d76ee52c5621bc6dbf61e RMD160 3f0ca461e2953014d5b17edccb3337767d478b8d SHA1 80eaaa5cc576c35dd28863767b795c50cbcc0511 SHA256 ee26ed1e177c0cd8fa8458a481b14a0b24ca0b51468c8b4c8b676fd3ceccd330 SHA512 8135370497dfcfee09094a03a4a9545ebc58b9e532b89c5d6e5037042549e12ddb75f8903aa05866afac9fa28df96320f1ed2eebffc0660578e54392a51c1161
+MKBUILD faad2.mkbuild 2685 MD5 a1e2b4fe726f44081eb2300bb9d39fb8 RMD160 639d4826d52f9e9eb9341c63010e586cd59becf1 SHA1 b59ba2e8f2a799e1a17b43089bb90832660c28ef SHA256 6ce23d8be649519ea4a341413cdb8fc60cc1c363fe8bf24b05df494006bfd771 SHA512 40b6e0a84dcdf4f9bec19fe615f8a866567ee464ccfb1ec777e323fbf54bfb1f8444c897d6390601630e138fef5a187872fd0cb2b132459813505dcbc0dfd03a
+PATCH faad2-2.0.diff 882 MD5 4ae96f9e2b691e0be30f24caddb5d472 RMD160 3276b3d5dd4c12f2a3ff6270a1213931818adfbd SHA1 e9f0cf5413a96e3542c2b953d52169ff8de2858b SHA256 c9c7d972ae805544afe787abfcaa771fb0afdc3fa9a30e18940e3e7ca38e6adb SHA512 a1b92dd556d85cee0c612b1ef8692758d38e61f5a7e37dfb9b9f9f96c148076e22e9b70ed23bd504a975183be4083b93c88c2116a4ee6de93fca118d30161d14
+PATCH faad2-2.6.1.diff 39665 MD5 75a75ed4e71ba5c2514b6bdaa63b21a5 RMD160 ad96d242f174e38d8890a1ba17e946569550bd38 SHA1 32279d11038786612741fef5332f2f0997a07319 SHA256 2d3ab5b8672bab2fbc59373fe60048e10f557b7606fd731e299b21c544fe6925 SHA512 75401e04d9db0446eac11256d1c70a5c16101e3eec84ef2a9619a58b0e1db62af4b2d50d88c7b2b2584867891b71bdf2b784533be31eb48d89ef44faf51da0ec
+SLACKBUILD faad2.SlackBuild 5727 MD5 6fe6c282ebcf58094ec50707e8aa72c9 RMD160 524437a8a9ce01f1060ea2b638a5a29d015b629b SHA1 240130a580a356e3c0217a723899297d0d3922d2 SHA256 be401735f08fe0c1de8f162c11563d52475d6e81d2b88c7a39498d6f50e2407a SHA512 9d68d2468619ba06bbf932c21787b9a3d7ac9c4da9b8822849b9798bc229e48c0685d61c54c35523ec502acd7b9b1ed69f0025cff4fd6e4a71060d9b9df1f9da
diff --git a/media/libs/faad2/faad2.SlackBuild b/media/libs/faad2/faad2.SlackBuild
index d2dfb73d..5839e97f 100755
--- a/media/libs/faad2/faad2.SlackBuild
+++ b/media/libs/faad2/faad2.SlackBuild
@@ -16,7 +16,8 @@
#
# slackbuild for faad2, by Silvio Rhatto
# requires:
-# tested: faad2-2.6.1
+# tested: faad2-2.7
+# model: generic.mkSlackBuild $Rev: 784 $
#
# Look for slackbuildrc
@@ -31,7 +32,7 @@ CWD="$(pwd)"
SRC_NAME="faad2"
PKG_NAME="faad2"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=2.6.1}
+SRC_VERSION=${VERSION:=2.7}
PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
@@ -47,9 +48,9 @@ NUMJOBS=${NUMJOBS:=""}
LIBDIR="$PREFIX/lib"
if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
+ SLKCFLAGS="-O2 -march=i386 -mtune=i686"
elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686"
elif [ "$ARCH" = "s390" ]; then
@@ -65,6 +66,7 @@ ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
+ERROR_MANIFEST=43;
# Clean up any leftovers of previous builds
rm -rf "$PKG_WORK" 2> /dev/null
@@ -91,10 +93,11 @@ PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $NF }'`"
cd "$PKG_SRC"
# Patch source
-patches="
+patches=" [[PATCH URLS]]
$PKG_NAME.diff $PKG_NAME-$PKG_VERSION.diff
$PKG_NAME-$PKG_VERSION-$ARCH.diff $PKG_NAME-$ARCH.diff"
for patch in $patches; do
+ patch="`basename $patch`"
if [ -f "$CWD/$patch" ]; then
patch -Np1 < "$CWD/$patch" || exit $ERROR_PATCH
elif [ -f "$CWD/patches/$patch" ]; then
@@ -103,15 +106,7 @@ for patch in $patches; do
gzip -dc "$CWD/$patch.gz" | patch -Np1 || exit $ERROR_PATCH
elif [ -f "$CWD/patches/$patch.gz" ]; then
gzip -dc "$CWD/patches/$patch.gz" | patch -Np1 || exit $ERROR_PATCH
- fi
-done
-
-if echo [[PATCH URLS]] | grep -q -v "PATCH URLS"; then
- for patch_url in [[PATCH URLS]]; do
- patch="`basename $patch_url`"
- if [ ! -s "$SRC_DIR/$patch" ]; then
- wget "$patch_url" -O "$SRC_DIR/$patch" || exit $ERROR_WGET
- fi
+ elif [ -f "$SRC_DIR/$patch" ]; then
if [ "`basename $patch .gz`" != "$patch" ]; then
gzip -dc $SRC_DIR/$patch | patch -Np1 || exit $ERROR_PATCH
elif [ "`basename $patch .bz2`" != "$patch" ]; then
@@ -119,8 +114,8 @@ if echo [[PATCH URLS]] | grep -q -v "PATCH URLS"; then
else
patch -Np1 < "$SRC_DIR/$patch" || exit $ERROR_PATCH
fi
- done
-fi
+ fi
+done
# Configure
autoreconf -vif
@@ -181,6 +176,6 @@ cd "$PKG"
makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
# Delete source and build directories if requested
-if [ "$CLEANUP" == "yes" ]; then
+if [ "$CLEANUP" == "yes" ] || [ "$1" = "--cleanup" ]; then
rm -rf "$PKG_WORK" "$PKG"
fi