summaryrefslogtreecommitdiff
path: root/community/electricsheep/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/electricsheep/PKGBUILD')
-rw-r--r--community/electricsheep/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/electricsheep/PKGBUILD b/community/electricsheep/PKGBUILD
index b63b58ba4..c87c32327 100644
--- a/community/electricsheep/PKGBUILD
+++ b/community/electricsheep/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 74059 2012-07-19 05:01:20Z ebelanger $
+# $Id: PKGBUILD 81103 2012-12-12 00:47:29Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=electricsheep
pkgver=2.7b33
-pkgrel=3
+pkgrel=4
pkgdesc="A screensaver that realize the collective dream of sleeping computers from all over the internet"
arch=('i686' 'x86_64' 'mips64el')
url="http://community.electricsheep.org/"
license=('GPL')
-depends=('curl' 'flam3' 'ffmpeg' 'wxgtk2.9' 'lua' 'libgtop' 'boost-libs' 'freeglut' 'glee')
-makedepends=('boost' 'tinyxml')
+depends=('curl' 'flam3' 'ffmpeg' 'wxgtk2.9' 'lua51' 'libgtop' 'boost-libs' 'freeglut' 'glee')
+makedepends=('boost' 'mesa' 'glu' 'tinyxml')
optdepends=('xscreensaver: to use electricsheep with xscreensaver')
options=('!emptydirs')
source=(ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
@@ -40,7 +40,8 @@ build() {
sed -i '12 i\
#include <cstdio>' Common/Singleton.h
./autogen.sh
- ./configure --prefix=/usr
+ CPPFLAGS+="-I/usr/include/lua5.1" ./configure --prefix=/usr
+ sed -i 's|-I /usr/include/libavutil||' MSVC/SettingsGUI/Makefile
make CXXFLAGS+="-DUSE_NEW_FFMPEG_API=1"
}