From ddfdebbe9bad6eeb4328fd23f657b86bb9fc0fb9 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 14 Sep 2019 13:08:13 +0200 Subject: Deps: updated for the upcoming release The qt5 and qt5-speech packages have been updated to 5.13.1, PyQt5 was updated to 5.13.0. There's a new official polkit-qt5-1 version too: 0.113.0. The cryfs package was updated to 0.10.2. Tthe phonon layer is now Qt5-only: phonon 4.11.0, phonon-gstreamer 4.10.0, phonon-vlc 0.11.0. --- deps/polkit-qt5-1/.url | 1 + deps/polkit-qt5-1/polkit-qt5-1.SlackBuild | 49 +++++++++++++++++-------------- 2 files changed, 28 insertions(+), 22 deletions(-) create mode 100644 deps/polkit-qt5-1/.url (limited to 'deps/polkit-qt5-1') diff --git a/deps/polkit-qt5-1/.url b/deps/polkit-qt5-1/.url new file mode 100644 index 0000000..2be4684 --- /dev/null +++ b/deps/polkit-qt5-1/.url @@ -0,0 +1 @@ +https://download.kde.org/stable/polkit-qt-1/polkit-qt-1-0.113.0.tar.xz diff --git a/deps/polkit-qt5-1/polkit-qt5-1.SlackBuild b/deps/polkit-qt5-1/polkit-qt5-1.SlackBuild index 39c97a6..951071e 100755 --- a/deps/polkit-qt5-1/polkit-qt5-1.SlackBuild +++ b/deps/polkit-qt5-1/polkit-qt5-1.SlackBuild @@ -20,14 +20,20 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified 2014, 2015, 2016, 2017 by Eric Hameleers +# Modified 2014, 2015, 2016, 2017, 2019 by Eric Hameleers +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=polkit-qt5-1 -VERSION=${VERSION:-50624e0_20160719git} -BUILD=${BUILD:-3} +SRCNAM=polkit-qt-1 +VERSION=${VERSION:-0.113.0} +BUILD=${BUILD:-1} + +NUMJOBS=${NUMJOBS:-"-j$(nproc)"} -NUMJOBS=${NUMJOBS:--j7} +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -40,14 +46,19 @@ if [ -z "$ARCH" ]; then export ARCH fi -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" +# 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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=$ARCH -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=$ARCH -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" @@ -61,20 +72,16 @@ else fi # Avoid a version number in .la files: -if [ -d /usr/lib${LIBDIRSUFFIX}/qt ]; then - QTDIR=/usr/lib${LIBDIRSUFFIX}/qt +if [ -d /usr/lib${LIBDIRSUFFIX}/qt5 ]; then + QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5 fi -CWD=$(pwd) -TMP=${TMP:-/tmp} -PKG=$TMP/package-$PKGNAM - rm -rf $PKG mkdir -p $TMP $PKG/usr cd $TMP -rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 -cd $PKGNAM-$VERSION || exit 1 +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* || exit 1 +cd $SRCNAM-$VERSION || exit 1 chown -R root:root . find . \ @@ -83,9 +90,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Autodetects the Qt version to use, preferring Qt 5 over Qt 4. -# You can force a Qt 4 build passing -DUSE_QT4:bool=ON to CMake. - +# Support for Qt4 was removed in 0.113.0: mkdir -p build cd build cmake \ -- cgit v1.2.3