summaryrefslogtreecommitdiff
path: root/multimedia/subtitleeditor/subtitleeditor.SlackBuild
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/subtitleeditor/subtitleeditor.SlackBuild
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/subtitleeditor/subtitleeditor.SlackBuild')
-rw-r--r--multimedia/subtitleeditor/subtitleeditor.SlackBuild12
1 files changed, 8 insertions, 4 deletions
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