Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a1e108828680fb7418089b191e655b17527a3e44
commit a1e108828680fb7418089b191e655b17527a3e44 Author: Devil505 <devil505li...@gmail.com> Date: Sun Oct 30 18:14:34 2011 +0100 handbrake-0.9.5-2-i686 * added patch for libnotify 0.7 diff --git a/source/xmultimedia-extra/handbrake/FrugalBuild b/source/xmultimedia-extra/handbrake/FrugalBuild index 3faec18..beeb1b2 100644 --- a/source/xmultimedia-extra/handbrake/FrugalBuild +++ b/source/xmultimedia-extra/handbrake/FrugalBuild @@ -5,7 +5,7 @@ pkgname=handbrake _F_sourceforge_name="HandBrake" _F_sourceforge_ext=".tar.bz2" pkgver=0.9.5 -pkgrel=1 +pkgrel=2 pkgdesc="HandBrake is an open-source, multiplatform, multithreaded video transcoder" depends=("libstdc++") makedepends=('intltool' 'jam' 'subversion' 'yasm') @@ -16,10 +16,12 @@ _F_gnome_desktop="y" _F_gnome_iconcache=y Finclude gnome-scriptlet sourceforge unset install -sha1sums=('6db599fe96a640e5355f1c92b8915f11c7cb45ad') +source=($source libnotify-0.7.patch) +sha1sums=('6db599fe96a640e5355f1c92b8915f11c7cb45ad' \ + '663d49f73c6c84dcba1ce90b3eb608627e131a70') subpkgs=("gtk-handbrake") subdescs=('gtk gui for handbrake') -subdepends=("webkit>=1.3.4 hal libnotify libgudev") +subdepends=("webkit>=1.3.4 hal libnotify>=0.7.4 libgudev") subrodepends=("handbrake") subgroups=('xapps-extra') subarchs=('i686 x86_64') diff --git a/source/xmultimedia-extra/handbrake/libnotify-0.7.patch b/source/xmultimedia-extra/handbrake/libnotify-0.7.patch new file mode 100644 index 0000000..0def152 --- /dev/null +++ b/source/xmultimedia-extra/handbrake/libnotify-0.7.patch @@ -0,0 +1,30 @@ +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 _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git