summaryrefslogtreecommitdiff
path: root/community/ogmrip
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ogmrip
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ogmrip')
-rw-r--r--community/ogmrip/PKGBUILD46
-rw-r--r--community/ogmrip/ogmrip-0.13.6-libnotify-0.7.patch25
-rw-r--r--community/ogmrip/ogmrip.changelog15
3 files changed, 86 insertions, 0 deletions
diff --git a/community/ogmrip/PKGBUILD b/community/ogmrip/PKGBUILD
new file mode 100644
index 000000000..cfb4e0cbd
--- /dev/null
+++ b/community/ogmrip/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 41467 2011-03-06 22:16:48Z heftig $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Daenyth
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Vrob (Markus Heuser) mheuser@mi.fu-berlin.de
+
+pkgname=ogmrip
+pkgver=0.13.6
+pkgrel=2
+pkgdesc="Libraries and GTK2 interface for DVD ripping using mencoder"
+arch=('i686' 'x86_64')
+url="http://ogmrip.sourceforge.net/"
+license=('GPL')
+depends=('libdvdread>=4.1.3' 'mplayer' 'enca' 'pkgconfig' 'gconf' 'libglade' 'libnotify' 'enchant')
+makedepends=('patch' 'intltool' 'perl-xml-parser' 'faac' 'lame' 'mkvtoolnix' 'libtheora' 'ogmtools' 'gpac' 'vorbis-tools' 'tesseract')
+optdepends=('faac: support for the AAC audio codec'
+ 'lame: support for the MP3 audio codec'
+ 'mkvtoolnix: create, alter, and inspect Matroska files'
+ 'libtheora: decode and encode Ogg Theora files'
+ 'ogmtools: support for the Ogg Media container'
+ 'gpac: support for the MP4 container'
+ 'vorbis-tools: support for the Ogg Vorbis audio codec'
+ 'gocr: support for the SRT subtitle format'
+ 'ocrad: support for the SRT subtitle format'
+ 'tesseract: support for the SRT subtitle format')
+options=('!libtool' '!makeflags')
+changelog=$pkgname.changelog
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ ogmrip-0.13.6-libnotify-0.7.patch)
+md5sums=('e094c49cdf758883293dd44513fb37e8'
+ 'a7f2c64c9f1d96664d29200e461bb36e')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ patch -Np0 -i "$srcdir/ogmrip-0.13.6-libnotify-0.7.patch"
+
+ ./configure --prefix=/usr --sysconfdir=/usr/share
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+}
diff --git a/community/ogmrip/ogmrip-0.13.6-libnotify-0.7.patch b/community/ogmrip/ogmrip-0.13.6-libnotify-0.7.patch
new file mode 100644
index 000000000..64cfbf0ff
--- /dev/null
+++ b/community/ogmrip/ogmrip-0.13.6-libnotify-0.7.patch
@@ -0,0 +1,25 @@
+--- src/ogmrip-progress-dialog.c
++++ src/ogmrip-progress-dialog.c
+@@ -32,6 +32,9 @@
+
+ #ifdef HAVE_LIBNOTIFY_SUPPORT
+ #include <libnotify/notify.h>
++#ifndef NOTIFY_CHECK_VERSION
++#define NOTIFY_CHECK_VERSION(x,y,z) 0
++#endif
+ #endif /* HAVE_LIBNOTIFY_SUPPORT */
+
+ #define OGMRIP_PROGRESS_DIALOG_GET_PRIVATE(o) \
+@@ -418,8 +421,12 @@
+ g_signal_connect_swapped (dialog->priv->status_icon, "popup_menu",
+ G_CALLBACK (ogmrip_progress_dialog_status_icon_popup_menu), dialog);
+
++#if NOTIFY_CHECK_VERSION (0, 7, 0)
++ /* notify_notification_new_with_status_icon was removed */
++#else
+ dialog->priv->notification = notify_notification_new_with_status_icon ("Dummy", "Dummy",
+ OGMRIP_DATA_DIR G_DIR_SEPARATOR_S OGMRIP_ICON_FILE, dialog->priv->status_icon);
++#endif
+ g_signal_connect (dialog, "window-state-event",
+ G_CALLBACK (ogmrip_progress_dialog_state_changed), NULL);
+
diff --git a/community/ogmrip/ogmrip.changelog b/community/ogmrip/ogmrip.changelog
new file mode 100644
index 000000000..79aca2bba
--- /dev/null
+++ b/community/ogmrip/ogmrip.changelog
@@ -0,0 +1,15 @@
+2010-08-29 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * ogmrip O.13.6-1
+ * new upstream release
+
+2010-06-29 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Update to major release O.13.5
+
+2010-04-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Update to major release O.13.4
+
+2010-01-03 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * FS#17517 fixed in minor release O.13.3-2
+
+2010-01-01 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Update to major release O.13.3