summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/ryzom-client/PKGBUILD42
-rw-r--r--pcr/ryzom-nel/PKGBUILD53
-rw-r--r--pcr/sfml-git/PKGBUILD64
-rw-r--r--pcr/sfml-git/arial.patch10
4 files changed, 74 insertions, 95 deletions
diff --git a/pcr/ryzom-client/PKGBUILD b/pcr/ryzom-client/PKGBUILD
deleted file mode 100644
index 74d999d29..000000000
--- a/pcr/ryzom-client/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname=('ryzom-client')
-pkgver=0.8.0
-pkgrel=6
-arch=('x86_64' 'i686')
-url="http://www.ryzom.com"
-license=('AGPL3')
-pkgdesc="An awesome free software 3D MMORPG game"
-depends=('ryzom-data' 'ryzom-nel' 'luabind')
-conflicts=('ryzom-client')
-groups=('ryzom')
-
-makedepends=('kervalasquish-hg' 'cmake' 'bison'
- 'lua' 'luabind' 'curl' 'libpng' 'libwww'
- 'boost' 'ryzom-nel')
-
-auser="shackra"
-achangeset="56d1642e24ac"
-
-source=("https://bitbucket.org/$auser/ryzom/get/$achangeset.tar.gz")
-
-build() {
- cd "$srcdir/$auser-ryzom-$achangeset/code"
- if [[ -d "ryzom-client" ]]; then
- rm -rf "ryzom-client"
- mkdir "ryzom-client"
- else
- mkdir "ryzom-client"
- fi
-
- cd "ryzom-client"
- cmake .. -Wno-dev -DFINAL_VERSION=ON -DWITH_RYZOM_CLIENT=ON -DWITH_LUA51=ON -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_LIBWWW_STATIC=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL=OFF -DCMAKE_INSTALL_PREFIX=/usr -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/bin -DWITH_SYMBOLS=ON
-
- make -j3
-}
-
-package() {
- cd "$srcdir/$auser-ryzom-$achangeset/code/$pkgname"
- make DESTDIR="$pkgdir" install
-}
-
-sha256sums=('0abcf7daa01dab27a3b9a9276e521369693963be3a25624b3195023495212bc2') \ No newline at end of file
diff --git a/pcr/ryzom-nel/PKGBUILD b/pcr/ryzom-nel/PKGBUILD
deleted file mode 100644
index f7dd7c580..000000000
--- a/pcr/ryzom-nel/PKGBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname='ryzom-nel'
-pkgver=0.8.0
-pkgrel=10
-arch=('x86_64' 'i686')
-conflicts=('ryzom-nel')
-groups=('ryzom')
-
-pkgdesc="An awesome free software 3D MMORPG game, NeL engine"
-url="http://www.ryzom.com"
-license=('AGPL3')
-depends=('freetype2'
- 'libx11'
- 'mesa'
- 'libxxf86vm'
- 'openal'
- 'freealut'
- 'libogg'
- 'libvorbis'
- 'libxml2'
- 'libjpeg'
- 'rrdtool' )
-makedepends=('cmake' 'bison' 'kervalasquish-hg')
-
-auser="shackra"
-achangeset="56d1642e24ac"
-
-source=("https://bitbucket.org/$auser/ryzom/get/$achangeset.tar.gz")
-
-build() {
- cd "$srcdir/$auser-ryzom-$achangeset/code"
-
- if [[ -d $pkgname ]]; then
- rm -rf $pkgname
- mkdir $pkgname
- else
- mkdir $pkgname
- fi
-
- cd $pkgname
-
- #CMAKE_USE_RELATIVE_PATHS=true
- cmake .. -Wno-dev -DWITH_RYZOM=OFF -DWITH_NEL_TESTS=OFF -DWITH_NEL=ON -DCMAKE_INSTALL_PREFIX=/usr -DNL_ETC_PREFIX=/etc/nel -DNL_DRIVER_PREFIX=/usr/lib/nel -DNL_SHARE_PREFIX=/usr/share/nel -DNL_BIN_PREFIX=/usr/bin -DNL_SBIN_PREFIX=/usr/sbin -DNL_LIB_PREFIX=/usr/lib/nel -DNL_DRIVER_PREFIX=/usr/lib/nel -DWITH_SYMBOLS=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON
-
- make -j3
-}
-
-package() {
- cd "$srcdir/$auser-ryzom-$achangeset/code/$pkgname"
- make DESTDIR="$pkgdir" install
-}
-
-sha256sums=('0abcf7daa01dab27a3b9a9276e521369693963be3a25624b3195023495212bc2')
diff --git a/pcr/sfml-git/PKGBUILD b/pcr/sfml-git/PKGBUILD
new file mode 100644
index 000000000..b5c9e61fb
--- /dev/null
+++ b/pcr/sfml-git/PKGBUILD
@@ -0,0 +1,64 @@
+# Maintainer: Ondrej Martinak <omartinak@gmail.com>
+# Contributor: Jorge Araya Navarro <jorgean@lavabit.com>
+
+pkgname=sfml-git
+pkgver=20120803
+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=('git' 'mesa' 'cmake' 'doxygen')
+conflicts=('sfml')
+provides=('sfml')
+source=("arial.patch")
+
+_gitroot='https://github.com/LaurentGomila/SFML.git'
+_gitname='SFML'
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [ -d $_gitname ] ; then
+ cd $_gitname && git pull origin
+ msg "The local files are updated."
+ else
+ git clone $_gitroot
+ cd $_gitname
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting make..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ #Applying the patch
+ cp "$srcdir/arial.patch" "$srcdir/$_gitname/src/$_gitname/"
+ cd "$srcdir/$_gitname/src/$_gitname/"
+ patch -p3 -i arial.patch
+
+ cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
+
+ mkdir build && cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSFML_BUILD_DOC=true \
+ -DSFML_BUILD_EXAMPLES=true
+ make
+ make doc
+}
+
+package() {
+ cd "$srcdir/$_gitname-build/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
+
+ make clean
+}
+
+sha256sums=('4a1a0991b45c93584405be7c7920d92ec95f39d2af533f6d09b0094e4110eae8')
diff --git a/pcr/sfml-git/arial.patch b/pcr/sfml-git/arial.patch
new file mode 100644
index 000000000..a9225065b
--- /dev/null
+++ b/pcr/sfml-git/arial.patch
@@ -0,0 +1,10 @@
+--- SFML-a/src/SFML/Graphics/CMakeLists.txt 2012-08-03 19:41:49.885910580 -0600
++++ SFML-b/src/SFML/Graphics/CMakeLists.txt 2012-08-03 19:42:53.578898858 -0600
+@@ -4,7 +4,6 @@
+
+ # all source files
+ set(SRC
+- ${SRCROOT}/Arial.hpp
+ ${INCROOT}/BlendMode.hpp
+ ${SRCROOT}/Color.cpp
+ ${INCROOT}/Color.hpp