From 26eabccf168f954a2b7e9146889a13a20bdfcfcb Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 21 Feb 2012 11:37:08 -0200 Subject: ~emulatorman/hunspell-pt-br --- ~emulatorman/jitsi-stable/PKGBUILD | 65 ++++++++++++++++++++++++++++++++ ~emulatorman/jitsi-stable/jitsi.desktop | 9 +++++ ~emulatorman/jitsi-stable/jitsi.sh | 19 ++++++++++ ~emulatorman/mednafen-wip/PKGBUILD | 34 +++++++++++++++++ ~emulatorman/mednafen-wip/build.patch | 31 +++++++++++++++ ~emulatorman/xonotic-data/PKGBUILD | 29 ++++++++++++++ ~emulatorman/xonotic/PKGBUILD | 50 ++++++++++++++++++++++++ ~emulatorman/xonotic/xonotic-glx.desktop | 11 ++++++ ~emulatorman/xonotic/xonotic-sdl.desktop | 11 ++++++ 9 files changed, 259 insertions(+) create mode 100644 ~emulatorman/jitsi-stable/PKGBUILD create mode 100644 ~emulatorman/jitsi-stable/jitsi.desktop create mode 100644 ~emulatorman/jitsi-stable/jitsi.sh create mode 100755 ~emulatorman/mednafen-wip/PKGBUILD create mode 100644 ~emulatorman/mednafen-wip/build.patch create mode 100644 ~emulatorman/xonotic-data/PKGBUILD create mode 100644 ~emulatorman/xonotic/PKGBUILD create mode 100644 ~emulatorman/xonotic/xonotic-glx.desktop create mode 100644 ~emulatorman/xonotic/xonotic-sdl.desktop (limited to '~emulatorman') diff --git a/~emulatorman/jitsi-stable/PKGBUILD b/~emulatorman/jitsi-stable/PKGBUILD new file mode 100644 index 000000000..9cb7018a9 --- /dev/null +++ b/~emulatorman/jitsi-stable/PKGBUILD @@ -0,0 +1,65 @@ +# Contributor: Ananda Samaddar ananda@samaddar.co.uk +# Contributor: Xavion +# Contributor: atommix aka Aleks Lifey +# Contributor: Keshav P R <(skodabenz) (aatt) (rocketmail) (ddoott) (ccoomm)> +# Contributor (Parabola): André Silva + +_pkgname=jitsi +pkgname=$_pkgname-stable +pkgver=1.0.beta1.3820 +pkgrel=1 +pkgdesc="An audio/video/chat communicator that supports protocols such as SIP and XMPP/Jabber" +arch=('i686' 'x86_64') +url="http://jitsi.org" +license=('LGPL') +depends=('openjdk6') +makedepends=('apache-ant' 'openjdk6') +provides=("$_pkgname=$pkver") +conflicts=("$_pkgname") +options=(!strip !emptydirs zipman !libtool docs) +source=("http://download.jitsi.org/jitsi/src/jitsi-src-1.0-beta1-nightly.build.${pkgver##*.}.zip" + $_pkgname.{desktop,sh}) +md5sums=('a5675da30e2e5fd801d2457ddddba0f9' + '5923eeca35823f8ef1e416a9a6fc0fac' + '55fe144bbf19283e7ec5d7bd3228cf5b') +sha256sums=('74d845b993cdd53856415a179ac72bbe9c6f5db37482874eab7be34490e7c0c2' + '770132b617d94ed468e9592b991ceac10eb3e03e7198b8f5f2f05918f7db4302' + '98027ddaa1ebfe948fa49f6e57ab0d2c866d5e7c37873e30638b86223a2a15e9') + +# uncomment to get the latest stable release; you have to adjust/skip checksums +#source[0]=http://download.jitsi.org/jitsi/src/$(curl -Ss 'http://download.jitsi.org/jitsi/src/' | grep -om1 'jitsi-src[^"<]\+.zip' | head -1) +#pkgver=$(sed -r 's/[^0-9]*([0-9.]+)(-(beta[0-9]+))?.*(.build.([0-9]+))\..*/\1.\3.\5/' <<<${source[0]}) + +build() { + cd "$srcdir/$_pkgname" + + # append the build revision to the jitsi version + sed -i "s/0\.build\.by\.SVN/build.${pkgver##*.}/" src/net/java/sip/communicator/impl/version/NightlyBuildID.java + + . /etc/profile.d/apache-ant.sh + ant rebuild +} + +package() { + cd "$srcdir/$_pkgname" + + find lib/ lib/bundle/ -maxdepth 1 -type f \ + -exec install -Dm644 {} "$pkgdir/usr/lib/$_pkgname/"{} \; + find lib/os-specific/linux/ -maxdepth 1 -type f \ + -execdir install -Dm644 {} "$pkgdir/usr/lib/$_pkgname/lib/"{} \; + + shopt -sq extglob + find lib/native/linux$(sed 's/_/-/g' <<<${CARCH/#*(i?86|x86)/})/ -maxdepth 1 -type f \ + -execdir install -Dm644 {} "$pkgdir/usr/lib/$_pkgname/lib/native/"{} \; + + find sc-bundles/{,os-specific/linux/} -maxdepth 1 -type f \ + -execdir install -Dm644 {} "$pkgdir/usr/lib/$_pkgname/sc-bundles/"{} \; + + install -Dm755 "$srcdir/$_pkgname.sh" "$pkgdir/usr/bin/$_pkgname" + install -Dm644 "$srcdir/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop" + + local _file + for _file in resources/install/debian/*.{svg,xpm}; do + install -Dm644 "$_file" "$pkgdir/usr/share/pixmaps/$_pkgname${_file/*sip-communicator/}" + done +} diff --git a/~emulatorman/jitsi-stable/jitsi.desktop b/~emulatorman/jitsi-stable/jitsi.desktop new file mode 100644 index 000000000..f0a7b5436 --- /dev/null +++ b/~emulatorman/jitsi-stable/jitsi.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Jitsi +GenericName=jitsi +Comment=VoIP and Instant Messaging client +Icon=/usr/share/pixmaps/jitsi.svg +Type=Application +Categories=Network; +Exec=/usr/bin/jitsi +Terminal=false diff --git a/~emulatorman/jitsi-stable/jitsi.sh b/~emulatorman/jitsi-stable/jitsi.sh new file mode 100644 index 000000000..6ebd6131f --- /dev/null +++ b/~emulatorman/jitsi-stable/jitsi.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Additionnal JVM arguments +CLIENTARGS="" +[[ $(uname -m) =~ i?86 ]] && CLIENTARGS="-client -Xmx256m" + +SCDIR=/usr/lib/jitsi +LIBPATH=$SCDIR/lib +CLASSPATH=$LIBPATH/jdic_stub.jar:$LIBPATH/jdic-all.jar:$LIBPATH/felix.jar:$LIBPATH/bcprovider.jar:$SCDIR/sc-bundles/sc-launcher.jar:$SCDIR/sc-bundles/util.jar +FELIX_CONFIG=$LIBPATH/felix.client.run.properties +LOG_CONFIG=$LIBPATH/logging.properties +COMMAND="$JAVA_HOME/bin/java $CLIENTARGS -classpath $CLASSPATH -Djna.library.path=$LIBPATH/native -Dfelix.config.properties=file:$FELIX_CONFIG -Djava.util.logging.config.file=$LOG_CONFIG net.java.sip.communicator.launcher.SIPCommunicator" + +# set add LIBPATH to LD_LIBRARY_PATH for any sc natives (e.g. jmf .so's) +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBPATH/native + +cd $SCDIR + +exec $COMMAND $* diff --git a/~emulatorman/mednafen-wip/PKGBUILD b/~emulatorman/mednafen-wip/PKGBUILD new file mode 100755 index 000000000..93893684e --- /dev/null +++ b/~emulatorman/mednafen-wip/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Hans-Kristian Arntzen +# Contributor: Angel 'angvp' Velasquez +# Contributor: kagan +# Contributor (Parabola): André Silva + +pkgname=mednafen-wip +pkgver=0.9.19 +pkgrel=1 +pkgdesc="A command-line multi-system gaming emulator, WIP version" +url="http://mednafen.sourceforge.net/" +license=(GPL) +arch=('i686' 'x86_64') +depends=('libcdio>=0.82' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'sdl_net' 'libsndfile' 'zlib') +makedepends=('pkgconfig' 'mesa') +conflicts=('mednafen') +provides=('mednafen') +source=('http://forum.fobby.net/index.php?t=getfile&id=345&' 'build.patch') +md5sums=('64be12196aa02828539af677b0e2a66c' + 'aac8957fa5274f00feed6a462fa8b7ad') + +build() +{ + cd $srcdir/mednafen + patch -p1 < $srcdir/build.patch + ./configure --prefix=/usr + make +} + +package() +{ + cd $srcdir/mednafen + make DESTDIR=$pkgdir install +} + diff --git a/~emulatorman/mednafen-wip/build.patch b/~emulatorman/mednafen-wip/build.patch new file mode 100644 index 000000000..7985a19ed --- /dev/null +++ b/~emulatorman/mednafen-wip/build.patch @@ -0,0 +1,31 @@ +diff --git a/src/file.cpp b/src/file.cpp +index 57f4e13..ec1181c 100644 +--- a/src/file.cpp ++++ b/src/file.cpp +@@ -293,7 +293,7 @@ bool MDFNFILE::MakeMemWrapAndClose(void *tz, int type) + goto doret; + } + +- while((howmany = gzread(tz, f_data + cur_size, cur_alloced - cur_size)) > 0) ++ while((howmany = gzread((gzFile)tz, f_data + cur_size, cur_alloced - cur_size)) > 0) + { + cur_size += howmany; + cur_alloced <<= 1; +@@ -320,7 +320,7 @@ bool MDFNFILE::MakeMemWrapAndClose(void *tz, int type) + { + int gzerrnum = 0; + const char *gzerrstring; +- if((gzerrstring = gzerror(tz, &gzerrnum)) && gzerrnum != Z_OK && gzerrnum != Z_STREAM_END) ++ if((gzerrstring = gzerror((gzFile)tz, &gzerrnum)) && gzerrnum != Z_OK && gzerrnum != Z_STREAM_END) + { + if(gzerrnum != Z_ERRNO) + { +@@ -365,7 +365,7 @@ bool MDFNFILE::MakeMemWrapAndClose(void *tz, int type) + } + else if(type == MDFN_FILETYPE_GZIP) + { +- gzclose(tz); ++ gzclose((gzFile)tz); + } + else if(type == MDFN_FILETYPE_ZIP) + { diff --git a/~emulatorman/xonotic-data/PKGBUILD b/~emulatorman/xonotic-data/PKGBUILD new file mode 100644 index 000000000..114954fc3 --- /dev/null +++ b/~emulatorman/xonotic-data/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 35989 2010-12-25 03:22:46Z svenstaro $ +# Maintainer: Sven-Hendrik Haase +# Contributor: Alexander Suhoverhov +# Contributor (Parabola): André Silva + +pkgname=xonotic-data +pkgver=0.5.0 +pkgrel=1 +pkgdesc="A free, fast-paced crossplatform first-person shooter (data files)" +arch=('any') +url="http://xonotic.org" +license=('GPL') +depends=() +makedepends=('unzip') +source=("http://dl.xonotic.org/xonotic-${pkgver}.zip") +md5sums=('cdadb384ccf9cad926bb377312832c2f') + +build() { + cd $srcdir/Xonotic/source/darkplaces +} + +package() { + cd $srcdir/Xonotic + + # data + mkdir -p $pkgdir/usr/share/xonotic/ + mv $srcdir/Xonotic/data $pkgdir/usr/share/xonotic/ +} +# vim: ts=2:sw=2 et: diff --git a/~emulatorman/xonotic/PKGBUILD b/~emulatorman/xonotic/PKGBUILD new file mode 100644 index 000000000..236474d3d --- /dev/null +++ b/~emulatorman/xonotic/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Alexander Suhoverhov +# Contributor (Parabola): André Silva + +pkgname=xonotic +pkgver=0.5.0 +pkgrel=1 +pkgdesc="A free, fast-paced crossplatform first-person shooter" +arch=('i686' 'x86_64') +url="http://xonotic.org" +license=('GPL') +depends=('alsa-lib' 'curl' 'libjpeg>=8' 'libmodplug' 'libvorbis' 'libxpm' 'libxxf86dga' 'libxxf86vm' 'sdl' 'libpng>=1.4.0' 'xonotic-data') +makedepends=('unzip' 'mesa') +source=("http://dl.xonotic.org/xonotic-${pkgver}-source.zip" + "xonotic-glx.desktop" + "xonotic-sdl.desktop") +md5sums=('7382f195386b8e51df65e57e6be413e5' + '914c7b9163e92b35f0ab57fdb1653ac5' + 'da7d812ff231c9332cd694b39757adda') + +build() { + # compile Xonotic-flavored fteqcc + #make -C Xonotic/source/fteqcc + + # compile QuakeC game code + #( cd Xonotic/source/qcsrc/server && ../../fteqcc/fteqcc.bin -O3 -Ono-c -Ono-cs ) + #( cd Xonotic/source/qcsrc/client && ../../fteqcc/fteqcc.bin -O3 -Ono-c -Ono-cs ) + #( cd Xonotic/source/qcsrc/menu && ../../fteqcc/fteqcc.bin -O3 -Ono-c -Ono-cs ) + + # compile engine + make -C Xonotic/source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 cl-release + make -C Xonotic/source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 sdl-release + make -C Xonotic/source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 sv-release +} + +package() { + cd $srcdir/Xonotic + + # binaries + install -Dm755 source/darkplaces/darkplaces-dedicated $pkgdir/usr/bin/xonotic-dedicated + install -Dm755 source/darkplaces/darkplaces-glx $pkgdir/usr/bin/xonotic-glx + install -Dm755 source/darkplaces/darkplaces-sdl $pkgdir/usr/bin/xonotic-sdl + + # convenience files + mkdir -p $pkgdir/usr/share/applications + install -Dm644 $srcdir/*.desktop -t $pkgdir/usr/share/applications + install -Dm644 $srcdir/Xonotic/misc/logos/icons_png/xonotic_512.png $pkgdir/usr/share/pixmaps/xonotic.png +} + +# vim: ts=2:sw=2 et: diff --git a/~emulatorman/xonotic/xonotic-glx.desktop b/~emulatorman/xonotic/xonotic-glx.desktop new file mode 100644 index 000000000..9f9e78cc1 --- /dev/null +++ b/~emulatorman/xonotic/xonotic-glx.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Version=2.5 +Encoding=UTF-8 +Name=Xonotic (GLX) +Comment=a free open-source first person shooter +Icon=/usr/share/pixmaps/xonotic.png +Exec=/usr/bin/xonotic-glx +Terminal=false +StartupNotify=false +Categories=Game; diff --git a/~emulatorman/xonotic/xonotic-sdl.desktop b/~emulatorman/xonotic/xonotic-sdl.desktop new file mode 100644 index 000000000..32b37f2c5 --- /dev/null +++ b/~emulatorman/xonotic/xonotic-sdl.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Version=2.5 +Encoding=UTF-8 +Name=Xonotic (SDL) +Comment=a free open-source first person shooter +Icon=/usr/share/pixmaps/xonotic.png +Exec=/usr/bin/xonotic-sdl +Terminal=false +StartupNotify=false +Categories=Game; -- cgit v1.2.3