summaryrefslogtreecommitdiff
path: root/audio/ardour/SConscript.diff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 20:30:44 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 20:30:44 +0200
commit019f5a1dde618b3afa1584c356db50b1cfa1a636 (patch)
tree802c05ee9823242edbedbe5d409f1ec7fe0de7f2 /audio/ardour/SConscript.diff
parent6c1f4e52023b81e6dbdfa0dabc47ddbd04844ba1 (diff)
downloadslackbuilds-019f5a1dde618b3afa1584c356db50b1cfa1a636.tar.gz
audio/ardour: Moved from multimedia
Diffstat (limited to 'audio/ardour/SConscript.diff')
-rw-r--r--audio/ardour/SConscript.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/ardour/SConscript.diff b/audio/ardour/SConscript.diff
new file mode 100644
index 0000000000..8a7dc77cf4
--- /dev/null
+++ b/audio/ardour/SConscript.diff
@@ -0,0 +1,17 @@
+--- SConscript 2008-07-07 17:34:05.000000000 +0200
++++ SConscript 2008-07-13 19:20:38.475141333 +0200
+@@ -499,14 +499,9 @@
+ env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '22x22', 'mimetypes', 'application-x-ardour2.png'), 'icons/application-x-ardour_22px.png'))
+ env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '32x32', 'mimetypes', 'application-x-ardour2.png'), 'icons/application-x-ardour_32px.png'))
+ env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '48x48', 'mimetypes', 'application-x-ardour2.png'), 'icons/application-x-ardour_48px.png'))
+- env.Alias('install', env.Command (os.path.join(install_prefix, 'share', 'mime'), [], 'update-mime-database $TARGET'))
+- # Update the icon cache #
+- env.Alias('install', env.Command (desktop_icon_install_prefix, [], 'touch --no-create $TARGET'))
+- env.Alias('install', env.Command (desktop_icon_install_prefix, [], 'gtk-update-icon-cache $TARGET'))
+ # Make the ardour2.desktop file and install it #
+ env.Alias('install', env.Command ('ardour2.desktop', 'ardour2.desktop.in', 'cat $SOURCES > $TARGET'))
+ env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'applications'), 'ardour2.desktop'))
+- env.Alias('install', env.Command (os.path.join(install_prefix, 'share', 'applications'), [], 'update-desktop-database $TARGET'))
+ # uninstall target.. needed to run update-mime-database and update-desktop-database after removal. #`
+ remove_desktop_files = env.Command ('another_frobnicatory_decoy', [],
+ [ Delete (install_prefix + '/share/mime/packages/ardour2.xml'),