mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
multimedia/subtitleeditor: Updated for version 0.40.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
8308bbbb08
commit
87544b4ef3
3 changed files with 24 additions and 7 deletions
13
multimedia/subtitleeditor/glib-single-include.patch
Normal file
13
multimedia/subtitleeditor/glib-single-include.patch
Normal file
|
@ -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:
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue