summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-13 00:04:38 +0000
committerroot <root@rshg054.dnsready.net>2012-09-13 00:04:38 +0000
commit843685ce9dd76d37a4c7b0230eacb6d26bdf30dd (patch)
tree9151f782b8f347cf28e0f398341441d659f41f4a /pcr
parent21c375ba65c4730e25cd0b135aff7811bf28c77a (diff)
Thu Sep 13 00:04:37 UTC 2012
Diffstat (limited to 'pcr')
-rw-r--r--pcr/mesa-git/PKGBUILD71
-rw-r--r--pcr/zoneminder/PKGBUILD6
2 files changed, 58 insertions, 19 deletions
diff --git a/pcr/mesa-git/PKGBUILD b/pcr/mesa-git/PKGBUILD
index 8b8a5c7dd..0a63f43d8 100644
--- a/pcr/mesa-git/PKGBUILD
+++ b/pcr/mesa-git/PKGBUILD
@@ -4,7 +4,7 @@ _d3d1x=false
_openvg=true
_va=false
_vdpau=true
-_wayland=false
+_wayland=true
_xorg=true
_xvmc=true
pkgbase=mesa-git
@@ -24,6 +24,7 @@ true && pkgname=(
intel-gallium-dri-git
intel-dri-git
nouveau-dri-git
+ svga-dri-git
mesa-git
)
if [ $_openvg = true ]; then
@@ -67,9 +68,10 @@ if [ $_xvmc = true ]; then
soft-xvmc-git
)
fi
-true && pkgver=9.0.0.git20120908
+true && pkgver=9.0.0.git$(LC_ALL=C date -u +%Y%m%d)
true && pkgrel=1
_mesaver=9.0
+_dricore=9.1
arch=(
i686
x86_64
@@ -205,7 +207,7 @@ build() {
--with-clang-libdir=/usr/lib \
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
--with-dri-drivers=i915,i965,nouveau,r200,radeon,swrast \
- --with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,swrast
+ --with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast
make V=0
}
@@ -275,11 +277,12 @@ package_libegl-wayland-git() {
fi
conflicts=(
libegl
+ libegl-git
libegl-wayland
)
provides=(
libegl=$_mesaver
- libegl-git=$_mesaver
+ libegl-git
libegl-wayland=$_mesaver
)
pkgdesc='Mesa EGL libraries and headers, with wayland Support'
@@ -322,11 +325,12 @@ package_libegl-git() {
conflicts=(
libegl
libegl-wayland
+ libegl-wayland-git
)
provides=(
libegl=$_mesaver
- libegl-git=$_mesaver
libegl-wayland=$_mesaver
+ libegl-wayland-git
)
pkgdesc='Mesa EGL libraries and headers'
@@ -397,11 +401,12 @@ package_libgl-gallium-git() {
)
conflicts=(
libgl
+ libgl-git
libgl-gallium
)
provides=(
libgl=$_mesaver
- libgl-git=$_mesaver
+ libgl-git
libgl-gallium=$_mesaver
)
pkgdesc='Mesa 3D OpenGL graphics library and DRI Gallium software rasterizer'
@@ -415,12 +420,12 @@ package_libgl-gallium-git() {
install -m755 -d $pkgdir/usr/lib/xorg/modules/extensions
install -m755 -d $pkgdir/usr/share/doc/libgl
install -m755 -d $pkgdir/usr/share/licenses/libgl
- #ln -s libdricore$_mesaver.so.1.0.0 $pkgdir/usr/lib/libdricore.so
+ #ln -s libdricore$_dricore.so.1.0.0 $pkgdir/usr/lib/libdricore.so
ln -s libglx.xorg $pkgdir/usr/lib/xorg/modules/extensions/libglx.so
#install -Dm644 src/glx/libGL.la $pkgdir/usr/lib
#install -Dm644 lib/libGL.so* $pkgdir/usr/lib
- #install -Dm644 src/mesa/libdricore/libdricore$_mesaver.la $pkgdir/usr/lib
- #install -Dm644 lib/libdricore$_mesaver.so* $pkgdir/usr/lib
+ #install -Dm644 src/mesa/libdricore/libdricore$_dricore.la $pkgdir/usr/lib
+ #install -Dm644 lib/libdricore$_dricore.so* $pkgdir/usr/lib
#install -Dm644 lib/gallium/swrast_dri.so $pkgdir/usr/lib/xorg/modules/dri
install -Dm644 docs/libGL.txt $pkgdir/usr/share/doc/libgl
install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/libgl
@@ -439,11 +444,12 @@ package_libgl-git() {
conflicts=(
libgl
libgl-gallium
+ libgl-gallium-git
)
provides=(
libgl=$_mesaver
libgl-gallium=$_mesaver
- libgl-gallium-git=$_mesaver
+ libgl-gallium-git
)
pkgdesc='Mesa 3D OpenGL graphics library and DRI software rasterizer'
@@ -460,8 +466,8 @@ package_libgl-git() {
ln -s libglx.xorg $pkgdir/usr/lib/xorg/modules/extensions/libglx.so
#install -Dm644 src/glx/libGL.la $pkgdir/usr/lib
#install -Dm644 lib/libGL.so* $pkgdir/usr/lib
- #install -Dm644 src/mesa/libdricore/libdricore$_mesaver.la $pkgdir/usr/lib
- #install -Dm644 lib/libdricore$_mesaver.so* $pkgdir/usr/lib
+ #install -Dm644 src/mesa/libdricore/libdricore$_dricore.la $pkgdir/usr/lib
+ #install -Dm644 lib/libdricore$_dricore.so* $pkgdir/usr/lib
#install -Dm644 src/mesa/drivers/dri/swrast/swrast_dri.la $pkgdir/usr/lib/xorg/modules/dri
#install -Dm644 lib/swrast_dri.so $pkgdir/usr/lib/xorg/modules/dri
install -Dm644 docs/libGL.txt $pkgdir/usr/share/doc/libgl
@@ -625,11 +631,12 @@ package_intel-gallium-dri-git() {
)
conflicts=(
intel-dri
+ intel-dri-git
intel-gallium-dri
)
provides=(
intel-dri=$_mesaver
- intel-dri-git=$_mesaver
+ intel-dri-git
intel-gallium-dri=$_mesaver
)
pkgdesc='Mesa DRI drivers for Intel, with i915 Gallium Driver )'
@@ -654,6 +661,7 @@ package_intel-dri-git() {
conflicts=(
intel-dri
intel-gallium-dri
+ intel-gallium-dri-git
)
provides=(
intel-dri=$_mesaver
@@ -703,6 +711,36 @@ package_nouveau-dri-git() {
install -Dm644 docs/license.html $pkgdir/usr/share/licenses/nouveau-dri
}
+package_svga-dri-git() {
+ depends=(
+ libgl-git
+ )
+ conflicts=(
+ svga-dri
+ )
+ provides=(
+ svga-dri=$_mesaver
+ )
+ pkgdesc='Free Gallium3D VMware guest GL driver'
+
+ make -C $srcdir/build/src/gallium/targets/dri-vmwgfx DESTDIR=$pkgdir install
+ make -C $srcdir/build/src/gallium/targets/xa-vmwgfx DESTDIR=$pkgdir install
+
+ cd $srcdir/build
+ #install -m755 -d $pkgdir/usr/lib/include
+ #install -m755 -d $pkgdir/usr/lib/pkgconfig
+ #install -m755 -d $pkgdir/usr/lib/xorg/modules/dri
+ install -m755 -d $pkgdir/usr/share/licenses/svga-dri
+ #install -Dm644 lib/gallium/libxatracker.so* $pkgdir/usr/lib
+ #install -Dm644 src/gallium/state_trackers/xa/xa_composite.h $pkgdir/usr/lib/include
+ #install -Dm644 src/gallium/state_trackers/xa/xa_context.h $pkgdir/usr/lib/include
+ #install -Dm644 src/gallium/state_trackers/xa/xa_tracker.h $pkgdir/usr/lib/include
+ #install -Dm644 src/gallium/targets/xa-vmwgfx/xatracker.pc $pkgdir/usr/lib/pkgconfig
+ #install -Dm644 lib/gallium/vmwgfx_dri.so $pkgdir/usr/lib/xorg/modules/dri
+ install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/svga-dri
+ install -Dm644 docs/license.html $pkgdir/usr/share/licenses/svga-dri
+}
+
package_ati-va-git() {
depends=(
glibc
@@ -974,7 +1012,6 @@ package_mesa-git() {
depends=(
dri2proto
glproto-git
- libgl-git
libglu-git
)
optdepends=(
@@ -992,10 +1029,10 @@ package_mesa-git() {
cd $srcdir/build
make DESTDIR=$pkgdir install
- rm -fvr $pkgdir/usr/include/{EGL,GLES,GLES2,KHR,VG,gbm.h}
+ rm -fvr $pkgdir/usr/include/{EGL,GLES,GLES2,KHR,VG,gbm.h,xa_*.h}
rm -fvr $pkgdir/usr/lib/{egl,gbm,opencl,vdpau,xorg}
- rm -fv $pkgdir/usr/lib/{libEGL*,libGL*,libGLESv*,libOSMesa*,libOpenCL*,libOpenVG*,libXvMC*,libdricore*,libgbm*,libglapi*,libwayland*}
- rm -fv $pkgdir/usr/lib/pkgconfig/{egl.pc,gbm.pc,glesv1_cm.pc,glesv2.pc,osmesa.pc,vg.pc,wayland-egl.pc}
+ rm -fv $pkgdir/usr/lib/{libEGL*,libGL*,libGLESv*,libOSMesa*,libOpenCL*,libOpenVG*,libXvMC*,libdricore*,libgbm*,libglapi*,libwayland*,libxatracker.so*}
+ rm -fv $pkgdir/usr/lib/pkgconfig/{egl.pc,gbm.pc,glesv1_cm.pc,glesv2.pc,osmesa.pc,vg.pc,wayland-egl.pc,xatracker.pc}
install -m755 -d $pkgdir/usr/share/licenses/mesa
install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/mesa
install -Dm644 docs/license.html $pkgdir/usr/share/licenses/mesa
diff --git a/pcr/zoneminder/PKGBUILD b/pcr/zoneminder/PKGBUILD
index 206651216..d07972e54 100644
--- a/pcr/zoneminder/PKGBUILD
+++ b/pcr/zoneminder/PKGBUILD
@@ -1,12 +1,14 @@
# Maintainer: Vojtech Aschenbrenner <v@asch.cz>
# Contributor: Jason Gardner <buhrietoe@gmail.com>
# Contributor: Ross melin <rdmelin@gmail.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=zoneminder
pkgver=1.25.0
pkgrel=13
pkgdesc="Capture, analyse, record and monitor video security cameras"
-arch=('i686' 'x86_64' 'arm')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.zoneminder.com"
license=('GPL')
depends=('cambozola' 'apache' 'php' 'php-gd' 'php-mcrypt' 'mysql' 'pcre' 'openssl' 'ffmpeg' 'perl-libwww' 'perl-date-manip' 'perl-unicode-map' 'perl-dbi' 'perl-dbd-mysql' 'perl-io-stringy' 'perl-mime-lite' 'perl-timedate' 'perl-x10' 'perl-time-modules' 'perl-net-smtp-ssl' 'perl-sys-mmap' 'perl-net-sftp-foreign' 'perl-mime-tools' 'perl-io-tty' 'sudo' 'libv4l' 'libjpeg' 'gnutls' 'php-apache')
@@ -84,7 +86,7 @@ build() {
# Build it!
make || return 1
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" ZM_RUNDIR="$pkgdir/var/run" ZM_TMPDIR="$pkgdir/tmp" ZM_LOGDIR="$pkgdir/var/log" install || return 1
install -D -m 700 $startdir/src/zminit.arch $startdir/pkg/srv/zoneminder/bin/zminit
install -D -m 755 $startdir/src/zm.rc.d $startdir/pkg/etc/rc.d/zm