desktop/arc-theme: Updated for version 20221218.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
Philip van der Hoeven 2024-04-28 13:45:30 +02:00 committed by GitHub
parent 41b728d079
commit 944a2bcd21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 33 additions and 25 deletions

View file

@ -3,6 +3,7 @@
# Slackware build script for "arc-theme". # Slackware build script for "arc-theme".
# Copyright 2016 Marcel Saegebarth <marc@mos6581.de> # Copyright 2016 Marcel Saegebarth <marc@mos6581.de>
# Copyright 2024 Philip van der Hoeven <philip@vd-hoeven.nl>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -27,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=arc-theme PRGNAM=arc-theme
VERSION=${VERSION:-20201121_81130a2} VERSION=${VERSION:-20221218}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -66,9 +67,6 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
gnome_shell="--disable-gnome-shell" ; [[ $(which gnome-shell) ]] && gnome_shell=""
cinnamon="--disable-cinnamon" ; [[ $(which cinnamon-session) ]] && cinnamon=""
set -e set -e
rm -rf $PKG rm -rf $PKG
@ -84,23 +82,33 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i "s|export-png=|export-type=png --export-filename=|" common/*/*.am || exit 1 THEMES="gtk2,gtk3,gtk4,metacity,plank,unity,xfwm"
CFLAGS="$SLKCFLAGS" \ # Check for gnome and cinnamon
CXXFLAGS="$SLKCFLAGS" \ type -P gnome-shell >/dev/null && THEMES+=",gnome-shell"
./autogen.sh \ type -P cinnamon-session >/dev/null && THEMES+=",cinnamon"
# Build transparent theme
mkdir build
cd build
meson setup .. \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ -Dthemes=$THEMES
--sysconfdir=/etc \ "${NINJA:=ninja}"
--localstatedir=/var \ DESTDIR=$PKG $NINJA install
--mandir=/usr/man \ cd ..
--docdir=/usr/doc/$PRGNAM-$VERSION \
$gnome_shell \
$cinnamon \
--build=$ARCH-slackware-linux
make # Build solid theme
make install DESTDIR=$PKG rm -rf build
mkdir build
cd build
meson setup .. \
--prefix=/usr \
-Dtransparency=false \
-Dthemes=$THEMES
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING HACKING.md README.md $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING HACKING.md README.md $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="arc-theme" PRGNAM="arc-theme"
VERSION="20201121_81130a2" VERSION="20221218"
HOMEPAGE="https://github.com/jnsh/arc-theme" HOMEPAGE="https://github.com/jnsh/arc-theme"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/arc-theme-20201121_81130a2.tar.xz" DOWNLOAD="https://github.com/jnsh/arc-theme/releases/download/20221218/arc-theme-20221218.tar.xz"
MD5SUM="bffd762770faf368ad2849534c5e3ad4" MD5SUM="ac268a1603e85e9a1c8fd07f04f92cc1"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="inkscape murrine optipng" REQUIRES="murrine"
MAINTAINER="Marcel Saegebarth" MAINTAINER="Philip van der Hoeven"
EMAIL="marc@mos6581.de" EMAIL="philip@vd-hoeven.nl"