From 839df58b3e0710d90fb09388ab2797d47caa79ec Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Sep 2013 03:11:54 -0700 Subject: Wed Sep 25 03:02:22 PDT 2013 --- community/dbmail/PKGBUILD | 6 +- community/libcryptui/PKGBUILD | 30 ----- community/libcryptui/libcryptui.install | 11 -- community/libzdb/PKGBUILD | 6 +- community/perl-xml-libxml/PKGBUILD | 6 +- community/redis/PKGBUILD | 14 ++- community/seahorse-nautilus/PKGBUILD | 35 ------ community/seahorse-nautilus/glib236.patch | 12 -- .../seahorse-nautilus/seahorse-nautilus.install | 12 -- community/tigervnc/PKGBUILD | 4 +- extra/gssdp/PKGBUILD | 6 +- extra/gupnp/PKGBUILD | 6 +- extra/libcryptui/PKGBUILD | 30 +++++ extra/libcryptui/libcryptui.install | 11 ++ extra/seahorse-nautilus/PKGBUILD | 35 ++++++ extra/seahorse-nautilus/glib236.patch | 12 ++ extra/seahorse-nautilus/seahorse-nautilus.install | 12 ++ extra/system-config-printer/PKGBUILD | 2 +- extra/xine-lib/PKGBUILD | 18 ++- extra/xine-lib/accel_vaapi.h | 135 --------------------- pcr/gnomeradio/PKGBUILD | 49 ++++++++ pcr/gnomeradio/gnomeradio.install | 11 ++ pcr/youtube-dl-current/PKGBUILD | 5 +- 23 files changed, 196 insertions(+), 272 deletions(-) delete mode 100644 community/libcryptui/PKGBUILD delete mode 100644 community/libcryptui/libcryptui.install delete mode 100644 community/seahorse-nautilus/PKGBUILD delete mode 100644 community/seahorse-nautilus/glib236.patch delete mode 100644 community/seahorse-nautilus/seahorse-nautilus.install create mode 100644 extra/libcryptui/PKGBUILD create mode 100644 extra/libcryptui/libcryptui.install create mode 100644 extra/seahorse-nautilus/PKGBUILD create mode 100644 extra/seahorse-nautilus/glib236.patch create mode 100644 extra/seahorse-nautilus/seahorse-nautilus.install delete mode 100644 extra/xine-lib/accel_vaapi.h create mode 100644 pcr/gnomeradio/PKGBUILD create mode 100644 pcr/gnomeradio/gnomeradio.install diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD index 7c01f87fc..9fcbd0bf3 100644 --- a/community/dbmail/PKGBUILD +++ b/community/dbmail/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 97130 2013-09-13 12:35:47Z spupykin $ +# $Id: PKGBUILD 97584 2013-09-24 15:30:40Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Sebastian Faltoni pkgname=dbmail -pkgver=3.1.6 +pkgver=3.1.7 pkgrel=1 pkgdesc="Fast and scalable sql based mail services" arch=('i686' 'x86_64') @@ -27,7 +27,7 @@ source=("http://www.dbmail.org/download/3.1/dbmail-${pkgver}.tar.gz" "dbmail-timsieved.xinetd" "dbmail-6-sieve.patch::http://git.dbmail.eu/paul/dbmail/patch/?id=92b98094a01eda5efe3ba3080e529482d08945a2" "dbmail-7-systemd.diff") -md5sums=('67f119c18551de066fc90086847d24d3' +md5sums=('8383661963099b29380a55ddc50dbbda' '890de13361afbdf4fed12d6d7eb53e66' '961593658cd596297d03d25eb9c9e98f' '4cb764894abd3914802e90602bf90a0c' diff --git a/community/libcryptui/PKGBUILD b/community/libcryptui/PKGBUILD deleted file mode 100644 index 137be3426..000000000 --- a/community/libcryptui/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# $Id: PKGBUILD 87353 2013-03-30 10:43:50Z bgyorgy $ -# Maintainer: Balló György - -pkgname=libcryptui -pkgver=3.8.0 -pkgrel=1 -pkgdesc="Library for OpenPGP prompts" -arch=('i686' 'x86_64') -url="http://git.gnome.org/browse/libcryptui/" -license=('GPL') -depends=('gtk3' 'gpgme' 'dbus-glib' 'libnotify' 'libgnome-keyring' 'dconf') -makedepends=('intltool' 'gobject-introspection') -options=('!libtool') -install=$pkgname.install -source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('10eed96e33b6d7286795a7c678a5655a86ae099fb98d1f7211aa28aa636c0837') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-static --disable-schemas-compile - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir/" install -} diff --git a/community/libcryptui/libcryptui.install b/community/libcryptui/libcryptui.install deleted file mode 100644 index 7a903e80c..000000000 --- a/community/libcryptui/libcryptui.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - glib-compile-schemas usr/share/glib-2.0/schemas -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} diff --git a/community/libzdb/PKGBUILD b/community/libzdb/PKGBUILD index 9dd495e5f..0f850bc10 100644 --- a/community/libzdb/PKGBUILD +++ b/community/libzdb/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 96630 2013-09-02 14:51:26Z spupykin $ +# $Id: PKGBUILD 97586 2013-09-24 15:30:59Z spupykin $ # Maintainer: Sergej Pupykin pkgname=libzdb -pkgver=2.11.3 +pkgver=2.12 pkgrel=1 pkgdesc="Zild Database Library" arch=('i686' 'x86_64') @@ -11,7 +11,7 @@ license=('GPL') depends=('postgresql-libs' 'sqlite' 'libmariadbclient') options=('!libtool') source=(http://www.tildeslash.com/libzdb/dist/libzdb-$pkgver.tar.gz) -md5sums=('49c55f02e5b82110cd9007e215d58468') +md5sums=('dd95114cae471d1b5dfda1f263b222c1') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/perl-xml-libxml/PKGBUILD b/community/perl-xml-libxml/PKGBUILD index 7112cc1fb..f6bbd8c00 100644 --- a/community/perl-xml-libxml/PKGBUILD +++ b/community/perl-xml-libxml/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 96923 2013-09-08 17:48:32Z jsteel $ +# $Id: PKGBUILD 97592 2013-09-24 21:06:57Z jsteel $ # Maintainer: Jonathan Steel # Contributor: Justin "juster" Davis # Contributor: François Charette pkgname=perl-xml-libxml -pkgver=2.0105 +pkgver=2.0106 pkgrel=1 pkgdesc="Interface to the libxml library" arch=('i686' 'x86_64') @@ -17,7 +17,7 @@ conflicts=('perl-libxml' 'perl-xml-libxml-common') options=('!emptydirs') install=$pkgname.install source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz) -md5sums=('7b278ec58427808a0dbe008ef760da7f') +md5sums=('5da8ecfdedccca81fe0821e9935fe11c') build() { cd XML-LibXML-$pkgver diff --git a/community/redis/PKGBUILD b/community/redis/PKGBUILD index ce1944df0..1683734c9 100644 --- a/community/redis/PKGBUILD +++ b/community/redis/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 96458 2013-08-29 15:11:24Z spupykin $ +# $Id: PKGBUILD 97559 2013-09-24 10:30:40Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Jan-Erik Rediger # Contributor: nofxx .com> pkgname=redis pkgver=2.6.16 -pkgrel=1 +pkgrel=2 pkgdesc="Advanced key-value store" arch=('i686' 'x86_64') url="http://redis.io/" @@ -27,12 +27,15 @@ md5sums=('ca1b81bd56fe0c5e2c8ec443a95c908d' prepare() { cd "$srcdir/${pkgname}-${pkgver}" sed -i 's|# bind 127.0.0.1|bind 127.0.0.1|' redis.conf + sed -i 's|daemonize no|daemonize yes|' redis.conf + sed -i 's|dir \./|dir /var/lib/redis/|' redis.conf sed -i 's|pidfile .*|pidfile /run/redis/redis.pid|' redis.conf + sed -i 's|logfile stdout|logfile /var/log/redis.log|' redis.conf } build() { cd "$srcdir/${pkgname}-${pkgver}" - make MALLOC=libc + make } package() { @@ -40,10 +43,9 @@ package() { mkdir -p $pkgdir/usr/bin make INSTALL_BIN="$pkgdir/usr/bin" PREFIX=/usr install - install -D -m755 "$srcdir/${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/redis/COPYING" + install -Dm755 "$srcdir/${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/redis/COPYING" install -Dm644 "$srcdir"/redis.service "$pkgdir"/usr/lib/systemd/system/redis.service install -Dm644 "$srcdir/redis.logrotate" "$pkgdir/etc/logrotate.d/redis" - sed -i 's|daemonize no|daemonize yes|;s|dir \./|dir /var/lib/redis/|;s|logfile stdout|logfile /var/log/redis.log| ' $srcdir/${pkgname}-${pkgver}/redis.conf - install -D -m644 "$srcdir/${pkgname}-${pkgver}/redis.conf" "$pkgdir/etc/redis.conf" + install -Dm644 "$srcdir/${pkgname}-${pkgver}/redis.conf" "$pkgdir/etc/redis.conf" install -Dm644 "$srcdir/redis.tmpfiles.d" "$pkgdir/usr/lib/tmpfiles.d/redis.conf" } diff --git a/community/seahorse-nautilus/PKGBUILD b/community/seahorse-nautilus/PKGBUILD deleted file mode 100644 index 8609d920c..000000000 --- a/community/seahorse-nautilus/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# $Id: PKGBUILD 89362 2013-04-28 20:39:50Z bgyorgy $ -# Maintainer: Balló György - -pkgname=seahorse-nautilus -pkgver=3.8.0 -pkgrel=2 -pkgdesc="PGP encryption and signing for nautilus" -arch=('i686' 'x86_64') -url="http://git.gnome.org/browse/seahorse-nautilus/" -license=('GPL') -depends=('libcryptui' 'gcr' 'nautilus') -makedepends=('intltool') -options=('!libtool') -install=$pkgname.install -source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz - glib236.patch) -sha256sums=('8173ef08a700ff254fb5637a7f2138ba7625b19ed2102a82fd69f1ecb8072863' - '0cefa14a45784c82871815e9bdcebbb96dea50a8e43316475e6a36d5dc47ade5') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # Fix compatibility with glib 2.36 - patch -Np1 -i "$srcdir/glib236.patch" - - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-static --disable-schemas-compile - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir/" install -} diff --git a/community/seahorse-nautilus/glib236.patch b/community/seahorse-nautilus/glib236.patch deleted file mode 100644 index d0ab03046..000000000 --- a/community/seahorse-nautilus/glib236.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur seahorse-nautilus-3.8.0.orig/tool/seahorse-tool-progress.c seahorse-nautilus-3.8.0/tool/seahorse-tool-progress.c ---- seahorse-nautilus-3.8.0.orig/tool/seahorse-tool-progress.c 2011-10-24 09:25:37.000000000 +0200 -+++ seahorse-nautilus-3.8.0/tool/seahorse-tool-progress.c 2013-04-28 22:26:54.483276592 +0200 -@@ -226,8 +226,6 @@ - progress_fd = -1; - return; - } -- -- g_child_watch_add (progress_pid, progress_cancel, NULL); - } - - void diff --git a/community/seahorse-nautilus/seahorse-nautilus.install b/community/seahorse-nautilus/seahorse-nautilus.install deleted file mode 100644 index 21f12fbda..000000000 --- a/community/seahorse-nautilus/seahorse-nautilus.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - glib-compile-schemas usr/share/glib-2.0/schemas - update-desktop-database -q -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} diff --git a/community/tigervnc/PKGBUILD b/community/tigervnc/PKGBUILD index a37192c1e..ef059484d 100644 --- a/community/tigervnc/PKGBUILD +++ b/community/tigervnc/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 94384 2013-07-22 13:59:43Z spupykin $ +# $Id: PKGBUILD 97561 2013-09-24 10:31:09Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Uroš Vampl pkgname=tigervnc pkgver=1.3.0 -pkgrel=2 +pkgrel=3 _xorgver=1.14.2 pkgdesc="suite of VNC servers and clients. VNC 4 branch of TightVNC." arch=('i686' 'x86_64') diff --git a/extra/gssdp/PKGBUILD b/extra/gssdp/PKGBUILD index 83206c8f6..c6772feef 100644 --- a/extra/gssdp/PKGBUILD +++ b/extra/gssdp/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 191762 2013-07-30 09:58:58Z heftig $ +# $Id: PKGBUILD 194952 2013-09-24 10:27:03Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: György Balló pkgname=gssdp -pkgver=0.14.4 +pkgver=0.14.5 pkgrel=1 pkgdesc="A GObject-based API for handling resource discovery and announcement over SSDP" arch=(i686 x86_64) @@ -14,7 +14,7 @@ makedepends=(gobject-introspection gtk3 gtk-doc vala) optdepends=('gtk3: gssdp-device-sniffer') options=('!libtool') source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('ed93fa1555a7032fa1e2b24eeef17d20a2275ee8b1682f28ac48640d6f2112ac') +sha256sums=('e847940a852c968d18c7ca044783e9b938c84c3b5f53978a29b636bf95c91af1') build() { cd $pkgname-$pkgver diff --git a/extra/gupnp/PKGBUILD b/extra/gupnp/PKGBUILD index 25b0769c7..20824c6b8 100644 --- a/extra/gupnp/PKGBUILD +++ b/extra/gupnp/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 193457 2013-08-20 18:30:50Z heftig $ +# $Id: PKGBUILD 194953 2013-09-24 10:27:41Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: György Balló pkgname=gupnp -pkgver=0.20.5 +pkgver=0.20.6 pkgrel=1 pkgdesc="An object-oriented UPNP framework" arch=(i686 x86_64) @@ -14,7 +14,7 @@ makedepends=(gobject-introspection gtk-doc vala) optdepends=('python2: gupnp-binding-tool') options=('!libtool') source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('be54bd5f3bfea36d689a5ce70679e51ec3ea3c94677e70ffc7c7ef160bffb260') +sha256sums=('1b4ed7de9fdf2da2a5610a0101271f1661706e6481737d7a2ac0f318b5b2dbaa') build() { cd $pkgname-$pkgver diff --git a/extra/libcryptui/PKGBUILD b/extra/libcryptui/PKGBUILD new file mode 100644 index 000000000..f4d753985 --- /dev/null +++ b/extra/libcryptui/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 194933 2013-09-24 09:51:27Z heftig $ +# Maintainer: Balló György + +pkgname=libcryptui +pkgver=3.8.0 +pkgrel=1 +pkgdesc="Library for OpenPGP prompts" +arch=('i686' 'x86_64') +url="http://git.gnome.org/browse/libcryptui/" +license=('GPL') +depends=('gtk3' 'gpgme' 'dbus-glib' 'libnotify' 'libgnome-keyring' 'dconf') +makedepends=('intltool' 'gobject-introspection') +options=('!libtool') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('10eed96e33b6d7286795a7c678a5655a86ae099fb98d1f7211aa28aa636c0837') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/extra/libcryptui/libcryptui.install b/extra/libcryptui/libcryptui.install new file mode 100644 index 000000000..7a903e80c --- /dev/null +++ b/extra/libcryptui/libcryptui.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/extra/seahorse-nautilus/PKGBUILD b/extra/seahorse-nautilus/PKGBUILD new file mode 100644 index 000000000..8b3765ac9 --- /dev/null +++ b/extra/seahorse-nautilus/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 194930 2013-09-24 09:45:38Z heftig $ +# Maintainer: Balló György + +pkgname=seahorse-nautilus +pkgver=3.8.0 +pkgrel=2 +pkgdesc="PGP encryption and signing for nautilus" +arch=('i686' 'x86_64') +url="http://git.gnome.org/browse/seahorse-nautilus/" +license=('GPL') +depends=('libcryptui' 'gcr' 'nautilus') +makedepends=('intltool') +options=('!libtool') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz + glib236.patch) +sha256sums=('8173ef08a700ff254fb5637a7f2138ba7625b19ed2102a82fd69f1ecb8072863' + '0cefa14a45784c82871815e9bdcebbb96dea50a8e43316475e6a36d5dc47ade5') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Fix compatibility with glib 2.36 + patch -Np1 -i "$srcdir/glib236.patch" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/extra/seahorse-nautilus/glib236.patch b/extra/seahorse-nautilus/glib236.patch new file mode 100644 index 000000000..d0ab03046 --- /dev/null +++ b/extra/seahorse-nautilus/glib236.patch @@ -0,0 +1,12 @@ +diff -Naur seahorse-nautilus-3.8.0.orig/tool/seahorse-tool-progress.c seahorse-nautilus-3.8.0/tool/seahorse-tool-progress.c +--- seahorse-nautilus-3.8.0.orig/tool/seahorse-tool-progress.c 2011-10-24 09:25:37.000000000 +0200 ++++ seahorse-nautilus-3.8.0/tool/seahorse-tool-progress.c 2013-04-28 22:26:54.483276592 +0200 +@@ -226,8 +226,6 @@ + progress_fd = -1; + return; + } +- +- g_child_watch_add (progress_pid, progress_cancel, NULL); + } + + void diff --git a/extra/seahorse-nautilus/seahorse-nautilus.install b/extra/seahorse-nautilus/seahorse-nautilus.install new file mode 100644 index 000000000..21f12fbda --- /dev/null +++ b/extra/seahorse-nautilus/seahorse-nautilus.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/extra/system-config-printer/PKGBUILD b/extra/system-config-printer/PKGBUILD index c2f2c9b30..5be8d020b 100644 --- a/extra/system-config-printer/PKGBUILD +++ b/extra/system-config-printer/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 186929 2013-06-01 08:46:45Z andrea $ +# $Id: PKGBUILD 195061 2013-09-24 21:23:17Z eric $ # Maintainer: # Contributor: Andrea Scarpino diff --git a/extra/xine-lib/PKGBUILD b/extra/xine-lib/PKGBUILD index 8d6809fee..ac6c1347f 100644 --- a/extra/xine-lib/PKGBUILD +++ b/extra/xine-lib/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 193690 2013-08-28 00:06:11Z eric $ +# $Id: PKGBUILD 195056 2013-09-24 20:09:11Z eric $ # Maintainer: Eric Bélanger pkgname=xine-lib -pkgver=1.2.3 -pkgrel=4 +pkgver=1.2.4 +pkgrel=1 pkgdesc="A multimedia playback engine" arch=('i686' 'x86_64') url="http://www.xine-project.org" @@ -28,15 +28,11 @@ optdepends=('imagemagick: for using the imagemagick plugin' \ 'libcaca: for using the caca plugin' \ 'libbluray: for using the bluray plugin' \ 'gnome-vfs: for using the gnome-vfs plugin' \ - 'libvdpau: for using the VDPAU plugin') + 'libvdpau: for using the VDPAU plugin' \ + 'smbclient: for using the samba plugin') options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz accel_vaapi.h) -sha1sums=('6f9ef4ba75688659052d21448d46527db2b77e57' - '08ed9947ef919c71c87151baa8fc0ce7d8f72050') - -prepare() { - cp accel_vaapi.h ${pkgname}-${pkgver}/src/xine-engine/ -} +source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz) +sha1sums=('32267c5fcaa1439a5fbf7606d27dc4fafba9e504') build() { cd ${pkgname}-${pkgver} diff --git a/extra/xine-lib/accel_vaapi.h b/extra/xine-lib/accel_vaapi.h deleted file mode 100644 index 666b23fd6..000000000 --- a/extra/xine-lib/accel_vaapi.h +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Copyright (C) 2008 the xine project - * - * This file is part of xine, a free video player. - * - * xine is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * xine is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA - * - * - * Common acceleration definitions for vdpau - * - * - */ - -#ifndef HAVE_XINE_ACCEL_VAAPI_H -#define HAVE_XINE_ACCEL_VAAPI_H - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include -#include -#ifdef HAVE_FFMPEG_AVUTIL_H -# include -#else -# include -#endif - -#if LIBAVCODEC_VERSION_MAJOR >= 53 || (LIBAVCODEC_VERSION_MAJOR == 52 && LIBAVCODEC_VERSION_MINOR >= 32) -# define AVVIDEO 2 -#else -# define AVVIDEO 1 -# define pp_context pp_context_t -# define pp_mode pp_mode_t -#endif - -#define NUM_OUTPUT_SURFACES 22 - -#define SURFACE_FREE 0 -#define SURFACE_ALOC 1 -#define SURFACE_RELEASE 2 -#define SURFACE_RENDER 3 -#define SURFACE_RENDER_RELEASE 5 - -struct vaapi_equalizer { - VADisplayAttribute brightness; - VADisplayAttribute contrast; - VADisplayAttribute hue; - VADisplayAttribute saturation; -}; - -typedef struct ff_vaapi_context_s ff_vaapi_context_t; - -struct ff_vaapi_context_s { - VADisplay va_display; - VAContextID va_context_id; - VAConfigID va_config_id; - int width; - int height; - int sw_width; - int sw_height; - int va_profile; - unsigned int va_colorspace; - VAImage va_subpic_image; - VASubpictureID va_subpic_id; - int va_subpic_width; - int va_subpic_height; - int is_bound; - void *gl_surface; - unsigned int soft_head; - unsigned int valid_context; - unsigned int va_head; - unsigned int va_soft_head; - vo_driver_t *driver; - unsigned int last_sub_image_fmt; - VASurfaceID last_sub_surface_id; - struct vaapi_equalizer va_equalizer; - VAImageFormat *va_image_formats; - int va_num_image_formats; - VAImageFormat *va_subpic_formats; - int va_num_subpic_formats; -}; - -typedef struct ff_vaapi_surface_s ff_vaapi_surface_t; -typedef struct vaapi_accel_s vaapi_accel_t; - -struct ff_vaapi_surface_s { - unsigned int index; - vaapi_accel_t *accel; - VASurfaceID va_surface_id; - unsigned int status; -}; - -struct vaapi_accel_s { - unsigned int index; - vo_frame_t *vo_frame; - -#if AVVIDEO > 1 - int (*avcodec_decode_video2)(vo_frame_t *frame_gen, AVCodecContext *avctx, AVFrame *picture, - int *got_picture_ptr, AVPacket *avpkt); -#else - int (*avcodec_decode_video)(vo_frame_t *frame_gen, AVCodecContext *avctx, AVFrame *picture, - int *got_picture_ptr, uint8_t *buf, int buf_size); -#endif - VAStatus (*vaapi_init)(vo_frame_t *frame_gen, int va_profile, int width, int height, int softrender); - int (*profile_from_imgfmt)(vo_frame_t *frame_gen, enum PixelFormat pix_fmt, int codec_id, int vaapi_mpeg_sofdec); - ff_vaapi_context_t *(*get_context)(vo_frame_t *frame_gen); - int (*guarded_render)(vo_frame_t *frame_gen); - ff_vaapi_surface_t *(*get_vaapi_surface)(vo_frame_t *frame_gen); - void (*render_vaapi_surface)(vo_frame_t *frame_gen, ff_vaapi_surface_t *va_surface); - void (*release_vaapi_surface)(vo_frame_t *frame_gen, ff_vaapi_surface_t *va_surface); -}; - -#ifdef __cplusplus -} -#endif - -#endif - diff --git a/pcr/gnomeradio/PKGBUILD b/pcr/gnomeradio/PKGBUILD new file mode 100644 index 000000000..1fa76de08 --- /dev/null +++ b/pcr/gnomeradio/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: none +# Contributor: Luke Shumaker +# Maintainer (AUR): tritonas00 +# Contributor: Ivan Rojas + +# Because gnomeradio is written against ancient libraries, we must patch it to +# compile and work on a modern system. Let's just grab the patch series that +# Debian uses. +_debver=1.8-2 # which patches to grab from Debian +_debrepo=http://ftp.debian.org/debian/pool/main +_debfile() { echo "${_debrepo}/${1:0:1}/${1}/${1}_${2}"; } + +pkgname=gnomeradio +pkgver=1.8 +pkgrel=6.1 +pkgdesc="An FM-radio tuner for the GNOME desktop" +url="https://projects.gnome.org/gnomeradio/" +license=('GPL') +arch=('i686' 'x86_64') +install=gnomeradio.install +depends=(libgnome-media-profiles lirc-utils hicolor-icon-theme) +makedepends=(gnome-doc-utils intltool gnome-vfs libgnomeui v4l-utils) +source=(https://launchpad.net/$pkgname/stable/$pkgver/+download/$pkgname-$pkgver.tar.gz + $(_debfile "$pkgname" "$_debver").debian.tar.gz) + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + while read -r patchfile; do + patch -p1 -i "$srcdir/debian/patches/$patchfile" + done <"$srcdir/debian/patches/series" + autoconf +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + LIBS=-lm ./configure --prefix=/usr --sysconfdir=/etc --disable-scrollkeeper \ + --disable-install-schemas + make +} + +package () { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + mkdir "$pkgdir"/usr/share/pixmaps + install data/icons/scalable/gnomeradio.svg "$pkgdir"/usr/share/pixmaps/gnomeradio.svg +} + +md5sums=('26f07c432dffeebec3cc904f99295427' + '019ce748f8463d3eaebbb3e88d18d3e0') diff --git a/pcr/gnomeradio/gnomeradio.install b/pcr/gnomeradio/gnomeradio.install new file mode 100644 index 000000000..1a05f573e --- /dev/null +++ b/pcr/gnomeradio/gnomeradio.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/pcr/youtube-dl-current/PKGBUILD b/pcr/youtube-dl-current/PKGBUILD index 1f7b10296..011a91bdc 100644 --- a/pcr/youtube-dl-current/PKGBUILD +++ b/pcr/youtube-dl-current/PKGBUILD @@ -5,7 +5,7 @@ pkgname=youtube-dl-current _pkgname=youtube-dl provides=(youtube-dl) -pkgver=2013.09.20.1 +pkgver=2013.09.24.2 pkgrel=1 pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites" arch=('any') @@ -28,5 +28,6 @@ package() { install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" } -md5sums=('ee26e1e7558bd5f411aae9b1bf9e7e47' + +md5sums=('f62dcb15581a3ce35cfc323bf9aed905' 'SKIP') -- cgit v1.2.3-54-g00ecf