diff options
Diffstat (limited to 'system/brasero')
-rw-r--r-- | system/brasero/README | 2 | ||||
-rw-r--r-- | system/brasero/brasero.SlackBuild | 26 | ||||
-rw-r--r-- | system/brasero/brasero.info | 6 |
3 files changed, 24 insertions, 10 deletions
diff --git a/system/brasero/README b/system/brasero/README index 9f102c59b8..d248922d5d 100644 --- a/system/brasero/README +++ b/system/brasero/README @@ -2,5 +2,5 @@ Brasero is a application to burn CD/DVD for the Gnome Desktop. It is designed to be as simple as possible and has some unique features to enable users to create their discs easily and quickly. -libburn, libisofs, and totem-pl-parser are optional dependencies, +libisofs and totem-pl-parser are optional dependencies; and they will be used if they are installed. diff --git a/system/brasero/brasero.SlackBuild b/system/brasero/brasero.SlackBuild index cd1f003c30..49381115ea 100644 --- a/system/brasero/brasero.SlackBuild +++ b/system/brasero/brasero.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for brasero # Originally written by Luis Henrique -# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=brasero -VERSION=${VERSION:-3.12.2} +VERSION=${VERSION:-3.12.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -75,7 +85,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -Wno-error=format-nonliteral -Wno-error=format-y2k" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -96,6 +106,10 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/brasero3/plugins/*.la + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -113,4 +127,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/brasero/brasero.info b/system/brasero/brasero.info index 7038d3f196..f0fb1ebd04 100644 --- a/system/brasero/brasero.info +++ b/system/brasero/brasero.info @@ -1,8 +1,8 @@ PRGNAM="brasero" -VERSION="3.12.2" +VERSION="3.12.3" HOMEPAGE="http://projects.gnome.org/brasero" -DOWNLOAD="https://download.gnome.org/sources/brasero/3.12/brasero-3.12.2.tar.xz" -MD5SUM="2dec59c179e49e37f1cfc0dd26344a2e" +DOWNLOAD="https://download.gnome.org/sources/brasero/3.12/brasero-3.12.3.tar.xz" +MD5SUM="ae48248dd36f89282d573eb7a0a1391f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |