Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=dfbc53728a43e46a997577c0a186ed45bc1424cb

commit dfbc53728a43e46a997577c0a186ed45bc1424cb
Author: Cedynamix <cedyna...@gmail.com>
Date:   Wed Jul 8 21:08:13 2009 +0200

mpeg2dec-0.4.1-1-i686

* version bump
* Fix up2date & build
* change maintainer krix --> Cedynamix

diff --git a/source/lib/mpeg2dec/FrugalBuild b/source/lib/mpeg2dec/FrugalBuild
index e5742ff..d77047e 100644
--- a/source/lib/mpeg2dec/FrugalBuild
+++ b/source/lib/mpeg2dec/FrugalBuild
@@ -1,39 +1,18 @@
# Compiling Time: 0.19 SBU
-# Maintainer: Christian Hamar alias krix <kr...@linuxforum.hu>
+# Maintainer: Cedrick Hannier alias Cedynamix <cedyna...@gmail.com>

pkgname=mpeg2dec
-pkgver=0.4.0b
-pkgrel=4
+pkgver=0.4.1
+pkgrel=1
pkgdesc="libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video 
streams."
url="http://libmpeg2.sourceforge.net/";
depends=()
makedepends=('sdl' 'libxv' 'libsm')
groups=('lib')
archs=('x86_64' 'i686' 'ppc')
-up2date="lynx -dump http://libmpeg2.sf.net/files/ |grep 
mpeg2dec-[0-9a-z\.]*.tar.gz| grep -v snapshot | tail -n 1|sed -n 
's/.*-\(.*\).t.*/\1/;1 p'"
-source=(http://libmpeg2.sourceforge.net/files/$pkgname-$pkgver.tar.gz \
-       libmpeg2-cpuid-detectionfix-x86_64.patch)
-sha1sums=('7ad99a810802f216893022fa14fa078ac49d67d7' \
-         '30202699c852c866a43187f682808f45745e4d19')
+up2date="lynx -dump http://libmpeg2.sourceforge.net/downloads.html | grep 
mpeg2dec-[0-9a-z\.]*.tar.gz | Flasttar "
+source=(http://libmpeg2.sourceforge.net/files/$pkgname-$pkgver.tar.gz)
+sha1sums=('80be8b16dff4caa4253470d1a3b563fdc0177fcb')
license="GPL2"

-build () {
-       Fcd $pkgname-0.4.0
-       [ "$CARCH" == "x86_64" ] && Fpatchall
-       Fconf --enable-shared
-       ## NOTE: this is a hack for now all the Makefile(s) need a fix
-       for i in `find . -iname Makefile`
-       do
-         if [ "$CARCH" == "x86_64" ]; then
-               Fsed "-mcpu=.*" "" $i
-               Fsed "-O3 -fomit-frame-pointer -fno-common" "${CFLAGS} -fPIC" $i
-          else ## once ppc get in this need be a elif :)
-               Fsed "-O3 -fomit-frame-pointer -fno-common -mcpu=pentiumpro" 
"${CFLAGS}" $i
-       fi
-       done
-       make || return 1
-       Fmakeinstall
-}
-
-
# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to