summaryrefslogtreecommitdiffstats
path: root/source/a/libgudev
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-03-16 18:45:39 +0000
committer Eric Hameleers <alien@slackware.com>2021-03-17 08:59:53 +0100
commitb7422c056140e9c72b9f0892ceadb0d491b3667b (patch)
tree4da89a3e7ac86feab9fdd455b871c7c259fdb0c5 /source/a/libgudev
parentd2f4c4e59baa55effed93d23ddb49d1345b0eecb (diff)
downloadcurrent-b7422c056140e9c72b9f0892ceadb0d491b3667b.tar.gz
current-b7422c056140e9c72b9f0892ceadb0d491b3667b.tar.xz
Tue Mar 16 18:45:39 UTC 202120210316184539
a/acl-2.3.1-x86_64-1.txz: Upgraded. a/attr-2.5.1-x86_64-1.txz: Upgraded. a/libgudev-236-x86_64-1.txz: Upgraded. ap/sqlite-3.35.1-x86_64-1.txz: Upgraded. ap/sudo-1.9.6p1-x86_64-1.txz: Upgraded. d/git-2.31.0-x86_64-1.txz: Upgraded. kde/bluedevil-5.21.3-x86_64-1.txz: Upgraded. kde/breeze-5.21.3-x86_64-1.txz: Upgraded. kde/breeze-grub-5.21.3-x86_64-1.txz: Upgraded. kde/breeze-gtk-5.21.3-x86_64-1.txz: Upgraded. kde/drkonqi-5.21.3-x86_64-1.txz: Upgraded. kde/kactivitymanagerd-5.21.3-x86_64-1.txz: Upgraded. kde/kde-cli-tools-5.21.3-x86_64-1.txz: Upgraded. kde/kde-gtk-config-5.21.3-x86_64-1.txz: Upgraded. kde/kdecoration-5.21.3-x86_64-1.txz: Upgraded. kde/kdeplasma-addons-5.21.3-x86_64-1.txz: Upgraded. kde/kgamma5-5.21.3-x86_64-1.txz: Upgraded. kde/khotkeys-5.21.3-x86_64-1.txz: Upgraded. kde/kinfocenter-5.21.3-x86_64-1.txz: Upgraded. kde/kio-5.80.1-x86_64-1.txz: Upgraded. kde/kmenuedit-5.21.3-x86_64-1.txz: Upgraded. kde/kscreen-5.21.3-x86_64-1.txz: Upgraded. kde/kscreenlocker-5.21.3-x86_64-1.txz: Upgraded. kde/ksshaskpass-5.21.3-x86_64-1.txz: Upgraded. kde/ksysguard-5.21.3-x86_64-1.txz: Upgraded. kde/kwallet-pam-5.21.3-x86_64-1.txz: Upgraded. kde/kwayland-integration-5.21.3-x86_64-1.txz: Upgraded. kde/kwayland-server-5.21.3-x86_64-1.txz: Upgraded. kde/kwin-5.21.3-x86_64-1.txz: Upgraded. kde/kwrited-5.21.3-x86_64-1.txz: Upgraded. kde/libkscreen-5.21.3-x86_64-1.txz: Upgraded. kde/libksysguard-5.21.3.1-x86_64-1.txz: Upgraded. kde/milou-5.21.3-x86_64-1.txz: Upgraded. kde/oxygen-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-browser-integration-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-desktop-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-disks-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-firewall-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-integration-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-nm-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-pa-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-sdk-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-systemmonitor-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-vault-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-workspace-5.21.3-x86_64-1.txz: Upgraded. kde/plasma-workspace-wallpapers-5.21.3-x86_64-1.txz: Upgraded. kde/polkit-kde-agent-1-5.21.3-x86_64-1.txz: Upgraded. kde/powerdevil-5.21.3-x86_64-1.txz: Upgraded. kde/qqc2-breeze-style-5.21.3-x86_64-1.txz: Upgraded. kde/sddm-kcm-5.21.3-x86_64-1.txz: Upgraded. kde/systemsettings-5.21.3-x86_64-1.txz: Upgraded. kde/xdg-desktop-portal-kde-5.21.3-x86_64-1.txz: Upgraded. l/gst-plugins-base-1.18.4-x86_64-1.txz: Upgraded. l/gst-plugins-good-1.18.4-x86_64-1.txz: Upgraded. l/gst-plugins-libav-1.18.4-x86_64-1.txz: Upgraded. l/gstreamer-1.18.4-x86_64-1.txz: Upgraded. l/gtk+3-3.24.27-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/libgudev')
-rwxr-xr-xsource/a/libgudev/libgudev.SlackBuild46
1 files changed, 26 insertions, 20 deletions
diff --git a/source/a/libgudev/libgudev.SlackBuild b/source/a/libgudev/libgudev.SlackBuild
index 59c852986..7974459c6 100755
--- a/source/a/libgudev/libgudev.SlackBuild
+++ b/source/a/libgudev/libgudev.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2015, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2015, 2018, 2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libgudev
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.* | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -68,26 +68,32 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-LDFLAGS="$LDFLAGS -lrt" \
-./configure \
+# Configure, build, and install:
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+export LDFLAGS="$LDFLAGS -lrt"
+mkdir meson-build
+cd meson-build
+meson setup \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --bindir=/sbin \
- --sbindir=/sbin \
- --libexecdir=/lib \
- --enable-introspection \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
--mandir=/usr/man \
- --docdir=/usr/doc/$PKGNAM-$VERSION \
- --enable-static \
- --disable-umockdev \
- --build=$ARCH-slackware-linux || exit 1
-
-make $NUMJOBS || make || exit 1
-make install DESTDIR=$PKG || exit 1
-
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dintrospection=enabled \
+ -Dtests=disabled \
+ -Dvapi=enabled \
+ -Dgtk_doc=false \
+ .. || exit 1
+ "${NINJA:=ninja}" $NUMJOBS || exit 1
+ DESTDIR=$PKG $NINJA install || exit 1
+cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true