summaryrefslogtreecommitdiff
path: root/community/slimevolley
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-14 10:24:35 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-14 10:24:35 +0100
commita4f3ca8891e50241ac2ca144949e92b26920ffaf (patch)
treed31841075429e437c4908580e8ec074f2fe40aa5 /community/slimevolley
parent3156702a5deccd61451be9f7d8ba0fd212a3043b (diff)
parent01a0c4bc740842efa3bf1a7e1d6c8be5656e4e2a (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/aspell-ca/PKGBUILD community/corkscrew/PKGBUILD cross/mips64el-unknown-linux-gnu-binutils/PKGBUILD extra/gstreamer0.10-base/PKGBUILD extra/gstreamer0.10-good/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/libxi/PKGBUILD extra/mesa/PKGBUILD extra/mkvtoolnix/PKGBUILD extra/mpc/PKGBUILD extra/poppler/PKGBUILD extra/xf86-video-siliconmotion/PKGBUILD extra/xorg-server/PKGBUILD gnome-unstable/gconf/PKGBUILD gnome-unstable/gnome-desktop/PKGBUILD gnome-unstable/network-manager-applet/PKGBUILD gnome-unstable/vte3/PKGBUILD multilib/chuck/PKGBUILD multilib/lib32-libpciaccess/PKGBUILD multilib/lib32-libx11/PKGBUILD multilib/lib32-libxcb/PKGBUILD multilib/lib32-libxcb/libxcb-1.1-no-pthread-stubs.patch multilib/lib32-libxft/PKGBUILD multilib/lib32-libxi/PKGBUILD multilib/lib32-llvm/PKGBUILD multilib/lib32-mesa/PKGBUILD testing/grep/PKGBUILD testing/sudo/PKGBUILD testing/xf86-input-joystick/PKGBUILD testing/xf86-input-wacom/PKGBUILD
Diffstat (limited to 'community/slimevolley')
-rw-r--r--community/slimevolley/PKGBUILD11
-rw-r--r--community/slimevolley/link-libm.patch14
2 files changed, 22 insertions, 3 deletions
diff --git a/community/slimevolley/PKGBUILD b/community/slimevolley/PKGBUILD
index 9f49ec6bb..4cc1cb6bb 100644
--- a/community/slimevolley/PKGBUILD
+++ b/community/slimevolley/PKGBUILD
@@ -1,22 +1,25 @@
-# $Id: PKGBUILD 33998 2010-11-30 17:47:24Z lcarlier $
+# $Id: PKGBUILD 67388 2012-03-10 21:54:03Z lcarlier $
# Maintainer : Geoffroy Carrier <gcarrier@aur.archlinux.org>
# Contributor: Joel Schaerer <joel.schaerer@laposte.net>
pkgname=slimevolley
pkgver=2.4.2
-pkgrel=1
+pkgrel=2
pkgdesc="A simple yet fun arcade volley game"
arch=('i686' 'x86_64' 'mips64el')
url="http://slime.tuxfamily.org/index.php"
license=('GPL')
depends=('sdl_net' 'sdl_ttf' 'sdl_image')
makedepends=('cmake')
-source=("http://downloads.tuxfamily.org/slime/v242/${pkgname}_${pkgver}.tar.bz2")
+source=("http://downloads.tuxfamily.org/slime/v242/${pkgname}_${pkgver}.tar.bz2"
+ link-libm.patch)
md5sums=('42d1287bf459c26475a9bb7a9bb167e5')
build() {
cd "$srcdir/$pkgname"
+ patch -Np1 -i ../link-libm.patch
+
cmake -DCMAKE_INSTALL_PREFIX:FILEPATH=/usr .
make
}
@@ -26,3 +29,5 @@ package() {
make DESTDIR="${pkgdir}" install
}
+md5sums=('42d1287bf459c26475a9bb7a9bb167e5'
+ '4e5a7d4fb97e8f482e5468acc795a17b')
diff --git a/community/slimevolley/link-libm.patch b/community/slimevolley/link-libm.patch
new file mode 100644
index 000000000..acbd21d37
--- /dev/null
+++ b/community/slimevolley/link-libm.patch
@@ -0,0 +1,14 @@
+Description: Link to libm to prevent FTBFS with --no-add-needed.
+Author: Evgeni Golov <evgeni@debian.org>
+Bug-Debian: http://bugs.debian.org/615775
+
+--- slimevolley-2.4.2.orig/CMakeLists.txt
++++ slimevolley-2.4.2/CMakeLists.txt
+@@ -42,6 +42,7 @@ LINK_LIBRARIES(
+ ${SDL_LIBRARY}
+ ${SDLTTF_LIBRARY}
+ ${SDLIMAGE_LIBRARY}
++ m
+ )
+
+ INCLUDE(FindGettext.cmake)