aboutsummaryrefslogtreecommitdiff
path: root/audio/ardour/ardour.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2019-07-07 17:15:49 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-13 08:30:59 +0700
commitedc70ffa6a29194f18381e285b652a625c1b3554 (patch)
tree1f6c871fcbda9813e956b76a9df67619638c87a3 /audio/ardour/ardour.SlackBuild
parent3dbb15ef7dfbc7146b3ae28cd630dc673433dc6a (diff)
audio/ardour: Install additional icons and desktop file.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/ardour/ardour.SlackBuild')
-rw-r--r--audio/ardour/ardour.SlackBuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/ardour/ardour.SlackBuild b/audio/ardour/ardour.SlackBuild
index 25124c859fe77..94e80e5cc935d 100644
--- a/audio/ardour/ardour.SlackBuild
+++ b/audio/ardour/ardour.SlackBuild
@@ -96,6 +96,15 @@ CXXFLAGS="$SLKCFLAGS" \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p $PKG/usr/share/{appdata,applications,icons}
+cp build/gtk2_ardour/ardour5.appdata.xml $PKG/usr/share/appdata/
+cp build/gtk2_ardour/ardour5.desktop $PKG/usr/share/applications/
+for isize in 16 22 32 48 ; do
+ mkdir -p $PKG/usr/share/icons/hicolor/${isize}x${isize}/apps
+ cp gtk2_ardour/icons/application-x-ardour_${isize}px.png \
+ $PKG/usr/share/icons/hicolor/${isize}x${isize}/apps/ardour5.png
+done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING PACKAGER_README README TRANSLATORS \
$PKG/usr/doc/$PRGNAM-$VERSION