diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-09 16:33:54 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-12 00:29:38 +0700 |
commit | e6e1f80234e05badf7d35b8af93aba98d092600d (patch) | |
tree | b4eddb06747bc81c622b7b4aaa5261eefe2fd65b | |
parent | 88562392187aa666a4753080a08953d5305be9b9 (diff) | |
download | slackbuilds-e6e1f80234e05badf7d35b8af93aba98d092600d.tar.gz |
system/tracker: Updated for version 3.2.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/tracker/tracker.SlackBuild | 53 | ||||
-rw-r--r-- | system/tracker/tracker.info | 6 |
2 files changed, 30 insertions, 29 deletions
diff --git a/system/tracker/tracker.SlackBuild b/system/tracker/tracker.SlackBuild index 8d6f017433..f35450d6b6 100644 --- a/system/tracker/tracker.SlackBuild +++ b/system/tracker/tracker.SlackBuild @@ -22,25 +22,25 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220209 bkw: Modified by SlackBuilds.org: updated to latest version, +# since the previous one wouldn't build on 15.0. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tracker -VERSION=${VERSION:-1.7.1} +VERSION=${VERSION:-3.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; 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 @@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -75,26 +75,27 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -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-static \ - --disable-miner-firefox \ - --disable-miner-thunderbird \ - --build=$ARCH-slackware-linux - -env -u BUILD make -make install-strip DESTDIR=$PKG + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +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 \ + -Dsystemd_user_services=false \ + -Dstrip=true + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. 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 diff --git a/system/tracker/tracker.info b/system/tracker/tracker.info index d5aba5fcc3..fb7277283c 100644 --- a/system/tracker/tracker.info +++ b/system/tracker/tracker.info @@ -1,8 +1,8 @@ PRGNAM="tracker" -VERSION="1.7.1" +VERSION="3.2.1" HOMEPAGE="http://projects.gnome.org/tracker/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/tracker/1.7/tracker-1.7.1.tar.xz" -MD5SUM="0733d0869ac55da43211e0047f5633e6" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/tracker/3.2/tracker-3.2.1.tar.xz" +MD5SUM="89bb081f0ffcdd1d92296b73de0a371c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |