Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=ab4114cfd0f74531538290281019b2dd69ede44a
commit ab4114cfd0f74531538290281019b2dd69ede44a Author: bouleetbil <[email protected]> Date: Sun Nov 13 11:46:33 2011 +0100 moonlight *bin diff --git a/source/xlib-extra/moonlight/FrugalBuild b/source/xlib-extra/moonlight/FrugalBuild deleted file mode 100644 index 1a6f1af..0000000 --- a/source/xlib-extra/moonlight/FrugalBuild +++ /dev/null @@ -1,91 +0,0 @@ -# Compiling time: 0.39 SBU -# Maintainer: bouleetbil <[email protected]> - -USE_DEVEL=${USE_DEVEL:-"n"} - -#To launch Firefox with shape caching and ffmpeg converters use:" -#MOONLIGHT_OVERRIDES="shapecache=yes,converter=ffmpeg" firefox' - -pkgname=moonlight -pkgrel=5 -pkgdesc="Moonlight is an open source implementation of Microsoft Silverlight for Unix systems." -url="http://www.go-mono.com/moonlight/" -depends=('gtk+2' 'libxau' 'libxdmcp' 'freetype2' 'alsa-lib' 'libstdc++' 'libxdamage' 'libxext' 'libxml2>=2.7.8' \ - 'ffmpeg>=0.6' 'dbus-glib' 'dbus-sharp' 'imagemagick>=6.6.8_5-3' 'poppler-glib>=0.14.3' 'gtk-sharp' 'curl') -makedepends=('firefox' 'zip' 'gsf-sharp' 'gtksourceview-sharp' 'monodoc'\ - 'xulrunner' 'curl') -options=('scriptlet') -groups=('xlib-extra') -archs=('i686' 'x86_64') - -subpkgs=("$pkgname-mozilla") -subdescs=('moonlight extension for Mozilla') -subdepends=("firefox ffmpeg imagemagick mono") -subgroups=('xlib-extra') -subarchs=('i686 x86_64') - -if ! Fuse $USE_DEVEL; then - pkgver=2.99.0.9 - up2date="Flasttar http://ftp.frugalware.org/pub/other/people/bouleetbil/snapshot/" - source=(http://ftp.frugalware.org/pub/other/people/bouleetbil/snapshot/$pkgname-$pkgver.tar.bz2) - Finclude mono - sha1sums=('5684d1f279fe0f2fa465c224af28bfabd66315dc') -else - pkgver=0.8.2_svn121479 - _F_scm_type="subversion" - _F_scm_url="http://anonsvn.mono-project.com/source/trunk/moon" - _F_cd_path=$pkgname - Finclude mono scm -fi -Fconfopts="$Fconfopts --with-mcs-docs=no --with-tls=__thread --disable-mono-debugger \ - --with-ikvm-native=no --with-moonlight=yes --with-glib=system" - -build() { - unset MAKEFLAGS - Fmonoexport - - Fcd - cd ../mono || Fdie - sh ./autogen.sh || Fdie - - if Fuse $USE_DEVEL; then - Funpack_scm - Fcd - sh ./autogen.sh $Fconfopts || Fdie - else - cd ../$pkgname-$pkgver || Fdie - Fsed 'ndesk-dbus' 'dbus-sharp' configure* - Fsed 'ndesk-dbus-glib' 'dbus-sharp-glib' configure* - find ./ -exec sed -i "s/NDesk.DBus/DBus/g" {} \; - Fpatchall - sh ./autogen.sh $Fconfopts || Fdie - fi - Fsed './check_xpi.sh $@' "" plugin/install/Makefile* - Fmake --with-curl=system - Fmakeinstall - - #build xpi - make user-plugin || Fdie - - # "Install" the Mozilla extension - Fmkdir /usr/share/doc/$pkgname-$pkgver/mozilla-extension - Fmkdir /usr/lib/firefox/extensions/[email protected] - cd $Fdestdir/usr/lib/firefox/extensions/[email protected] - unzip -qqo $Fsrcdir/$pkgname-$pkgver/plugin/install/novell-moonlight.xpi || Fdie - chmod 644 install.rdf || Fdie - Fdirschmod /usr/lib/firefox/extensions 755 - Ffileschmod /usr/lib/firefox/extensions 644 - - #split package - #extension - Fsplit $pkgname-mozilla usr/share/doc/$pkgname-$pkgver/mozilla-extension - Fsplit $pkgname-mozilla usr/lib/firefox/extensions - - #grr bugguy - Fmv /var/tmp/fst/pkg/usr/lib/moonlight/plugin/lunar-launcher /usr/lib/moonlight/plugin/lunar-launcher - Frm /var - - Fmonocleanup -} - -# optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
