summaryrefslogtreecommitdiffstats
path: root/source/l/adwaita-icon-theme
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-05-08 21:05:29 +0000
committer Eric Hameleers <alien@slackware.com>2024-05-08 23:34:15 +0200
commit4526e22f98d369572864114219b98b29813571da (patch)
treeb546a25dc6933cf9a02c2fb8ad2f5f21c291cae7 /source/l/adwaita-icon-theme
parent6dc3b3fe0a1b391d8324e9b624fb64372f3a4920 (diff)
downloadcurrent-master.tar.gz
current-master.tar.xz
Wed May 8 21:05:29 UTC 2024HEAD20240508210529master
d/cmake-3.29.3-x86_64-1.txz: Upgraded. l/adwaita-icon-theme-46.0-noarch-2.txz: Rebuilt. Restore icons that went missing after adwaita-icon-theme-41.0. l/glib2-2.80.2-x86_64-1.txz: Upgraded. l/libgnt-2.14.4_dev-x86_64-1.txz: Upgraded. l/mozilla-nss-3.100-x86_64-1.txz: Upgraded. n/samba-4.20.1-x86_64-1.txz: Upgraded. x/mesa-24.0.7-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/adwaita-icon-theme')
-rwxr-xr-xsource/l/adwaita-icon-theme/adwaita-icon-theme.SlackBuild30
1 files changed, 29 insertions, 1 deletions
diff --git a/source/l/adwaita-icon-theme/adwaita-icon-theme.SlackBuild b/source/l/adwaita-icon-theme/adwaita-icon-theme.SlackBuild
index 27350f954..6264cd83e 100755
--- a/source/l/adwaita-icon-theme/adwaita-icon-theme.SlackBuild
+++ b/source/l/adwaita-icon-theme/adwaita-icon-theme.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=adwaita-icon-theme
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -92,6 +92,34 @@ meson setup \
DESTDIR=$PKG $NINJA install || exit 1
cd ..
+# Add some extra icons that have gone missing since adwaita-icon-theme-41.0
+# to ensure complete coverage of the FDo icon theme specification.
+# Copy from the main tree and back to make sure that we
+# don't overwrite these if they eventally appear.
+( cd $PKG
+ mkdir tmpicons
+ cd tmpicons
+ tar xvf $CWD/41/adwaita-icon-theme-41.0.tar.xz || exit 1
+ cd adwaita-icon-theme-41.0
+ # Configure, build, and install:
+ export CFLAGS="$SLKCFLAGS"
+ export CXXFLAGS="$SLKCFLAGS"
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --build=$ARCH-slackware-linux || exit 1
+ make $NUMJOBS || make || exit 1
+ make install DESTDIR=$PKG/tmpicons || exit 1
+ rsync -lprvt --progress ../usr/ usr/
+ # Then sync back:
+ rsync -lprvt --progress usr/ ../usr/
+ # And remove the leftovers:
+ cd ..
+ rm -r tmpicons
+)
+
# Add some extra icons that are missing for Xfce.
# Copy from the main tree and back to make sure that we
# don't overwrite these if they eventally appear.