From eb375991209b0ca422d8d6a7da4ac87db54bfa77 Mon Sep 17 00:00:00 2001 From: ArTourter Date: Wed, 3 Oct 2018 12:17:46 +0100 Subject: [PATCH] system/yakuake: Updated for version 2.9.9 + new maintainer. Signed-off-by: David Spencer --- system/yakuake/README | 12 ++++++------ system/yakuake/yakuake.SlackBuild | 16 +++++++++++----- system/yakuake/yakuake.info | 4 ++-- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/system/yakuake/README b/system/yakuake/README index 1418e5cd6b..be602331b3 100644 --- a/system/yakuake/README +++ b/system/yakuake/README @@ -1,9 +1,9 @@ -Yakuake (Yet Another Kuake) is a KDE terminal emulator. Its design was -inspired from consoles in computer games such as Quake which slide down from -the top of the screen when a key is pressed, and slide back up when the key +Yakuake (Yet Another Kuake) is a KDE terminal emulator. Its design was +inspired from consoles in computer games such as Quake which slide down from +the top of the screen when a key is pressed, and slide back up when the key is pressed again. -Running Yakuake is faster than launching a new terminal with a keyboard -shortcut because the program is already loaded into memory, and so can be -useful to people who frequently find themselves opening and closing +Running Yakuake is faster than launching a new terminal with a keyboard +shortcut because the program is already loaded into memory, and so can be +useful to people who frequently find themselves opening and closing terminals for odd tasks. diff --git a/system/yakuake/yakuake.SlackBuild b/system/yakuake/yakuake.SlackBuild index d162c36a12..39a8686e79 100644 --- a/system/yakuake/yakuake.SlackBuild +++ b/system/yakuake/yakuake.SlackBuild @@ -2,7 +2,8 @@ # SlackBuild script for yakuake -# Copyright 2012 Matthew "mfillpot" Fillpot +# Copyright 2012-2017 Matthew "mfillpot" Fillpot +# Copyright 2018 Greg Tourte # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -36,7 +37,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -47,8 +48,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" @@ -76,15 +77,20 @@ 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 {} \; +mkdir build +( cd build cmake \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX="$LIBDIRSUFFIX" \ - . + -DCMAKE_BUILD_TYPE="Release" \ + -Wno-dev \ + .. make make install DESTDIR=$PKG +) find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/yakuake/yakuake.info b/system/yakuake/yakuake.info index 2342fc88e4..b39cbafe06 100644 --- a/system/yakuake/yakuake.info +++ b/system/yakuake/yakuake.info @@ -6,5 +6,5 @@ MD5SUM="ef97612710b28d62e43a58bed49cbead" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Matthew Fillpot" -EMAIL="mfilpot@gmail.com" +MAINTAINER="ArTourter" +EMAIL="artourter@gmail.com"