[Frugalware-darcs] frugalware-current: nemesi-0.6.0-1-i686

crazy crazy at frugalware.org
Mon Nov 27 22:43:33 CET 2006


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20061127213935-f6986-00e87335a0181d50ba7ea3009f0e7f8416d44ca7.gz;

[nemesi-0.6.0-1-i686
crazy <crazy at frugalware.org>**20061127213935
 * New package
] {
adddir ./source/xmultimedia-extra/nemesi
addfile ./source/xmultimedia-extra/nemesi/FrugalBuild
addfile ./source/xmultimedia-extra/nemesi/kill-hardcoded-cflags.patch
hunk ./source/xmultimedia-extra/nemesi/FrugalBuild 1
+# Compiling Time: 0.38 SBU
+# Maintainer: crazy <crazy at frugalware.org>
+
+pkgname=nemesi
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Network Media Streamer."
+url="http://streaming.polito.it/"
+depends=('sdl' 'gtk+2' 'freetype2' 'ffmpeg' 'libnms' 'libtool')
+makedepends=('xespgs' 'groff')
+groups=('xmultimedia-extra')
+options=('scriptlet')
+archs=('i686') ## !x86_64 I think :|
+up2date="lynx -dump http://streaming.polito.it/downloads/client|grep -m1 '.tar.bz2'|sed 's/.*-\(.*\).t.*/\1/'"
+source=(http://streaming.polito.it/files/$pkgname-$pkgver.tar.bz2 kill-hardcoded-cflags.patch)
+sha1sums=('5f78e2e2feeb61bef312df373fb65dc8fb671f22' \
+          'e5b5441f30fb8b4d96282600c8aa527a14183945')
+
+build()
+{
+	Fcd
+	Fpatchall
+	## FIXME the whole configure.ac is broken ...
+	autoconf || Fdie
+	Fmake --enable-optimize=none --enable-gui
+	Fmakeinstall
+	Frm usr/bin/dump_* usr/lib/libnemesi.* usr/include usr/lib/pkgconfig
+	Fmkdir usr/share/doc/$pkgname-$pkgver
+	Fmv doc/$pkgname/* usr/share/doc/$pkgname-$pkgver/
+	Frm doc/$pkgname
+}
+# optimization OK
hunk ./source/xmultimedia-extra/nemesi/kill-hardcoded-cflags.patch 1
+diff -Naur nemesi-0.6.0/configure.ac nemesi-0.6.0-p/configure.ac
+--- nemesi-0.6.0/configure.ac	2006-11-22 12:18:37.000000000 +0100
++++ nemesi-0.6.0-p/configure.ac	2006-11-27 15:42:57.000000000 +0100
+@@ -238,8 +238,8 @@
+ ARCH_DEFINES=""
+ case "$host" in 
+ 	i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*)
+-		dnl CFLAGS="$CFLAGS -mcpu=i486"
+-		CFLAGS="$CFLAGS -march=i386"
++		dnl CFLAGS="$CFLAGS"
++		CFLAGS="$CFLAGS"
+ 		ARCH_DEFINES="-DI386_ASSEM"
+ 		arch_type=ix86
+ 	;;
}


More information about the Frugalware-darcs mailing list