diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2012-01-09 13:47:51 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2012-01-09 13:47:51 +0000 |
commit | 7a3611f5caa5e34c1f2b582640f97b733110ae63 (patch) | |
tree | 5b0baf1ad1b36444ffbf73707a377b15fc67692f /community/handbrake | |
parent | 46783b68621b6ad45cdd9ed64cfa8cdcfbc6f318 (diff) |
Mon Jan 9 13:47:49 UTC 2012
Diffstat (limited to 'community/handbrake')
-rw-r--r-- | community/handbrake/PKGBUILD | 54 | ||||
-rw-r--r-- | community/handbrake/dbus-glib.patch | 12 | ||||
-rw-r--r-- | community/handbrake/handbrake.install | 9 | ||||
-rw-r--r-- | community/handbrake/libnotify-0.7.patch | 30 |
4 files changed, 0 insertions, 105 deletions
diff --git a/community/handbrake/PKGBUILD b/community/handbrake/PKGBUILD deleted file mode 100644 index 3aad96f48..000000000 --- a/community/handbrake/PKGBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# $Id: PKGBUILD 41565 2011-03-07 21:41:40Z ibiru $ -# Maintainer: Evangelos Foutras <foutrelis@gmail.com> -# Contributor: Giovanni Scafora <giovanni@archlinux.org> -# Contributor: Sebastien Piccand <sebcactus gmail com> - -pkgname=('handbrake' 'handbrake-cli') -pkgver=0.9.5 -pkgrel=2 -arch=('i686' 'x86_64') -url="http://handbrake.fr/" -license=('GPL') -makedepends=('intltool' 'python2' 'yasm' 'wget' 'bzip2' 'gcc-libs' 'libnotify' - 'gstreamer0.10-base' 'gtk2' 'dbus-glib') -source=(http://downloads.sourceforge.net/project/handbrake/$pkgver/HandBrake-$pkgver.tar.bz2 - dbus-glib.patch libnotify-0.7.patch) -md5sums=('e17d3663fc36a985fe43e188695e3196' - 'f8c2a3b258b2c30ef4abb28cee80f8d4' - 'd56bf38d8e1a1d373e5f3b69522958b1') - -build() { - cd "$srcdir/HandBrake-$pkgver" - - patch -Np1 -i $srcdir/dbus-glib.patch - patch -Np1 -i $srcdir/libnotify-0.7.patch - - # Use Python 2 - sed -i 's/python /python2 /' gtk/src/Makefile.am - - ./configure --prefix=/usr --force --disable-gtk-update-checks - cd build - make -} - -package_handbrake() { - pkgdesc="Multithreaded video transcoder" - depends=('bzip2' 'gcc-libs' 'gstreamer0.10-base' 'libnotify' - 'hicolor-icon-theme') - install=$pkgname.install - - cd "$srcdir/HandBrake-$pkgver/build" - - make DESTDIR="$pkgdir" install - rm "$pkgdir/usr/bin/HandBrakeCLI" -} - -package_handbrake-cli() { - pkgdesc="Multithreaded video transcoder (CLI)" - depends=('bzip2' 'gcc-libs' 'zlib') - - cd "$srcdir/HandBrake-$pkgver/build" - install -D HandBrakeCLI "$pkgdir/usr/bin/HandBrakeCLI" -} - -# vim:set ts=2 sw=2 et: diff --git a/community/handbrake/dbus-glib.patch b/community/handbrake/dbus-glib.patch deleted file mode 100644 index 602918a65..000000000 --- a/community/handbrake/dbus-glib.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur HandBrake-0.9.5.orig/gtk/configure.ac HandBrake-0.9.5/gtk/configure.ac ---- HandBrake-0.9.5.orig/gtk/configure.ac 2011-03-07 13:06:20.333338164 -0800 -+++ HandBrake-0.9.5/gtk/configure.ac 2011-03-07 13:07:46.346670456 -0800 -@@ -94,7 +94,7 @@ - mingw_flag=yes - ;; - *) -- GHB_PACKAGES="gtk+-2.0 >= 2.10 gthread-2.0 gstreamer-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10 gstreamer-pbutils-0.10 gio-2.0 libnotify gudev-1.0" -+ GHB_PACKAGES="gtk+-2.0 >= 2.10 gthread-2.0 gstreamer-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10 gstreamer-pbutils-0.10 gio-2.0 libnotify gudev-1.0 dbus-glib-1" - mingw_flag=no - ;; - esac diff --git a/community/handbrake/handbrake.install b/community/handbrake/handbrake.install deleted file mode 100644 index 7aaea8154..000000000 --- a/community/handbrake/handbrake.install +++ /dev/null @@ -1,9 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -# vim:set ts=2 sw=2 et: diff --git a/community/handbrake/libnotify-0.7.patch b/community/handbrake/libnotify-0.7.patch deleted file mode 100644 index 0def15254..000000000 --- a/community/handbrake/libnotify-0.7.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Nur HandBrake-0.9.5.orig/gtk/src/callbacks.c HandBrake-0.9.5/gtk/src/callbacks.c ---- HandBrake-0.9.5.orig/gtk/src/callbacks.c 2011-03-07 13:06:20.333338164 -0800 -+++ HandBrake-0.9.5/gtk/src/callbacks.c 2011-03-07 13:21:32.973338933 -0800 -@@ -39,6 +39,10 @@ - #endif - - #include <libnotify/notify.h> -+#ifndef NOTIFY_CHECK_VERSION -+#define NOTIFY_CHECK_VERSION(x,y,z) 0 -+#endif -+ - #include <gdk/gdkx.h> - #else - #define WINVER 0x0500 -@@ -4889,9 +4893,13 @@ - notification = notify_notification_new( - "Encode Complete", - "Put down that cocktail, Your HandBrake queue is done!", -- "hb-icon", -- NULL); -+ "hb-icon" -+#if NOTIFY_CHECK_VERSION (0, 7, 0) -+ ); -+#else -+ ,NULL); - notify_notification_attach_to_status_icon(notification, si); -+#endif - g_signal_connect(notification, "closed", (GCallback)notify_closed_cb, ud); - notify_notification_show(notification, NULL); - #endif |