From 3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Oct 2012 01:37:15 -0700 Subject: Tue Oct 23 01:37:02 PDT 2012 --- community-staging/cegui/PKGBUILD | 14 +-- community-staging/converseen/PKGBUILD | 32 +++++++ community-staging/converseen/converseen.install | 11 +++ community-staging/cuneiform/PKGBUILD | 36 +++++++ community-staging/darktable/PKGBUILD | 11 ++- community-staging/freewrl/PKGBUILD | 17 ++-- community-staging/gmic/PKGBUILD | 58 ++++++++++++ community-staging/gmic/opencv-buildfix.patch | 32 +++++++ community-staging/gource/PKGBUILD | 4 +- community-staging/megaglest/PKGBUILD | 41 ++++++++ community-staging/megaglest/lol.patch | 43 +++++++++ community-staging/openimageio/PKGBUILD | 16 ++-- community-staging/rss-glx/PKGBUILD | 7 +- community-staging/sfml/PKGBUILD | 38 ++++++++ community-staging/sfml/sfml.install | 3 + community-staging/spring/PKGBUILD | 28 +++--- community-staging/spring/spring.install | 12 +++ community-staging/xbmc/ChangeLog | 69 ++++++++++++++ community-staging/xbmc/PKGBUILD | 120 ++++++++++++++++++++++++ community-staging/xbmc/xbmc.install | 16 ++++ community-staging/xbmc/xbmc.service | 13 +++ 21 files changed, 570 insertions(+), 51 deletions(-) create mode 100644 community-staging/converseen/PKGBUILD create mode 100644 community-staging/converseen/converseen.install create mode 100644 community-staging/cuneiform/PKGBUILD create mode 100644 community-staging/gmic/PKGBUILD create mode 100644 community-staging/gmic/opencv-buildfix.patch create mode 100644 community-staging/megaglest/PKGBUILD create mode 100644 community-staging/megaglest/lol.patch create mode 100644 community-staging/sfml/PKGBUILD create mode 100644 community-staging/sfml/sfml.install create mode 100644 community-staging/spring/spring.install create mode 100644 community-staging/xbmc/ChangeLog create mode 100644 community-staging/xbmc/PKGBUILD create mode 100644 community-staging/xbmc/xbmc.install create mode 100644 community-staging/xbmc/xbmc.service (limited to 'community-staging') diff --git a/community-staging/cegui/PKGBUILD b/community-staging/cegui/PKGBUILD index b76a4e5e7..18759cd5f 100644 --- a/community-staging/cegui/PKGBUILD +++ b/community-staging/cegui/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 73583 2012-07-10 18:04:30Z svenstaro $ +# $Id: PKGBUILD 78692 2012-10-22 21:30:12Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Juergen Hoetzel # Contributor: William Rea , # Contributor: Bjorn Lindeijer pkgname=cegui -pkgver=0.7.6 -pkgrel=4 +pkgver=0.7.7 +pkgrel=2 pkgdesc="A free library providing windowing and widgets for graphics APIs/engines" arch=('i686' 'x86_64') url="http://crayzedsgui.sourceforge.net" @@ -18,16 +18,12 @@ optdepends=("python2: python bindings" "ogre: ogre module" "irrlicht: irrlicht module") options=(!libtool) -source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz - cegui-0.7.6-python-detection.patch) -md5sums=('7ddb5145dc94fb7daf9aea1d30a6ffa3' - '4600775f78b7349621a8a314ade8c902') +source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz) +md5sums=('8b83577f86eaa1581765dd155c7c8f24') build() { cd $srcdir/CEGUI-${pkgver} - patch -Np0 < $srcdir/cegui-0.7.6-python-detection.patch - ./bootstrap ./configure --prefix=/usr \ diff --git a/community-staging/converseen/PKGBUILD b/community-staging/converseen/PKGBUILD new file mode 100644 index 000000000..8712b24c1 --- /dev/null +++ b/community-staging/converseen/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 78710 2012-10-23 01:14:53Z ebelanger $ +# Maintainer: Giovanni Scafora +# Contributor: archtux + +pkgname=converseen +pkgver=0.5.1 +pkgrel=2 +pkgdesc="The batch image converter and resizer" +arch=('i686' 'x86_64') +url="http://converseen.sourceforge.net/" +license=('GPL3') +depends=('imagemagick' 'qt' 'libwmf' 'openexr') +makedepends=('cmake') +install=converseen.install +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2") +md5sums=('db00c0cf86977494effa971fd238c786') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}/build" + + make DESTDIR="${pkgdir}" install +} diff --git a/community-staging/converseen/converseen.install b/community-staging/converseen/converseen.install new file mode 100644 index 000000000..9af7fa81f --- /dev/null +++ b/community-staging/converseen/converseen.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community-staging/cuneiform/PKGBUILD b/community-staging/cuneiform/PKGBUILD new file mode 100644 index 000000000..8e94e925b --- /dev/null +++ b/community-staging/cuneiform/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 78628 2012-10-22 10:49:00Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Maxim Vuets + +pkgname=cuneiform +pkgver=1.1.0 +_dpkgver=1.1 +pkgrel=4 +pkgdesc="Linux port of an OCR system developed in Russia. Supports more than 20 languages." +arch=('i686' 'x86_64') +url="https://launchpad.net/cuneiform-linux" +license=('BSD') +depends=('imagemagick') +makedepends=('cmake') +source=(http://launchpad.net/cuneiform-linux/${_dpkgver}/${_dpkgver}/+download/cuneiform-linux-${pkgver}.tar.bz2) +md5sums=('09fd160cdfc512f26442a7e91246598d') + +_SRC_ROOT="${srcdir}/${pkgname}-linux-${pkgver}" + +build() { + cd "${_SRC_ROOT}" + sed -i 's#lib64#lib#' install_files.cmake + mkdir builddir + cd builddir + + cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "${_SRC_ROOT}"/builddir + make DESTDIR="${pkgdir}" install + + install -Dm644 "${_SRC_ROOT}/cuneiform_src/Kern/license.txt" \ + "${pkgdir}/usr/share/licenses/cuneiform/license.txt" +} diff --git a/community-staging/darktable/PKGBUILD b/community-staging/darktable/PKGBUILD index 404ccda05..3548f4fed 100644 --- a/community-staging/darktable/PKGBUILD +++ b/community-staging/darktable/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 74554 2012-07-30 14:07:01Z spupykin $ +# $Id: PKGBUILD 78630 2012-10-22 10:52:27Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Christian Himpel # Contributor: Johannes Hanika @@ -6,7 +6,7 @@ pkgname=darktable pkgver=1.0.5 _pkgver=1.0 -pkgrel=2 +pkgrel=4 pkgdesc="Utility to organize and develop raw images" arch=('i686' 'x86_64') url=http://darktable.sf.net/ @@ -22,8 +22,9 @@ source=(http://downloads.sourceforge.net/project/darktable/darktable/${_pkgver}/ md5sums=('9ad88a1a6b9761fce28c8073d8f47941') build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" # mv doc/usermanual/CMakeLists.tx doc/usermanual/CMakeLists.txt + sed -i 's/-Werror//' src/CMakeLists.txt mkdir -p build cd build cmake \ @@ -38,8 +39,8 @@ build() { } package() { - cd $srcdir/$pkgname-$pkgver/build - make DESTDIR=$pkgdir install + cd "$srcdir/$pkgname-$pkgver/build" + make DESTDIR="$pkgdir" install mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}" # mkdir -p "${pkgdir}/usr/share/gconf/schemas/" # mv "${pkgdir}/etc/gconf/schemas/darktable.schemas" "${pkgdir}/usr/share/gconf/schemas/" diff --git a/community-staging/freewrl/PKGBUILD b/community-staging/freewrl/PKGBUILD index 754a4dbf1..3099fb0ce 100644 --- a/community-staging/freewrl/PKGBUILD +++ b/community-staging/freewrl/PKGBUILD @@ -1,25 +1,26 @@ -# $Id: PKGBUILD 74429 2012-07-28 09:52:22Z spupykin $ +# $Id: PKGBUILD 78632 2012-10-22 11:20:36Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Sergej Pupykin pkgname=freewrl -pkgver=1.22.13 -pkgrel=2 +pkgver=1.22.13.1 +_pkgver=1.22.13 +pkgrel=3 pkgdesc="VRML viewer" arch=('i686' 'x86_64') url="http://freewrl.sourceforge.net/" license=('GPL') depends=('java-runtime' 'libxaw' 'glew' 'freeglut' 'curl' 'freetype2' 'imlib2' 'sox' - 'unzip' 'imagemagick' 'libxml2' 'ttf-bitstream-vera' 'lesstif' 'js') -makedepends=('java-environment' 'xulrunner') + 'unzip' 'imagemagick' 'libxml2' 'ttf-bitstream-vera' 'lesstif' 'js' 'glu') +makedepends=('java-environment' 'xulrunner' 'wget' 'mesa') options=(!libtool) source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2) -md5sums=('7e432c7a9eb5d00497d34d93e2b4d420') +md5sums=('27f4bf163011d8ac2088a535cb58a13d') build() { . /etc/profile.d/jre.sh . /etc/profile.d/jdk.sh - cd $srcdir/$pkgname-$pkgver + cd $srcdir/$pkgname-${_pkgver} export JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX -DJS_THREADSAFE $(pkg-config --cflags nspr)" export JAVASCRIPT_ENGINE_LIBS="$(pkg-config --libs nspr) -lmozjs185" ./configure \ @@ -31,6 +32,6 @@ build() { } package() { - cd $srcdir/$pkgname-$pkgver + cd $srcdir/$pkgname-${_pkgver} make DESTDIR=$pkgdir install } diff --git a/community-staging/gmic/PKGBUILD b/community-staging/gmic/PKGBUILD new file mode 100644 index 000000000..f45bf8391 --- /dev/null +++ b/community-staging/gmic/PKGBUILD @@ -0,0 +1,58 @@ +# $Id: PKGBUILD 78634 2012-10-22 11:21:17Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Jan "heftig" Steffens +# Contributor: farid +# Contributor: Archie + +pkgbase=gmic +pkgname=("gmic" "gimp-plugin-gmic" "zart") +pkgver=1.5.1.8 +pkgrel=4 +arch=("i686" "x86_64") +url="http://gmic.sourceforge.net" +license=("custom:CeCILL") +makedepends=("gimp" "qt" "fftw" "openexr" "opencv") +#options=('!emptydirs') +source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz" + "opencv-buildfix.patch") +md5sums=('1fc38346269bdd829dd7c4864a27fbc3' + '8d1cf5000239099255d25c7d3dbe5728') + +build() { + cd "${srcdir}/gmic-${pkgver}" + patch -p1 -i "${srcdir}/opencv-buildfix.patch" + find "${srcdir}/gmic-${pkgver}/zart" -type f -execdir chmod 644 '{}' \; + find "${srcdir}/gmic-${pkgver}/zart" -type d -execdir chmod 755 '{}' \; + make -C src all +} + +package_gmic() { + pkgdesc="GREYC's Magic Image Converter: image processing framework" + depends=("fftw" "libtiff" "libjpeg" "libpng" "openexr" "libx11") + replaces=("greycstoration") + + cd "${srcdir}/gmic-${pkgver}" + make -C src install DESTDIR="$pkgdir" USR="/usr" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -rf "${pkgdir}/usr/"{bin/zart,lib/gimp,share/zart} +} + +package_zart() { + pkgdesc="A GUI for G'MIC real-time manipulations on the output of a webcam" + depends=("opencv" "fftw" "qt") + + cd "${srcdir}/gmic-${pkgver}" + make -C src install DESTDIR="$pkgdir" USR="/usr" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -rf "${pkgdir}/usr/"{bin/gmic,include,lib,share/{man,bash-completion}} +} + +package_gimp-plugin-gmic() { + pkgdesc="Gimp plugin for the G'MIC image processing framework" + depends=("gimp" "fftw") + replaces=("gimp-plugin-greycstoration" "gimp-plugin-gmic4gimp") + + cd "${srcdir}/gmic-${pkgver}" + install -Dm755 src/gmic_gimp "${pkgdir}/usr/lib/gimp/2.0/plug-ins/gmic_gimp" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/community-staging/gmic/opencv-buildfix.patch b/community-staging/gmic/opencv-buildfix.patch new file mode 100644 index 000000000..b204cb721 --- /dev/null +++ b/community-staging/gmic/opencv-buildfix.patch @@ -0,0 +1,32 @@ +diff -wbBur gmic-1.5.1.7/src/Makefile gmic-1.5.1.7.q/src/Makefile +--- gmic-1.5.1.7/src/Makefile 2012-07-26 12:59:34.000000000 +0400 ++++ gmic-1.5.1.7.q/src/Makefile 2012-08-03 14:03:10.000000000 +0400 +@@ -296,7 +296,7 @@ + + zart: lib + ifneq ($(OS),Darwin) +- cd ../zart && qmake-qt4 zart.pro && $(MAKE) && strip zart ++ cd ../zart && qmake zart.pro && $(MAKE) && strip zart + else + cd ../zart && qmake zart.pro && $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_MACOSX_LDFLAGS) $(OPT_LDFLAGS)" + endif +@@ -403,6 +403,7 @@ + mkdir -p $(DESTDIR)$(USR)/share/man/fr/man1/ + cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz + cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz ++ if test -d /usr/share/bash-completion/completions; then mkdir -p $(DESTDIR)/usr/share/bash-completion/completions/; cp -f gmic_bashcompletion.sh $(DESTDIR)/usr/share/bash-completion/completions/gmic; fi + if test -d /etc/bash_completion.d/; then mkdir -p $(DESTDIR)/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/etc/bash_completion.d/gmic; fi + if test -d /opt/local/etc/bash_completion.d/; then mkdir -p $(DESTDIR)/opt/local/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic; fi + +diff -wbBur gmic-1.5.1.7/zart/zart.pro gmic-1.5.1.7.q/zart/zart.pro +--- gmic-1.5.1.7/zart/zart.pro 2012-07-26 12:59:33.000000000 +0400 ++++ gmic-1.5.1.7.q/zart/zart.pro 2012-08-03 12:32:27.000000000 +0400 +@@ -34,7 +34,7 @@ + FORMS = ui/MainWindow.ui ui/DialogAbout.ui ui/DialogLicence.ui + + !macx { +- LIBS += -lX11 ../src/libgmic.a -lcxcore -lcv -lml -lhighgui -lml -lfftw3 ++ LIBS += -lX11 ../src/libgmic.a `pkg-config --libs opencv` -lopencv_core -lopencv_ml -lopencv_highgui -lfftw3 + } else { + LIBS += -lX11 ../src/libgmic.a `pkg-config opencv --libs` -lfftw3 + } diff --git a/community-staging/gource/PKGBUILD b/community-staging/gource/PKGBUILD index bb61c0e40..05dc9af51 100644 --- a/community-staging/gource/PKGBUILD +++ b/community-staging/gource/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 74461 2012-07-29 03:22:52Z svenstaro $ +# $Id: PKGBUILD 78702 2012-10-22 23:36:06Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Jose Valecillos # Contributor: Olivier Ramonat pkgname=gource pkgver=0.38 -pkgrel=3 +pkgrel=5 pkgdesc="software version control visualization" license=(GPL3) arch=(i686 x86_64) diff --git a/community-staging/megaglest/PKGBUILD b/community-staging/megaglest/PKGBUILD new file mode 100644 index 000000000..4c51617d4 --- /dev/null +++ b/community-staging/megaglest/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 78704 2012-10-22 23:38:03Z ebelanger $ +# Maintainer: Sven-Hendrik Haase +# Contributor: Larry Hajali + +pkgname=megaglest +pkgver=3.6.0.3 +pkgrel=5 +pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world." +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/megaglest/" +license=('GPL3') +depends=('curl' 'megaglest-data' 'xerces-c' 'sdl' 'libvorbis' 'openal' 'libgl' 'lua' 'icu' 'ftgl' 'glew' +'libircclient' 'miniupnpc' 'wxgtk' 'glu') +makedepends=('ftjam' 'cmake' 'mesa') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.tar.xz" + lol.patch) +md5sums=('5a4a2429435031d9f9cc5d9535a9de9d' + '68fd326b73ed1c75981004fbdef6b73a') + +build() { + cd "${srcdir}"/"${pkgname}"-"${pkgver}"/ + + patch -Np1 < "$srcdir/lol.patch" + + [[ -d build ]] && rm -r build + mkdir build && cd build + cmake .. \ + -DWANT_SVN_STAMP=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version + make +} + +package() { + cd "${srcdir}"/"${pkgname}"-"${pkgver}"/ + + cd build + make DESTDIR="$pkgdir" install +} + +# vim: sw=2:ts=2 et: diff --git a/community-staging/megaglest/lol.patch b/community-staging/megaglest/lol.patch new file mode 100644 index 000000000..56f94c852 --- /dev/null +++ b/community-staging/megaglest/lol.patch @@ -0,0 +1,43 @@ +diff --git a/source/shared_lib/include/graphics/math_util.h b/source/shared_lib/include/graphics/math_util.h +index 8fcfb27..3cb7a41 100644 +--- a/source/shared_lib/include/graphics/math_util.h ++++ b/source/shared_lib/include/graphics/math_util.h +@@ -184,10 +184,10 @@ public: + + Rect2 computeBoundingRect() const{ + return Rect2i( +- min(p[0].x, p[1].x), +- min(p[0].y, p[2].y), +- max(p[2].x, p[3].x), +- max(p[1].y, p[3].y)); ++ std::min(p[0].x, p[1].x), ++ std::min(p[0].y, p[2].y), ++ std::max(p[2].x, p[3].x), ++ std::max(p[1].y, p[3].y)); + } + + bool isInside(const Vec2 &pt) const{ +diff --git a/source/shared_lib/sources/platform/posix/ircclient.cpp b/source/shared_lib/sources/platform/posix/ircclient.cpp +index b09c972..ddebd03 100644 +--- a/source/shared_lib/sources/platform/posix/ircclient.cpp ++++ b/source/shared_lib/sources/platform/posix/ircclient.cpp +@@ -13,6 +13,7 @@ + #include "ircclient.h" + #include "util.h" + #include "platform_common.h" ++#include "libirc_rfcnumeric.h" + #include "libircclient.h" + + #include +diff --git a/source/shared_lib/sources/util/util.cpp b/source/shared_lib/sources/util/util.cpp +index 05478fc..c27aa62 100644 +--- a/source/shared_lib/sources/util/util.cpp ++++ b/source/shared_lib/sources/util/util.cpp +@@ -19,6 +19,7 @@ + #include + #include + #include // for open() ++#include + + #ifdef WIN32 + #include // for open() diff --git a/community-staging/openimageio/PKGBUILD b/community-staging/openimageio/PKGBUILD index ea6bbd54a..7fe4972b7 100644 --- a/community-staging/openimageio/PKGBUILD +++ b/community-staging/openimageio/PKGBUILD @@ -1,36 +1,34 @@ -# $Id: PKGBUILD 73518 2012-07-09 01:05:28Z svenstaro $ +# $Id: PKGBUILD 78698 2012-10-22 22:44:01Z ebelanger $ # Contributor: SpepS # Maintainer: Sven-Hendrik Haase pkgname=openimageio -pkgver=1.0.6 -pkgrel=1 +pkgver=1.0.9 +pkgrel=4 pkgdesc="A library for reading and writing images, including classes, utilities, and applications." arch=(i686 x86_64) url="http://www.openimageio.org/" license=('custom') depends=('openexr' 'boost-libs' 'jasper' 'glew') -makedepends=('cmake' 'qt' 'python2' 'boost') +makedepends=('cmake' 'qt' 'python2' 'boost' 'mesa') optdepends=('qt: iv image viewer' 'python2: bindings support') source=(https://github.com/OpenImageIO/oiio/tarball/Release-$pkgver) -md5sums=('fa6e3f4be98d8e1868b389410b56563a') +md5sums=('4b98a057515cc95fc954743c987f19ba') build() { cd "$srcdir"/$_pkgname*/src [[ -d build ]] && rm -r build mkdir build && cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr .. + cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYLIB_INSTALL_DIR=lib/python2.7/site-packages .. make } package() { cd "$srcdir"/$_pkgname*/src/build - make DESTDIR=$pkgdir install - - mv $pkgdir/usr/lib/python $pkgdir/usr/lib/python2.7 + make DESTDIR="$pkgdir" install # license cd ../.. diff --git a/community-staging/rss-glx/PKGBUILD b/community-staging/rss-glx/PKGBUILD index 92714fa2b..adf2bfcff 100644 --- a/community-staging/rss-glx/PKGBUILD +++ b/community-staging/rss-glx/PKGBUILD @@ -1,16 +1,17 @@ -# $Id: PKGBUILD 74431 2012-07-28 09:53:08Z spupykin $ +# $Id: PKGBUILD 78636 2012-10-22 11:22:11Z spupykin $ # Maintainer : Ionut Biru # Contributor: Corrado 'bardo' Primier # Contributor: Tate "Tatey" Johnson pkgname=rss-glx pkgver=0.9.1 -pkgrel=9 +pkgrel=12 pkgdesc="The Really Slick Screensavers port to GLX" arch=('i686' 'x86_64') url="http://rss-glx.sourceforge.net/" license=('GPL') -depends=('desktop-file-utils' 'freealut' 'glew' 'imagemagick') +depends=('desktop-file-utils' 'freealut' 'glew' 'imagemagick' 'glu') +makedepends=('mesa') optdepends=('xscreensaver: xscreensaver integration') install=rss-glx.install options=('!libtool') diff --git a/community-staging/sfml/PKGBUILD b/community-staging/sfml/PKGBUILD new file mode 100644 index 000000000..c59465784 --- /dev/null +++ b/community-staging/sfml/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 78696 2012-10-22 22:13:12Z ebelanger $ +# Maintainer: Sven-Hendrik Haase +# Contributor: Ondrej Martinak + +pkgname=sfml +pkgver=2.0rc1 +pkgrel=3 +pkgdesc='A simple, fast, cross-platform, and object-oriented multimedia API' +arch=('i686' 'x86_64') +url='http://www.sfml-dev.org/' +license=('zlib') +depends=('libsndfile' 'libxrandr' 'libjpeg' 'openal' 'glew' 'freetype2') +makedepends=('mesa' 'cmake' 'doxygen') +install=sfml.install +source=("2.0-rc.tar.gz::https://github.com/LaurentGomila/SFML/tarball/2.0-rc") +md5sums=('03c8e6817f4525092b94a3d44e8eada8') + +build() { + cd "$srcdir"/Laurent* + + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. \ + -DBUILD_DOC=true \ + -DBUILD_EXAMPLES=true + make + make doc +} + +package() { + cd "$srcdir"/Laurent*/build + + make DESTDIR="$pkgdir/" install + + install -Dm644 "$pkgdir/usr/share/SFML/cmake/Modules/FindSFML.cmake" "$pkgdir/usr/share/cmake-2.8/Modules/FindSFML.cmake" + + install -Dm644 ../license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/community-staging/sfml/sfml.install b/community-staging/sfml/sfml.install new file mode 100644 index 000000000..75f760be6 --- /dev/null +++ b/community-staging/sfml/sfml.install @@ -0,0 +1,3 @@ +post_install() { + echo "To view the SFML samples, go to /usr/share/SFML/examples/ and run them individually" +} diff --git a/community-staging/spring/PKGBUILD b/community-staging/spring/PKGBUILD index 654885736..9dc8d199f 100644 --- a/community-staging/spring/PKGBUILD +++ b/community-staging/spring/PKGBUILD @@ -1,25 +1,24 @@ -# $Id: PKGBUILD 73670 2012-07-13 06:44:56Z svenstaro $ +# $Id: PKGBUILD 78694 2012-10-22 21:41:06Z ebelanger $ # Maintainer: Sven-Hendrik Haase # Contributor: Arkham # Contributor: Christoph Zeiler pkgname=spring -pkgver=0.89.0 -_pkgver=89.0 -pkgrel=1 +pkgver=0.91.0 +_pkgver=91.0 +pkgrel=3 pkgdesc='A free 3D real-time-strategy (RTS) game engine' arch=('i686' 'x86_64') url="http://springrts.com/" license=('GPL') depends=('openal' 'glew' 'boost-libs' 'freetype2' 'devil' 'libvorbis' 'sdl' - 'libxcursor') -makedepends=('boost' 'cmake' 'zip' 'xz' 'p7zip' 'python2' 'java-environment') + 'libxcursor' 'curl' 'shared-mime-info' 'desktop-file-utils') +makedepends=('boost' 'cmake' 'zip' 'xz' 'p7zip' 'python2' 'java-environment' 'mesa') optdepends=('python2: python-based bots' 'java-runtime: java-based bots') -source=(http://downloads.sourceforge.net/sourceforge/springrts/${pkgname}_${_pkgver}_src.tar.lzma - boost-1.50.patch) -md5sums=('36fc266e925bc3790a68bf1bc7ebb315' - 'a3c3b4a53eeb499090b027fd6b3cf848') +install=spring.install +source=(http://downloads.sourceforge.net/sourceforge/springrts/${pkgname}_${_pkgver}_src.tar.lzma) +md5sums=('8849ace38f2ae20dc100b9d0a8d743e9') build() { bsdtar -xf ${pkgname}_${_pkgver}_src.tar.lzma @@ -27,21 +26,20 @@ build() { cd spring_${_pkgver} sed "s/TIME_UTC/TIME_UTC_/g" -i AI/Skirmish/E323AI/CScopedTimer.h - patch -Np1 < $srcdir/boost-1.50.patch cmake . \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DDATADIR=share/spring + -DDATADIR=share/spring -DCMAKE_SKIP_RPATH:BOOL=YES make } package() { cd spring_${_pkgver} - make DESTDIR=$pkgdir install + make DESTDIR="$pkgdir" install - install -d $pkgdir/etc/spring - echo '$HOME/.spring' > $pkgdir/etc/spring/datadir + install -d "$pkgdir/etc/spring" + echo '$HOME/.spring' > "$pkgdir/etc/spring/datadir" } # vim sw=2:ts=2 et: diff --git a/community-staging/spring/spring.install b/community-staging/spring/spring.install new file mode 100644 index 000000000..41f09f887 --- /dev/null +++ b/community-staging/spring/spring.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community-staging/xbmc/ChangeLog b/community-staging/xbmc/ChangeLog new file mode 100644 index 000000000..66ae97e3b --- /dev/null +++ b/community-staging/xbmc/ChangeLog @@ -0,0 +1,69 @@ +2010-04-10 BlackEagle + * 9.11-15 : + Made it back compliant with FHS ( thx pierre for pointing that out ) + namcap checked and modified to fit its needs as far as it was possible + +2009-03-07 [vEX] + + * 8.10-10 : + Try and fix some autoconf issues (thanks Gentoo ebuild). + +2009-02-08 [vEX] + + * 8.10-9 : + Replace some libtool 'ltmain.sh' scripts with the one from libtool + installed with Arch. + Make sure XBMCTex isn't linked to OpenGL libraries or it will segfault + on systems using the nvidia driver. + +2009-01-30 [vEX] + + * 8.10-8 : + Fix some include's so that gcc 4.3.x is happy, shouldn't complain about + undefined '::realloc' anymore. + Remove Mac OS X specific files. + +2009-01-25 [vEX] + + * 8.10-7 : + Moved libcdio, pmount, smbclient and unrar to optdepends. + Removed unneeded dependency on sdl_gfx. + Removed dependency on libpng as sdl_image depends on it. + +2008-12-14 [vEX] + + * 8.10-6 : + Added libpng to dependency list. + Added gawk to dependency list. + Removed '--disable-mms' and '--enable-halmount' configure flags as they + are not mentioned as supported in the configure script. + +2008-12-06 [vEX] + + * 8.10-5 : + Added libmad to the dependency list. + Streamripper 1.64.0+ does not include tre anymore, removed streamripper + and added tre instead. + Removed subversion from makedepends. + +2008-12-06 [vEX] + + * 8.10-4 : + Fix permissions for some more scripts, ffmpeg/texi2doc.pl should not + fail any longer. + +2008-12-05 [vEX] + + * 8.10-3 : + Added lirc to the optdepends array. + +2008-11-26 [vEX] + + * 8.10-2 : + Added install file which informs users that a display depth of at + least 24-bit is required. + +2008-11-17 [vEX] + + * 8.10-1 : + Initial package, based on previous work by Zeqadious. diff --git a/community-staging/xbmc/PKGBUILD b/community-staging/xbmc/PKGBUILD new file mode 100644 index 000000000..b76b374cc --- /dev/null +++ b/community-staging/xbmc/PKGBUILD @@ -0,0 +1,120 @@ +# $Id: PKGBUILD 78638 2012-10-22 11:38:41Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Brad Fanella +# Contributor: [vEX] +# Contributor: Zeqadious +# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com > + +_prefix=/usr + +pkgname=xbmc +pkgver=11.0 +pkgrel=10 +pkgdesc="A software media player and entertainment hub for digital media" +arch=('i686' 'x86_64') +url="http://xbmc.org" +license=('GPL' 'custom') +depends=('libpulse' 'hicolor-icon-theme' 'fribidi' 'lzo2' 'smbclient' 'libtiff' 'libva' + 'libpng' 'libcdio' 'yajl' 'libmysqlclient' 'libjpeg-turbo' 'libsamplerate' + 'glew' 'libssh' 'libmicrohttpd' 'libxrandr' 'sdl_mixer' 'sdl_image' 'python2' + 'libass' 'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'unzip' 'mesa-demos' + 'xorg-xdpyinfo' 'libbluray' 'libnfs' 'afpfs-ng' 'libshairport' 'avahi' 'bluez' 'glu') +makedepends=('boost' 'cmake' 'gperf' 'nasm' 'libxinerama' 'zip' 'libvdpau' 'libcec' + 'udisks' 'upower' 'bluez' 'mesa') +optdepends=('libcec: support for Pulse-Eight USB-CEC adapter' + 'vdpau-video: accelerated video playback for nvidia cards' + 'xvba-video: accelerated video playback for amd cards' + 'pulseaudio: pulseaudio support' + 'lirc: remote controller support' + 'udisks: automount external drives' + 'upower: used to trigger suspend functionality' + 'unrar: access compressed files without unpacking them' + 'xorg-xinit: autostart xbmc') +install="${pkgname}.install" +source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz" + "xbmc.service") +sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19') +sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19') +sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19' + '395ca1afd3430ad66239bafbffde0eedf9c43409b77f65341ef387f09cd65588') +sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19' + '75ae8eb37e334ae1383bf897b08dd5f70df12d79ce46cdbe4a7e0d3c82bce3af') +sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19' + '75ae8eb37e334ae1383bf897b08dd5f70df12d79ce46cdbe4a7e0d3c82bce3af') +sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19' + '75ae8eb37e334ae1383bf897b08dd5f70df12d79ce46cdbe4a7e0d3c82bce3af') + +build() { + cd "${srcdir}/xbmc-$pkgver" + + # fix lsb_release dependency + sed -i -e 's:/usr/bin/lsb_release -d:cat /etc/arch-release:' xbmc/utils/SystemInfo.cpp + + # Bootstrapping XBMC + ./bootstrap + + # Configuring XBMC + export PYTHON_VERSION=2 # external python v2 + ./configure --prefix=$_prefix --exec-prefix=$_prefix \ + --disable-debug \ + --enable-optimizations \ + --enable-gl \ + --enable-sdl \ + --enable-vaapi \ + --enable-vdpau \ + --enable-xvba \ + --enable-joystick \ + --enable-xrandr \ + --enable-rsxs \ + --enable-projectm \ + --enable-x11 \ + --enable-pulse \ + --enable-rtmp \ + --enable-samba \ + --enable-nfs \ + --enable-afpclient \ + --enable-airplay \ + --enable-airtunes \ + --enable-ffmpeg-libvorbis \ + --enable-dvdcss \ + --disable-hal \ + --enable-avahi \ + --enable-webserver \ + --enable-optical-drive \ + --enable-libbluray \ + --enable-texturepacker \ + --enable-udev \ + --enable-libusb \ + --enable-libcec \ + --enable-external-libraries \ + --disable-external-ffmpeg + # Now (finally) build + make +} + +package() { + cd "${srcdir}/xbmc-$pkgver" + # Running make install + make DESTDIR="${pkgdir}" install + + # run feh with python2 + sed -i -e 's/python/python2/g' ${pkgdir}${_prefix}/bin/xbmc + + # lsb_release fix + sed -i -e 's/which lsb_release &> \/dev\/null/\[ -f \/etc\/arch-release ]/g' "${pkgdir}${_prefix}/bin/xbmc" + sed -i -e "s/lsb_release -a 2> \/dev\/null | sed -e 's\/\^\/ \/'/cat \/etc\/arch-release/g" "${pkgdir}${_prefix}/bin/xbmc" + + # Tools + install -D -m 0755 "${srcdir}/xbmc-$pkgver/xbmc-xrandr" "${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr" + install -D -m 0755 "${srcdir}/xbmc-$pkgver/tools/TexturePacker/TexturePacker" "${pkgdir}${_prefix}/share/xbmc/" + + # Licenses + install -d -m 0755 "${pkgdir}${_prefix}/share/licenses/${pkgname}" + for licensef in LICENSE.GPL copying.txt; do + mv "${pkgdir}${_prefix}/share/doc/xbmc/${licensef}" "${pkgdir}${_prefix}/share/licenses/${pkgname}" + done + + # systemd stuff + install -Dm0644 $srcdir/xbmc.service $pkgdir/usr/lib/systemd/system/xbmc.service +} +# vim:set ts=2 sw=2 et: diff --git a/community-staging/xbmc/xbmc.install b/community-staging/xbmc/xbmc.install new file mode 100644 index 000000000..a3ae3d0d8 --- /dev/null +++ b/community-staging/xbmc/xbmc.install @@ -0,0 +1,16 @@ +post_install() { + [[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor + [[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications + groupadd xbmc + useradd -G xbmc -d /var/empty xbmc +} + +post_upgrade() { + post_install $1 + echo "You may want to add xbmc user and group to use xbmc standalone" +} + +post_remove() { + post_install $1 + echo "You may want to remove xbmc user and group" +} diff --git a/community-staging/xbmc/xbmc.service b/community-staging/xbmc/xbmc.service new file mode 100644 index 000000000..b66e35c80 --- /dev/null +++ b/community-staging/xbmc/xbmc.service @@ -0,0 +1,13 @@ +[Unit] +Description = Starts instance of XBMC using xinit +After = remote-fs.target + +[Service] +User = xbmc +Group = xbmc +Type = simple +ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0 +Restart = on-failure + +[Install] +WantedBy = multi-user.target -- cgit v1.2.3-54-g00ecf