summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-06 15:14:45 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-06 17:13:44 -0500
commit87544b4ef3d9f54136adfcf44468183936d987db (patch)
treefd36ca9c9c842f347c889cff46dc3fdf70651031 /multimedia
parent8308bbbb0816e8b517cc629fd1c422bb138ea3e2 (diff)
downloadslackbuilds-87544b4ef3d9f54136adfcf44468183936d987db.tar.gz
multimedia/subtitleeditor: Updated for version 0.40.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/subtitleeditor/glib-single-include.patch13
-rw-r--r--multimedia/subtitleeditor/subtitleeditor.SlackBuild12
-rw-r--r--multimedia/subtitleeditor/subtitleeditor.info6
3 files changed, 24 insertions, 7 deletions
diff --git a/multimedia/subtitleeditor/glib-single-include.patch b/multimedia/subtitleeditor/glib-single-include.patch
new file mode 100644
index 0000000000..35f8bd49cc
--- /dev/null
+++ b/multimedia/subtitleeditor/glib-single-include.patch
@@ -0,0 +1,13 @@
+Index: subtitleeditor-0.40.0/plugins/actions/findandreplace/findandreplace.cc
+===================================================================
+--- subtitleeditor-0.40.0.orig/plugins/actions/findandreplace/findandreplace.cc
++++ subtitleeditor-0.40.0/plugins/actions/findandreplace/findandreplace.cc
+@@ -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:
diff --git a/multimedia/subtitleeditor/subtitleeditor.SlackBuild b/multimedia/subtitleeditor/subtitleeditor.SlackBuild
index 17c014bc97..6332f99143 100644
--- a/multimedia/subtitleeditor/subtitleeditor.SlackBuild
+++ b/multimedia/subtitleeditor/subtitleeditor.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=subtitleeditor
-VERSION=${VERSION:-0.38.0}
+VERSION=${VERSION:-0.40.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,6 +65,10 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Starting with glib 2.32 it is now mandatory to
+# include glib.h instead of individual headers.
+patch -p1 -i $CWD/glib-single-include.patch
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -89,9 +93,9 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
for DOCFILE in ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README TODO;
do
- if [ -f $DOCFILE ]; then
- cp -a $DOCFILE $PKG/usr/doc/$PRGNAM-$VERSION
- fi
+ if [ -f $DOCFILE ]; then
+ cp -a $DOCFILE $PKG/usr/doc/$PRGNAM-$VERSION
+ fi
done
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/multimedia/subtitleeditor/subtitleeditor.info b/multimedia/subtitleeditor/subtitleeditor.info
index e940a4d7a5..a4d9f1bc90 100644
--- a/multimedia/subtitleeditor/subtitleeditor.info
+++ b/multimedia/subtitleeditor/subtitleeditor.info
@@ -1,8 +1,8 @@
PRGNAM="subtitleeditor"
-VERSION="0.38.0"
+VERSION="0.40.0"
HOMEPAGE="http://home.gna.org/subtitleeditor/"
-DOWNLOAD="http://download.gna.org/subtitleeditor/0.38/subtitleeditor-0.38.0.tar.gz"
-MD5SUM="2c4d7d4bd79f45effcea279a2e06ca66"
+DOWNLOAD="http://download.gna.org/subtitleeditor/0.40/subtitleeditor-0.40.0.tar.gz"
+MD5SUM="cb8a5dec7eeea8357ad5a9e977e5d5bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gstreamermm"