diff options
Diffstat (limited to 'audio/zita-dpl1')
-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 92a6975dff..7f050ff3dd 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 f1cb5309f0..47241859fb 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 0000000000..df37da0bcb --- /dev/null +++ b/audio/zita-dpl1/zita-dpl1.png |