diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-22 21:05:23 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-22 21:05:23 (GMT) |
commit | 4369924e6d9df3a4f1ec997754e7e09a7c39a543 (patch) | |
tree | c6fbef22fff5171fd3674b25e7f41040f2a79fd6 | |
parent | 7b0f4e6e5e0db55450d2ecbe763f08f6a7a13a51 (diff) | |
parent | b7e8a22add9ff7e7ca41fe8c5fc25ea501eb3e2d (diff) | |
download | linhes_pkgbuild-4369924e6d9df3a4f1ec997754e7e09a7c39a543.zip linhes_pkgbuild-4369924e6d9df3a4f1ec997754e7e09a7c39a543.tar.gz linhes_pkgbuild-4369924e6d9df3a4f1ec997754e7e09a7c39a543.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
-rw-r--r-- | abs/core-testing/mplayer/MPlayer-1.0rc1-gnome-screensaver.patch | 286 | ||||
-rw-r--r-- | abs/core-testing/mplayer/PKGBUILD | 9 | ||||
-rw-r--r-- | abs/core-testing/mplayer/mplayer-svn-gnome-screensaver.patch.tar.gz | bin | 0 -> 701 bytes | |||
-rw-r--r-- | abs/extra-testing/cmake/PKGBUILD | 33 | ||||
-rw-r--r-- | abs/extra-testing/community/enca/PKGBUILD | 23 | ||||
-rw-r--r-- | abs/extra-testing/community/tre/PKGBUILD | 19 | ||||
-rw-r--r-- | abs/extra-testing/community/xbmc/ChangeLog | 64 | ||||
-rw-r--r-- | abs/extra-testing/community/xbmc/PKGBUILD | 118 | ||||
-rw-r--r-- | abs/extra-testing/community/xbmc/xbmc.install | 9 | ||||
-rw-r--r-- | abs/extra-testing/glew/PKGBUILD | 23 | ||||
-rw-r--r-- | abs/extra-testing/hd2u/PKGBUILD | 21 | ||||
-rw-r--r-- | abs/extra-testing/libjpeg/PKGBUILD | 28 | ||||
-rw-r--r-- | abs/extra-testing/xmlrpc-c/PKGBUILD | 32 | ||||
-rw-r--r-- | abs/extra-testing/xscreensaver/PKGBUILD | 4 |
14 files changed, 378 insertions, 291 deletions
diff --git a/abs/core-testing/mplayer/MPlayer-1.0rc1-gnome-screensaver.patch b/abs/core-testing/mplayer/MPlayer-1.0rc1-gnome-screensaver.patch deleted file mode 100644 index 79deb93..0000000 --- a/abs/core-testing/mplayer/MPlayer-1.0rc1-gnome-screensaver.patch +++ /dev/null @@ -1,286 +0,0 @@ -diff -Nur MPlayer-1.0rc1.orig/configure MPlayer-1.0rc1/configure ---- MPlayer-1.0rc1.orig/configure 2006-10-23 00:32:31.000000000 +0200 -+++ MPlayer-1.0rc1/configure 2006-11-11 14:02:38.000000000 +0100 -@@ -257,6 +257,7 @@ - --disable-ftp Disable ftp support [enabled] - --disable-vstream Disable tivo vstream client support [autodetect] - --disable-pthreads Disable Posix threads support [autodetect] -+ --disable-dbus-glib Disable D-BUS GLib interface (required for GNOME screensaver support) [autodetect] - --disable-ass Disable internal SSA/ASS subtitles support [autodetect] - --enable-rpath Enable runtime linker path for extra libs [disabled] - -@@ -1721,6 +1722,7 @@ - _musepack=auto - _vstream=auto - _pthreads=auto -+_dbus_glib=auto - _ass=auto - _rpath=no - _asmalign_pot=auto -@@ -2033,6 +2035,8 @@ - --disable-vstream) _vstream=no ;; - --enable-pthreads) _pthreads=yes ;; - --disable-pthreads) _pthreads=no ;; -+ --enable-dbus-glib) _dbus_glib=yes ;; -+ --disable-dbus-glib) _dbus_glib=no ;; - --enable-ass) _ass=yes ;; - --disable-ass) _ass=no ;; - --enable-rpath) _rpath=yes ;; -@@ -7029,6 +7033,19 @@ - fi - echores "$_gethostbyname2" - -+echocheck "D-BUS GLib interface" -+if test "$_dbus_glib" = auto && pkg-config --exists dbus-glib-1; then -+ _dbus_glib=yes -+ _inc_dbus_glib=`pkg-config --cflags dbus-glib-1 2>/dev/null` -+ _ld_dbus_glib=`pkg-config --libs dbus-glib-1 2>/dev/null` -+fi -+ -+if test "$_dbus_glib" = yes; then -+ _def_dbus_glib='#define HAVE_DBUS_GLIB 1' -+else -+ _def_dbus_glib='#undef HAVE_DBUS_GLIB' -+fi -+echores "$_dbus_glib" - - # --------------- GUI specific tests begin ------------------- - echocheck "GUI" -@@ -7521,6 +7538,10 @@ - VESA_LIB = $_ld_vesa - AA_LIB = $_ld_aa - CACA_LIB = $_ld_caca -+DBUS_GLIB_INC = $_inc_dbus_glib -+DBUS_GLIB_LIB = $_ld_dbus_glib -+DBUS_GLIB = $_dbus_glib -+ - - # audio output - OSS = $_ossaudio -@@ -8378,6 +8399,7 @@ - $_def_tga - $_def_toolame - $_def_twolame -+$_def_dbus_glib - - /* used by GUI: */ - $_def_xshape -diff -Nur MPlayer-1.0rc1.orig/help/help_mp-en.h MPlayer-1.0rc1/help/help_mp-en.h ---- MPlayer-1.0rc1.orig/help/help_mp-en.h 2006-10-23 00:32:29.000000000 +0200 -+++ MPlayer-1.0rc1/help/help_mp-en.h 2006-11-11 14:02:38.000000000 +0100 -@@ -679,6 +679,13 @@ - #define MSGTR_InsertingAfVolume "[Mixer] No hardware mixing, inserting volume filter.\n" - #define MSGTR_NoVolume "[Mixer] No volume control available.\n" - -+// gnome_screensaver.c -+#define MSGTR_OpenBusConnectionError "%s: Failed to open connection to bus: %s\n" -+#define MSGTR_RemoteMethodException "%s: Caught remote method exception %s: %s\n" -+#define MSGTR_GError "%s: Error: %s\n" -+#define MSGTR_GNOMEScreensaverEnabled "GNOME screensaver enabled\n" -+#define MSGTR_GNOMEScreensaverDisabled "GNOME screensaver disabled\n" -+ - // ====================== GUI messages/buttons ======================== - - #ifdef HAVE_NEW_GUI -diff -Nur MPlayer-1.0rc1.orig/libvo/gnome_screensaver.c MPlayer-1.0rc1/libvo/gnome_screensaver.c ---- MPlayer-1.0rc1.orig/libvo/gnome_screensaver.c 1970-01-01 01:00:00.000000000 +0100 -+++ MPlayer-1.0rc1/libvo/gnome_screensaver.c 2006-11-11 14:02:38.000000000 +0100 -@@ -0,0 +1,120 @@ -+/* -+ * gnome_screensaver.c v0.0.7 -+ * -+ * Enable/Disable the GNOME screensaver -+ * Supports GNOME screensaver API 2.14 and 2.15 -+ * -+ * Call gnome_screensaver_control(1) to enable and -+ * gnome_screensaver_control(0) to disable -+ * -+ */ -+ -+#include <stdlib.h> -+#include <unistd.h> -+#include <dbus/dbus-glib.h> -+ -+#include "gnome_screensaver.h" -+#include "mp_msg.h" -+#include "help_mp.h" -+ -+#define GS_SERVICE "org.gnome.ScreenSaver" -+#define GS_PATH "/org/gnome/ScreenSaver" -+#define GS_INTERFACE "org.gnome.ScreenSaver" -+ -+#define GS_APPLICATION_NAME "MPlayer" -+#define GS_REASON_FOR_INHIBIT "Playing a movie" -+ -+static guint32 cookie; -+ -+void gnome_screensaver_control(int enable) -+{ -+ DBusGConnection *connection; -+ GError *error; -+ DBusGProxy *proxy; -+ gboolean ret; -+ char *funcname = "gnome_screensaver_control()"; -+ -+ g_type_init(); -+ -+ /* Get a connection to the session bus */ -+ error = NULL; -+ connection = dbus_g_bus_get(DBUS_BUS_SESSION, &error); -+ if (connection == NULL) { -+ mp_msg(MSGT_VO, MSGL_ERR, -+ funcname, MSGTR_OpenBusConnectionError, error->message); -+ g_error_free(error); -+ return; -+ } -+ -+ /* Create a proxy object */ -+ proxy = dbus_g_proxy_new_for_name(connection, -+ GS_SERVICE, GS_PATH, GS_INTERFACE); -+ -+ /* Enable the screensaver */ -+ if (enable) { -+ /* First call the GNOME screensaver 2.15 API method */ -+ error = NULL; -+ ret = -+ dbus_g_proxy_call(proxy, "UnInhibit", &error, G_TYPE_UINT, -+ cookie, G_TYPE_INVALID); -+ -+ /* If this fails, try the GNOME screensaver 2.14 API */ -+ if (!ret && error->domain == DBUS_GERROR -+ && error->code == DBUS_GERROR_UNKNOWN_METHOD) { -+ mp_msg(MSGT_VO, MSGL_V, -+ "%s: GNOME screensaver 2.15 API failed, trying 2.14 API\n", -+ funcname); -+ g_error_free(error); -+ error = NULL; -+ ret = -+ dbus_g_proxy_call(proxy, "AllowActivation", &error, -+ G_TYPE_INVALID, G_TYPE_INVALID); -+ } -+ } -+ /* Disable the screensaver */ -+ else { -+ /* First call the GNOME screensaver 2.15 API method */ -+ error = NULL; -+ ret = -+ dbus_g_proxy_call(proxy, "Inhibit", &error, G_TYPE_STRING, -+ GS_APPLICATION_NAME, G_TYPE_STRING, -+ GS_REASON_FOR_INHIBIT, G_TYPE_INVALID, -+ G_TYPE_UINT, cookie, G_TYPE_INVALID); -+ -+ /* If this fails, try the GNOME screensaver 2.14 API */ -+ if (!ret && error->domain == DBUS_GERROR -+ && error->code == DBUS_GERROR_UNKNOWN_METHOD) { -+ mp_msg(MSGT_VO, MSGL_V, -+ "%s: GNOME screensaver 2.15 API failed, trying 2.14 API\n", -+ funcname); -+ g_error_free(error); -+ error = NULL; -+ ret = -+ dbus_g_proxy_call(proxy, "InhibitActivation", &error, -+ G_TYPE_STRING, GS_REASON_FOR_INHIBIT, -+ G_TYPE_INVALID, G_TYPE_INVALID); -+ } -+ } -+ -+ if (!ret) { -+ /* Check if it's a remote exception or a regular GError */ -+ if (error->domain == DBUS_GERROR -+ && error->code == DBUS_GERROR_REMOTE_EXCEPTION) { -+ mp_msg(MSGT_VO, MSGL_ERR, -+ funcname, MSGTR_RemoteMethodException, -+ dbus_g_error_get_name(error), error->message); -+ } -+ else { -+ mp_msg(MSGT_VO, MSGL_ERR, -+ funcname, MSGTR_GError, error->message); -+ } -+ g_error_free(error); -+ } -+ else { -+ mp_msg(MSGT_VO, MSGL_INFO, -+ enable ? MSGTR_GNOMEScreensaverEnabled : -+ MSGTR_GNOMEScreensaverDisabled); -+ } -+ -+ g_object_unref(proxy); -+} -diff -Nur MPlayer-1.0rc1.orig/libvo/gnome_screensaver.h MPlayer-1.0rc1/libvo/gnome_screensaver.h ---- MPlayer-1.0rc1.orig/libvo/gnome_screensaver.h 1970-01-01 01:00:00.000000000 +0100 -+++ MPlayer-1.0rc1/libvo/gnome_screensaver.h 2006-11-11 14:02:38.000000000 +0100 -@@ -0,0 +1,6 @@ -+#ifndef _GNOME_SCREENSAVER_H -+#define _GNOME_SCREENSAVER_H -+ -+extern void gnome_screensaver_control(int enable); -+ -+#endif /* !_GNOME_SCREENSAVER_H */ -diff -Nur MPlayer-1.0rc1.orig/libvo/Makefile MPlayer-1.0rc1/libvo/Makefile ---- MPlayer-1.0rc1.orig/libvo/Makefile 2006-10-23 00:32:26.000000000 +0200 -+++ MPlayer-1.0rc1/libvo/Makefile 2006-11-11 14:02:38.000000000 +0100 -@@ -39,6 +39,11 @@ - SRCS += vosub_vidix.c - endif - -+ifeq ($(DBUS_GLIB),yes) -+SRCS += gnome_screensaver.c -+LIBAV_INC += $(DBUS_GLIB_INC) -+endif -+ - INCLUDE = -I. -I.. -I../osdep $(LIBAV_INC) - CFLAGS = $(INCLUDE) $(OPTFLAGS) -DMPG12PLAY - -diff -Nur MPlayer-1.0rc1.orig/libvo/x11_common.c MPlayer-1.0rc1/libvo/x11_common.c ---- MPlayer-1.0rc1.orig/libvo/x11_common.c 2006-10-23 00:32:26.000000000 +0200 -+++ MPlayer-1.0rc1/libvo/x11_common.c 2006-11-11 14:02:38.000000000 +0100 -@@ -58,6 +58,10 @@ - #include "mplayer.h" - #endif - -+#ifdef HAVE_DBUS_GLIB -+#include "gnome_screensaver.h" -+#endif -+ - #define WIN_LAYER_ONBOTTOM 2 - #define WIN_LAYER_NORMAL 4 - #define WIN_LAYER_ONTOP 6 -@@ -1701,8 +1705,12 @@ - timeout_save = 0; - } - -- if (stop_xscreensaver) -+ if (stop_xscreensaver) { - xscreensaver_enable(); -+#ifdef HAVE_DBUS_GLIB -+ gnome_screensaver_control(1); -+#endif -+ } - if (kdescreensaver_was_running && stop_xscreensaver) - { - system -@@ -1747,8 +1755,12 @@ - allow_exp); - } - // turning off screensaver -- if (stop_xscreensaver) -+ if (stop_xscreensaver) { - xscreensaver_disable(mDisplay); -+#ifdef HAVE_DBUS_GLIB -+ gnome_screensaver_control(0); -+#endif -+ } - if (stop_xscreensaver && !kdescreensaver_was_running) - { - kdescreensaver_was_running = -diff -Nur MPlayer-1.0rc1.orig/Makefile MPlayer-1.0rc1/Makefile ---- MPlayer-1.0rc1.orig/Makefile 2006-10-23 00:32:31.000000000 +0200 -+++ MPlayer-1.0rc1/Makefile 2006-11-11 14:02:38.000000000 +0100 -@@ -75,6 +75,7 @@ - $(DIRECTFB_LIB) \ - $(CACA_LIB) \ - $(VESA_LIB) \ -+ $(DBUS_GLIB_LIB) \ - - ifeq ($(VIDIX),yes) - VO_LIBS += vidix/libvidix.a diff --git a/abs/core-testing/mplayer/PKGBUILD b/abs/core-testing/mplayer/PKGBUILD index 89db9f2..e412933 100644 --- a/abs/core-testing/mplayer/PKGBUILD +++ b/abs/core-testing/mplayer/PKGBUILD @@ -3,7 +3,7 @@ pkgname=mplayer pkgver=28347 -pkgrel=5 +pkgrel=6 pkgdesc="A movie player for linux" arch=('i686' 'x86_64') depends=('libxxf86dga' 'libxv' 'libmad' 'giflib' 'cdparanoia' 'gtk2' @@ -15,15 +15,18 @@ url="http://www.mplayerhq.hu/" makedepends=('libcaca' 'unzip' 'live-media' 'libdca' 'mesa') backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf' 'etc/mplayer/mplayer.conf') source=(ftp://ftp.archlinux.org/other/mplayer/${pkgname}-${pkgver}.tar.bz2 - http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2) + http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2 + mplayer-svn-gnome-screensaver.patch.tar.gz) md5sums=('41fb540025a51930d318e99728a19c66' - 'e4e2020d11b681aac898103b3ba723c4') + 'e4e2020d11b681aac898103b3ba723c4' + 'c55b6eeb2b4071dd65226f2a08b9c07d') build() { # Custom CFLAGS break the mplayer build unset CFLAGS cd ${srcdir}/${pkgname} + patch -p1 < ../mplayer-svn-gnome-screensaver.patch ./configure --prefix=/usr --enable-gui --disable-arts --enable-x11 \ --enable-runtime-cpudetection --confdir=/etc/mplayer --disable-nas \ diff --git a/abs/core-testing/mplayer/mplayer-svn-gnome-screensaver.patch.tar.gz b/abs/core-testing/mplayer/mplayer-svn-gnome-screensaver.patch.tar.gz Binary files differnew file mode 100644 index 0000000..cbae488 --- /dev/null +++ b/abs/core-testing/mplayer/mplayer-svn-gnome-screensaver.patch.tar.gz diff --git a/abs/extra-testing/cmake/PKGBUILD b/abs/extra-testing/cmake/PKGBUILD new file mode 100644 index 0000000..60e7f35 --- /dev/null +++ b/abs/extra-testing/cmake/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 27686 2009-02-24 20:21:28Z pierre $ +# Maintainer: Pierre Schmitz <pierre@archlinux.de> +# Contributor: damir <damir@archlinux.org> +# Contributor: Konstantinos Pachnis <kpachnis@mes-direct.com> + +pkgname=cmake +pkgver=2.6.3 +pkgrel=1 +pkgdesc="CMake is a cross-platform open-source make system" +arch=('i686' 'x86_64') +license=('custom') +url="http://www.cmake.org" +depends=('expat' 'xmlrpc-c') +makedepends=('qt') +optdepends=('qt: cmake-gui') +source=("http://www.cmake.org/files/v2.6/$pkgname-$pkgver.tar.gz") +md5sums=('5ba47a94ce276f326abca1fd72a7e7c6') + +build() { + cd $srcdir/$pkgname-$pkgver + ./bootstrap --prefix=/usr \ + --mandir=/share/man \ + --docdir=/share/doc/cmake \ + --system-libs \ + --qt-gui + make || return 1 + make DESTDIR=$pkgdir install + + install -D -m644 Docs/cmake-indent.vim $pkgdir/usr/share/vim/indent/cmake-indent.vim + install -D -m644 Docs/cmake-syntax.vim $pkgdir/usr/share/vim/syntax/cmake-syntax.vim + install -D -m644 Docs/cmake-mode.el $pkgdir/usr/share/emacs/site-lisp/cmake-mode.el + install -D -m644 Copyright.txt $pkgdir/usr/share/licenses/$pkgname/Copyright.txt +} diff --git a/abs/extra-testing/community/enca/PKGBUILD b/abs/extra-testing/community/enca/PKGBUILD new file mode 100644 index 0000000..b8dfe10 --- /dev/null +++ b/abs/extra-testing/community/enca/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD,v 1.7 2009/02/27 12:40:33 sergej Exp $ +# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org> +# Contributor: Filip Dvorak <fila@pruda.com> + +pkgname=enca +pkgver=1.9 +pkgrel=3 +pkgdesc="Charset analyser and converter" +arch=(i686 x86_64) +url="http://trific.ath.cx/software/enca" +options=('!libtool') +license=("GPL") +depends=() +source=(http://archlinux-stuff.googlecode.com/files/enca-$pkgver.tar.bz2) +md5sums=('b3581e28d68d452286fb0bfe58bed3b3') + +build() { + cd $startdir/src/enca-$pkgver + ./configure --prefix=/usr --libexecdir=/usr/lib/enca + make || return 1 + make DESTDIR=$startdir/pkg install +} + diff --git a/abs/extra-testing/community/tre/PKGBUILD b/abs/extra-testing/community/tre/PKGBUILD new file mode 100644 index 0000000..b7d82eb --- /dev/null +++ b/abs/extra-testing/community/tre/PKGBUILD @@ -0,0 +1,19 @@ +# Contributor: Igor Galic<i.galic@gmail.com> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de +pkgname=tre +pkgver=0.7.5 +pkgrel=4 +arch=('i686' 'x86_64') +pkgdesc="POSIX compliant regexp matching library. It includes agrep for aproximate (fuzzy) grepping." +url="http://laurikari.net/tre/index.html" +license=('GPL') +source=(http://laurikari.net/tre/$pkgname-$pkgver.tar.bz2) +md5sums=('e72e5c94008865cf720992a0b25d6e89') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --enable-static || return 1 + make || return 1 + make DESTDIR=$pkgdir install || return 1 +} + diff --git a/abs/extra-testing/community/xbmc/ChangeLog b/abs/extra-testing/community/xbmc/ChangeLog new file mode 100644 index 0000000..59f2370 --- /dev/null +++ b/abs/extra-testing/community/xbmc/ChangeLog @@ -0,0 +1,64 @@ +2009-03-07 [vEX] <niechift.dot.vex.at.gmail.dot.com> + + * 8.10-10 : + Try and fix some autoconf issues (thanks Gentoo ebuild). + +2009-02-08 [vEX] <niechift.dot.vex.at.gmail.dot.com> + + * 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] <niechift.dot.vex.at.gmail.dot.com> + + * 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] <niechift.dot.vex.at.gmail.dot.com> + + * 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] <niechift.dot.vex.at.gmail.dot.com> + + * 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] <niechift.dot.vex.at.gmail.dot.com> + + * 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] <niechift.dot.vex.at.gmail.dot.com> + + * 8.10-4 : + Fix permissions for some more scripts, ffmpeg/texi2doc.pl should not + fail any longer. + +2008-12-05 [vEX] <niechift.dot.vex.at.gmail.dot.com> + + * 8.10-3 : + Added lirc to the optdepends array. + +2008-11-26 [vEX] <niechift.dot.vex.at.gmail.dot.com> + + * 8.10-2 : + Added install file which informs users that a display depth of at + least 24-bit is required. + +2008-11-17 [vEX] <niechift.dot.vex.at.gmail.dot.com> + + * 8.10-1 : + Initial package, based on previous work by Zeqadious. diff --git a/abs/extra-testing/community/xbmc/PKGBUILD b/abs/extra-testing/community/xbmc/PKGBUILD new file mode 100644 index 0000000..950d704 --- /dev/null +++ b/abs/extra-testing/community/xbmc/PKGBUILD @@ -0,0 +1,118 @@ +# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com> +# Contributor: Zeqadious <zeqadious.at.gmail.dot.com> + +pkgname=xbmc +pkgver=8.10 +pkgrel=10 +pkgdesc="XBMC Media Center" +arch=('i686' 'x86_64') +url="http://xbmc.org" +license=('GPL' 'custom') +depends=('alsa-lib' 'curl' 'enca' 'faac' 'freetype2' 'fribidi' 'gawk' 'glew' \ + 'hal' 'jasper' 'libgl' 'libjpeg>=6b-5' 'libmad' 'libmysqlclient' \ + 'libxinerama' 'libxrandr' 'lzo2' 'sdl_image' 'sdl_mixer' 'sqlite3' \ + 'tre' 'unzip' 'x-server') +makedepends=('autoconf' 'automake' 'boost' 'cmake' 'gcc' 'gperf' + 'libtool>=2.2.6a-1' 'make' 'nasm' 'patch' 'pkgconfig' 'zip') +optdepends=('libcdio: optical disc support' + 'lirc: remote controller support' + 'pmount: mount removable devices as normal user' + 'smbclient: access windows shares' + 'unrar: access compressed files without unpacking them') +install=("${pkgname}.install") +source=("http://downloads.sourceforge.net/${pkgname}/XBMC-${pkgver}.src.tar.gz") +md5sums=('2d20d255a211223eaa47f1c6bcf4be8e') + +build() { + cd "${srcdir}/XBMC" + + # Remove Mac OS X specific files + rm -rf system/python/lib-osx/ + rm system/players/dvdplayer/*-osx* + + # Fix permissions for the configure scripts + find -type f -name "configure"|xargs chmod a+x || return 1 + + # Fix other permissions + find -type f -name "*.pl"|xargs chmod a+x || return 1 + + # Make it gcc 4.3.x compatible + sed '92i#include <stdlib.h>' -i guilib/system.h || return 1 + + # Clean up the configure files and make sure they support C++. + for file in `find . -type f -name configure.in -or -name configure.ac`; do + echo 'AC_PROG_CXX' >> "${file}" + sed -e '/AM_PATH_XMMS/ c\echo' \ + -e '/AM_PATH_SDL2/ c\echo' \ + -i ${file} || return 1 + done + sed -e 's/test_libFLAC++//g' \ + -i "${srcdir}/XBMC/xbmc/cores/paplayer/flac-1.2.1/src/Makefile.am" || return 1 + + # Fix some autoconf issues + touch ${srcdir}/XBMC/xbmc/cores/dvdplayer/Codecs/libmad/{NEWS,AUTHORS,ChangeLog} || return 1 + touch ${srcdir}/XBMC/xbmc/visualizations/Goom/goom2k4-0/ylwrap || return 1 + touch ${srcdir}/XBMC/xbmc/lib/libid3tag/libid3tag/{NEWS,README,AUTHORS,ChangeLog} || return 1 + for dir in \ + . \ + xbmc/cores/dvdplayer/Codecs/libDVDCSS \ + xbmc/cores/dvdplayer/Codecs/libdts \ + xbmc/cores/dvdplayer/Codecs/libdvdnav \ + xbmc/cores/dvdplayer/Codecs/libfaad2 \ + xbmc/cores/dvdplayer/Codecs/libmad \ + xbmc/cores/dvdplayer/Codecs/libmpeg2 \ + xbmc/cores/paplayer/flac-1.2.1 \ + xbmc/cores/paplayer/vorbisfile/libvorbis \ + xbmc/cores/paplayer/vorbisfile/ogg \ + xbmc/visualizations/Goom/goom2k4-0 \ + xbmc/lib/libass \ + xbmc/lib/libid3tag/libid3tag + do + autoreconf --install "${srcdir}/XBMC/${dir}" || return 1 + done + + cd "${srcdir}/XBMC/" + + # Configure XBMC + ./configure --prefix=/usr \ + --disable-debug || return 1 + + # Fix false negative detections of realloc that happens some times + if grep -q 'HAVE_REALLOC 0' config.h; then + sed -e 's|#define HAVE_REALLOC 0|#define HAVE_REALLOC 1|' \ + -e 's|#define realloc rpl_realloc|/* #define realloc rpl_realloc */|' \ + -i config.h || return 1 + fi + + # XBMCTex will segfault on systems with nvidia instaleld if linked to OpenGL + sed -e 's/-lGLU -lGLEW -lGL//' \ + -i ${srcdir}/XBMC/tools/XBMCTex/Makefile + + # Now (finally) build + make || return 1 + make prefix=${pkgdir}/usr install || return 1 + + # Fix the shell script + sed -i '4iexport SDL_AUDIODRIVER=alsa' ${pkgdir}/usr/bin/xbmc + + # Xrandr + install -Dm755 ${srcdir}/XBMC/xbmc-xrandr \ + ${pkgdir}/usr/share/xbmc/xbmc-xrandr || return 1 + + # Menu item + install -Dm644 ${srcdir}/XBMC/tools/Linux/xbmc.desktop \ + ${pkgdir}/usr/share/applications/xbmc.desktop || return 1 + install -Dm644 ${srcdir}/XBMC/tools/Linux/xbmc.png \ + ${pkgdir}/usr/share/pixmaps/xbmc.png || return 1 + + # XBMCTex + install -Dm755 ${srcdir}/XBMC/tools/XBMCTex/XBMCTex \ + ${pkgdir}/usr/share/xbmc/tools/xbmctex || return 1 + + # License(s) + install -dm755 ${pkgdir}/usr/share/licenses/${pkgname} + for licensef in LICENSE.GPL README.linux copying.txt; do + mv ${pkgdir}/usr/share/xbmc/${licensef} \ + ${pkgdir}/usr/share/licenses/${pkgname} || return 1 + done +} diff --git a/abs/extra-testing/community/xbmc/xbmc.install b/abs/extra-testing/community/xbmc/xbmc.install new file mode 100644 index 0000000..9316bc8 --- /dev/null +++ b/abs/extra-testing/community/xbmc/xbmc.install @@ -0,0 +1,9 @@ +post_install() { + echo ">> If XBMC won't start, but just segfaults, double check your X.Org config" + echo ">> so that your display depth is at least 24-bit. Eg: change " + echo ">> \"DefaultDepth 16\" under the \"Screen\" section so it says 24 instead" + echo ">> of 16." + /bin/true +} + +# vim:set ts=2 sw=2 et: diff --git a/abs/extra-testing/glew/PKGBUILD b/abs/extra-testing/glew/PKGBUILD new file mode 100644 index 0000000..989621b --- /dev/null +++ b/abs/extra-testing/glew/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 27226 2009-02-17 05:43:56Z eric $ +# AUR-Maintainer: William Rea <sillywilly@gmail.com> +# Contributor: SleepyDog + +pkgname=glew +pkgver=1.5.1 +pkgrel=1 +pkgdesc="A cross-platform C/C++ extension loading library" +arch=('i686' 'x86_64') +url="http://glew.sourceforge.net" +license=('BSD' 'MIT' 'GPL') +depends=('libxmu' 'libxi' 'mesa') +makedepends=('hd2u') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-src.tgz) +md5sums=('759a59853dfaae4d007b414a3c1712f2') + +build() { + cd ${startdir}/src/${pkgname} + dos2unix config/config.guess + make || return 1 + make GLEW_DEST=${startdir}/pkg/usr LIBDIR=${startdir}/pkg/usr/lib install || return 1 + install -D -m644 LICENSE.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE.txt || return 1 +} diff --git a/abs/extra-testing/hd2u/PKGBUILD b/abs/extra-testing/hd2u/PKGBUILD new file mode 100644 index 0000000..8cde95c --- /dev/null +++ b/abs/extra-testing/hd2u/PKGBUILD @@ -0,0 +1,21 @@ +# $Id: PKGBUILD 13676 2008-09-27 21:20:46Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Damir Perisa <damir.perisa@bluewin.ch> + +pkgname=hd2u +pkgver=1.0.3 +pkgrel=1 +pkgdesc="Dos2Unix text file converter" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://hany.sk/~hany/software/hd2u/" +depends=('popt') +source=(http://hany.sk/~hany/_data/hd2u/$pkgname-$pkgver.tgz) +md5sums=('8f6668fafb279aa19f956ec0515717b6') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make || return 1 + make prefix=$pkgdir/usr install +} diff --git a/abs/extra-testing/libjpeg/PKGBUILD b/abs/extra-testing/libjpeg/PKGBUILD new file mode 100644 index 0000000..996ae6c --- /dev/null +++ b/abs/extra-testing/libjpeg/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 19605 2008-11-28 10:52:08Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Committer: Judd Vinet <jvinet@zeroflux.org> + +pkgname=libjpeg +pkgver=6b +pkgrel=6 +pkgdesc="Library of JPEG support functions" +arch=('i686' 'x86_64') +url="http://www.ijg.org/" +license=('custom') +depends=('glibc') +makedepends=('libtool') +options=(!libtool) +source=(ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v$pkgver.tar.gz) +md5sums=('dbd5f3b47ed13132f04c685d608a7547') + +build() { + cd $srcdir/jpeg-$pkgver + cp /usr/share/libtool/config/config.{guess,sub} . + sed -i "s#./libtool#libtool#" configure + ./configure --prefix=/usr --enable-shared --enable-static + make || return 1 + mkdir -p $pkgdir/usr/{bin,lib,include,share/man/man1} + make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man/man1 install + install -m644 jpegint.h $pkgdir/usr/include + install -Dm644 README $pkgdir/usr/share/licenses/libjpeg/README +} diff --git a/abs/extra-testing/xmlrpc-c/PKGBUILD b/abs/extra-testing/xmlrpc-c/PKGBUILD new file mode 100644 index 0000000..4a1057e --- /dev/null +++ b/abs/extra-testing/xmlrpc-c/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Pierre Schmitz <pierre@archlinux.de> +# Contributor: Vitaliy Berdinskikh <skipper13@root.ua> + +pkgname=xmlrpc-c +pkgver=1.06.32 +pkgrel=1 +pkgdesc='This library provides a modular implementation of XML-RPC for C and C++' +arch=('i686' 'x86_64') +url='http://xmlrpc-c.sourceforge.net/' +license=('custom') +depends=('curl' 'libxml2') +makedepends=('libtool') +options=('!makeflags' '!libtool') +source=("http://downloads.sourceforge.net/xmlrpc-c/xmlrpc-c-${pkgver}.tgz") +md5sums=('1a5a0771a22e75819d90e7fab38ef377') + +build() { + [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC" + + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr \ + --enable-libxml2-backend \ + --disable-cgi-server \ + --disable-abyss-server \ + --disable-libwww-client \ + --disable-wininet-client + + make CFLAGS_PERSONAL="${CFLAGS}" || return 1 + make DESTDIR=$pkgdir install + + install -m 644 -D doc/COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING +} diff --git a/abs/extra-testing/xscreensaver/PKGBUILD b/abs/extra-testing/xscreensaver/PKGBUILD index e94b173..1ffd9fb 100644 --- a/abs/extra-testing/xscreensaver/PKGBUILD +++ b/abs/extra-testing/xscreensaver/PKGBUILD @@ -4,7 +4,7 @@ pkgname=xscreensaver pkgver=5.08 -pkgrel=3 +pkgrel=4 pkgdesc="Screen saver and locker for the X Window System" arch=('i686' 'x86_64') url="http://www.jwz.org/xscreensaver/" @@ -28,7 +28,7 @@ build() { --with-pam --without-motif \ --with-gtk --without-gnome --with-xml --with-gl \ --without-gle --with-xpm --with-pixbuf --with-jpeg \ - --with-fortune="/bin/cat /etc/arch-release" || return 1 + --with-fortune="/bin/cat /etc/LinHES-release" || return 1 make || return 1 make install_prefix=${pkgdir} install || return 1 install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 |