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

View file

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