diff options
author | 2025-05-22 10:55:32 +0200 | |
---|---|---|
committer | 2025-05-24 15:03:58 +0700 | |
commit | dfed9fcdcc9babc7a8bd3e391e19bb62eed852fb (patch) | |
tree | 9b98767bffaba19cf5349f730802f4401626b1fe | |
parent | 01e2b796d6401cfe32d9baf1b618b2258fd576f0 (diff) | |
download | slackbuilds-dfed9fcdcc9babc7a8bd3e391e19bb62eed852fb.tar.gz slackbuilds-dfed9fcdcc9babc7a8bd3e391e19bb62eed852fb.tar.xz |
graphics/shotwell: Updated for version 0.32.10.
Changed homepage and maintainer (previous one is MIA)
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | graphics/shotwell/shotwell.SlackBuild | 50 | ||||
-rw-r--r-- | graphics/shotwell/shotwell.info | 14 | ||||
-rw-r--r-- | graphics/shotwell/slack-desc | 2 |
3 files changed, 35 insertions, 31 deletions
diff --git a/graphics/shotwell/shotwell.SlackBuild b/graphics/shotwell/shotwell.SlackBuild index 37d50f4141..84e7e3af01 100644 --- a/graphics/shotwell/shotwell.SlackBuild +++ b/graphics/shotwell/shotwell.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for Shotwell # Copyright 2013-2015 Erwin van Zanten, Dordrecht, The Netherlands +# Copyright 2025 Matteo Bernardini, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=shotwell -VERSION=${VERSION:-0.24.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.32.10} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -76,21 +74,29 @@ 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" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-schemas-compile \ - --enable-static=no \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +# fix string format in translation. It uses cyrillic-`e` instead of `e`. +sed -i 's|%ะต|%e|g' po/ru.po +# CHEAT! It seems shotwell processes videos fine also with the oldest gstreamer, actually... +sed -i 's|1\.20|1\.18|g' meson.build + +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. + +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -99,11 +105,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL NEWS README.md THANKS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -f $PKG/usr/lib*/*.la - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/graphics/shotwell/shotwell.info b/graphics/shotwell/shotwell.info index 7961596c0a..ff2a7ae591 100644 --- a/graphics/shotwell/shotwell.info +++ b/graphics/shotwell/shotwell.info @@ -1,10 +1,10 @@ PRGNAM="shotwell" -VERSION="0.24.0" -HOMEPAGE="http://yorba.org/shotwell/" -DOWNLOAD="https://download.gnome.org/sources/shotwell/0.24/shotwell-0.24.0.tar.xz" -MD5SUM="2697874c8e26c37aed3b1ea8a6fd2b7e" +VERSION="0.32.10" +HOMEPAGE="https://wiki.gnome.org/Apps/Shotwell" +DOWNLOAD="https://download.gnome.org/sources/shotwell/0.32/shotwell-0.32.10.tar.xz" +MD5SUM="30c7a0e4ef83e770af40e5e5c2304075" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libunique webkit2gtk rest" -MAINTAINER="Erwin van Zanten" -EMAIL="e.van.zanten.evz@gmail.com" +REQUIRES="libportal libsoup3" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/graphics/shotwell/slack-desc b/graphics/shotwell/slack-desc index b498a7bbf0..a77ba53f42 100644 --- a/graphics/shotwell/slack-desc +++ b/graphics/shotwell/slack-desc @@ -10,7 +10,7 @@ shotwell: shotwell (Open source photo manager for GNOME) shotwell: shotwell: Digital photo organizer for Linux. shotwell: -shotwell: Homepage: http://www.yorba.org/shotwell/ +shotwell: Homepage: https://wiki.gnome.org/Apps/Shotwell shotwell: shotwell: shotwell: |