mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
audio/zita-dpl1: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ba4828f1e6
commit
5b778bd5d2
3 changed files with 13 additions and 7 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# 20211205 bkw: BUILD=2, new-style icons.
|
||||
# 20191202 bkw: updated for v0.3.3
|
||||
# 20170122 bkw: updated for v0.1.0
|
||||
|
||||
|
@ -13,7 +14,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=zita-dpl1
|
||||
VERSION=${VERSION:-0.3.3}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -25,9 +26,6 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
# 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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -74,8 +72,16 @@ make -C source PREFIX=/usr
|
|||
make -C source install PREFIX=/usr DESTDIR=$PKG
|
||||
strip $PKG/usr/bin/$PRGNAM
|
||||
|
||||
|
||||
for px in 16 32 48 64 128; do
|
||||
size=${px}x${px}
|
||||
dir=$PKG/usr/share/icons/hicolor/$size/apps
|
||||
mkdir -p $dir
|
||||
convert -resize $size $CWD/$PRGNAM.png $dir/$PRGNAM.png
|
||||
done
|
||||
|
||||
mkdir -p $PKG/usr/share/pixmaps
|
||||
cat share/redzita.png > $PKG/usr/share/pixmaps/$PRGNAM.png
|
||||
ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
|
||||
|
||||
mkdir -p $PKG/usr/share/applications
|
||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PRGNAM="zita-dpl1"
|
||||
VERSION="0.3.3"
|
||||
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/zita-dpl1-doc/quickguide.html"
|
||||
DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-dpl1-0.3.3.tar.bz2"
|
||||
HOMEPAGE="https://kokkinizita.linuxaudio.org/linuxaudio/zita-dpl1-doc/quickguide.html"
|
||||
DOWNLOAD="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-dpl1-0.3.3.tar.bz2"
|
||||
MD5SUM="7939c13dbd519f8889c6fe9f816d6cd6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
|
|
BIN
audio/zita-dpl1/zita-dpl1.png
Normal file
BIN
audio/zita-dpl1/zita-dpl1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.6 KiB |
Loading…
Reference in a new issue