From edc70ffa6a29194f18381e285b652a625c1b3554 Mon Sep 17 00:00:00 2001 From: Christoph Willing Date: Sun, 7 Jul 2019 17:15:49 +0200 Subject: audio/ardour: Install additional icons and desktop file. Signed-off-by: Matteo Bernardini --- audio/ardour/README | 2 +- audio/ardour/ardour.SlackBuild | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'audio/ardour') 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 -- cgit v1.2.3