summaryrefslogtreecommitdiff
path: root/community/subtitleeditor
diff options
context:
space:
mode:
Diffstat (limited to 'community/subtitleeditor')
-rw-r--r--community/subtitleeditor/PKGBUILD10
-rw-r--r--community/subtitleeditor/subtitleeditor-0.40.0-glib.patch11
2 files changed, 17 insertions, 4 deletions
diff --git a/community/subtitleeditor/PKGBUILD b/community/subtitleeditor/PKGBUILD
index a7932aa85..45a420910 100644
--- a/community/subtitleeditor/PKGBUILD
+++ b/community/subtitleeditor/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=subtitleeditor
pkgver=0.40.0
pkgrel=1
pkgdesc="A GTK+2 tool to edit subtitles for GNU/Linux/*BSD"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://home.gna.org/subtitleeditor/"
license=('GPL3')
depends=('desktop-file-utils' 'enchant' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins'
@@ -17,12 +17,14 @@ optdepends=('gstreamer0.10-ffmpeg: to be able to view movies inside the subtitle
options=('!libtool')
install=$pkgname.install
changelog=$pkgname.changelog
-source=(http://download.gna.org/$pkgname/0.40/$pkgname-$pkgver.tar.gz)
-sha256sums=('b8d948f3e770524bf63fe632600aa94fcbd4edba772cad2aec4fdb3b3335b02d')
+source=(http://download.gna.org/$pkgname/0.40/$pkgname-$pkgver.tar.gz
+ subtitleeditor-0.40.0-glib.patch)
+sha256sums=('b8d948f3e770524bf63fe632600aa94fcbd4edba772cad2aec4fdb3b3335b02d'
+ '152883d00195c86ee04db2c8aa22b0c82255c328c31acfd55877ca403779d2e0')
build() {
cd ${srcdir}/$pkgname-$pkgver
-
+ patch -Np1 -i ${srcdir}/subtitleeditor-0.40.0-glib.patch
./configure --prefix=/usr
make
}
diff --git a/community/subtitleeditor/subtitleeditor-0.40.0-glib.patch b/community/subtitleeditor/subtitleeditor-0.40.0-glib.patch
new file mode 100644
index 000000000..1215a7112
--- /dev/null
+++ b/community/subtitleeditor/subtitleeditor-0.40.0-glib.patch
@@ -0,0 +1,11 @@
+--- subtitleeditor-0.40.0.orig/plugins/actions/findandreplace/findandreplace.cc 2012-02-22 14:02:05.000000000 -0500
++++ subtitleeditor-0.40.0/plugins/actions/findandreplace/findandreplace.cc 2013-01-05 20:24:07.887899963 -0500
+@@ -26,7 +26,7 @@
+ #include <gui/dialogutility.h>
+ #include <gtkmm_utility.h>
+ #include <widget_config_utility.h>
+-#include <glib/gregex.h>
++#include <glib.h>
+
+ /*
+ * FIXME: