summaryrefslogtreecommitdiff
path: root/audio/ardour
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
parent3dbb15ef7dfbc7146b3ae28cd630dc673433dc6a (diff)
downloadslackbuilds-edc70ffa6a29194f18381e285b652a625c1b3554.tar.gz
audio/ardour: Install additional icons and desktop file.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/ardour')
-rw-r--r--audio/ardour/README2
-rw-r--r--audio/ardour/ardour.SlackBuild9
2 files changed, 10 insertions, 1 deletions
diff --git a/audio/ardour/README b/audio/ardour/README
index 3fe7f11121..ab2819d848 100644
--- a/audio/ardour/README
+++ b/audio/ardour/README
@@ -2,4 +2,4 @@ Ardour is an application to fit the needs of musicians under Linux.
It is designed to be a fully functional professional audio application,
that uses the professional sound server jack for sound i/o.
-cppunit and suil are optional dependencies.
+cppunit, lua and suil are optional dependencies.
diff --git a/audio/ardour/ardour.SlackBuild b/audio/ardour/ardour.SlackBuild
index 25124c859f..94e80e5cc9 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