diff options
Diffstat (limited to 'multimedia/subtitleeditor/subtitleeditor.SlackBuild')
-rw-r--r-- | multimedia/subtitleeditor/subtitleeditor.SlackBuild | 12 |
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 |