summaryrefslogtreecommitdiffstats
path: root/daw_base
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-12-22 08:37:26 +0000
committer Eric Hameleers <alien@slackware.com>2020-12-22 08:37:26 +0000
commite26563fdeda98f31307178650e03069057562e99 (patch)
treec664a94f0516c053cdd02e7a7f8885d81735e42a /daw_base
parent90d6d33cef625acb515017a503b164088d5e9ee1 (diff)
downloadasb-e26563fdeda98f31307178650e03069057562e99.tar.gz
asb-e26563fdeda98f31307178650e03069057562e99.tar.xz
daw_base: add multiple wallpapers, scripted. Remove downloaded daw.template after installation so that we always download the latest
Diffstat (limited to 'daw_base')
-rwxr-xr-xdaw_base/build/daw_base.SlackBuild33
1 files changed, 28 insertions, 5 deletions
diff --git a/daw_base/build/daw_base.SlackBuild b/daw_base/build/daw_base.SlackBuild
index 7e2ab949..bee2f21e 100755
--- a/daw_base/build/daw_base.SlackBuild
+++ b/daw_base/build/daw_base.SlackBuild
@@ -35,6 +35,8 @@
# * Initial build.
# 1.1-1: 06/dec/2020 by Eric Hameleers <alien@slackware.com>
# * Merge new 'LSP Plugins' Multimedia directory.
+# 1.2-1: 21/dec/2020 by Eric Hameleers <alien@slackware.com>
+# * Generate wallpapers from single image files.
#
# Run 'sh daw_base.SlackBuild' to build a Slackware package.
# The package (.t?z) and .txt file as well as build logs are created in /tmp .
@@ -43,7 +45,7 @@
# -----------------------------------------------------------------------------
PRGNAM=daw_base
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.2}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-alien}
@@ -118,13 +120,34 @@ cd -
# Install slackpkg template for DAW related packages:
install -Dm 644 $SOURCE -t $PKG/etc/slackpkg/templates/
+# Remove it again from the source directory so that you always
+# download the latest version:
+rm -f $SOURCE 2>/dev/null
+
# Install the menu icon (image is 512x512 px):
-install -Dm 644 $SRCDIR/media/slackware-daw.png \
- -t $PKG/usr/share/icons/hicolor/512x512/apps/
+install -Dm 644 $SRCDIR/media/slackware-daw.icon.png \
+ $PKG/usr/share/icons/hicolor/512x512/apps/slackware-daw.png
-# Install the wallpaper(s):
+# Install the wallpaper(s), creating them from 1920x1080 images (16:9 ratio):
mkdir -p $PKG/usr/share/wallpapers
-cp -a $SRCDIR/media/wallpapers/* $PKG/usr/share/wallpapers/
+# Slackware DAW turntable:
+sh $SRCDIR/gen_wallpaper_from_bitmap.sh \
+ -b $SRCDIR/media/wallpapers/turntable_bw_1920x1080.jpg \
+ -d slackware-daw -n "Slackware DAW" \
+ -a "Eric Hameleers" -e "alien@slackware.com" \
+ -r $PKG/usr/share/wallpapers
+# Sceptical C - stage pic:
+sh $SRCDIR/gen_wallpaper_from_bitmap.sh \
+ -b $SRCDIR/media/wallpapers/sc_stage_bw_1920x1080.png \
+ -d ScepticalCStage -n "Sceptical C Stage" \
+ -a "Sceptical C" -e "info@scepticalc.com" \
+ -r $PKG/usr/share/wallpapers
+# Sceptical C - mix panel 1:
+sh $SRCDIR/gen_wallpaper_from_bitmap.sh \
+ -b $SRCDIR/media/wallpapers/sc_mixpanel1_bw_1920x1080.png \
+ -d ScepticalCMixPanel1 -n "Sceptical C Mix Panel 1" \
+ -a "Sceptical C" -e "info@scepticalc.com" \
+ -r $PKG/usr/share/wallpapers
chown -R root:root $PKG/usr/share/wallpapers/
# Add this to the doinst.sh: