diff options
author | B. Watson <yalhcru@gmail.com> | 2021-12-05 13:25:20 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-10 08:37:36 +0700 |
commit | 5b778bd5d261498771d06607f30a3d7b0e9d1cf1 (patch) | |
tree | ba6a116bac2a99663390bf9e1c42d10b3915c41c /audio | |
parent | ba4828f1e6f2ba020e80e800cb51736a895199f0 (diff) |
audio/zita-dpl1: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/zita-dpl1/zita-dpl1.SlackBuild | 16 | ||||
-rw-r--r-- | audio/zita-dpl1/zita-dpl1.info | 4 | ||||
-rw-r--r-- | audio/zita-dpl1/zita-dpl1.png | bin | 0 -> 8772 bytes |
3 files changed, 13 insertions, 7 deletions
diff --git a/audio/zita-dpl1/zita-dpl1.SlackBuild b/audio/zita-dpl1/zita-dpl1.SlackBuild index 92a6975dff2a..7f050ff3dda4 100644 --- a/audio/zita-dpl1/zita-dpl1.SlackBuild +++ b/audio/zita-dpl1/zita-dpl1.SlackBuild @@ -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 diff --git a/audio/zita-dpl1/zita-dpl1.info b/audio/zita-dpl1/zita-dpl1.info index f1cb5309f098..47241859fb77 100644 --- a/audio/zita-dpl1/zita-dpl1.info +++ b/audio/zita-dpl1/zita-dpl1.info @@ -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="" diff --git a/audio/zita-dpl1/zita-dpl1.png b/audio/zita-dpl1/zita-dpl1.png Binary files differnew file mode 100644 index 000000000000..df37da0bcb3c --- /dev/null +++ b/audio/zita-dpl1/zita-dpl1.png |