Restore installation of .desktop files lost in WAF conversion.

This commit is contained in:
Jonathan Moore Liles 2012-11-20 18:01:35 -08:00
parent 73ebd3534b
commit 5ffe3d44b3
8 changed files with 33 additions and 4 deletions

View File

@ -5,4 +5,4 @@ Exec=@BIN_PATH@/non-mixer
Terminal=false Terminal=false
Type=Application Type=Application
Icon=non-mixer Icon=non-mixer
Categories=Application;AudioVideo;Audio; Categories=AudioVideo;Audio;

View File

@ -68,6 +68,13 @@ src/main.C
uselib = [ 'JACK', 'LIBLO', 'LRDF', 'XPM', 'NTK', 'NTK_IMAGES' ], uselib = [ 'JACK', 'LIBLO', 'LRDF', 'XPM', 'NTK', 'NTK_IMAGES' ],
install_path = '${BINDIR}') install_path = '${BINDIR}')
bld( features = 'subst',
source = 'non-mixer.desktop.in',
target = 'non-mixer.desktop',
encoding = 'utf8',
install_path = "${DATADIR}" + '/applications',
BIN_PATH = bld.env.BINDIR )
start_dir = bld.path.find_dir( 'icons/hicolor' ) start_dir = bld.path.find_dir( 'icons/hicolor' )
bld.install_files('${DATADIR}/icons/hicolor', start_dir.ant_glob('**/*.png'), bld.install_files('${DATADIR}/icons/hicolor', start_dir.ant_glob('**/*.png'),

View File

@ -5,4 +5,4 @@ Exec=@BIN_PATH@/non-sequencer
Terminal=false Terminal=false
Type=Application Type=Application
Icon=non-sequencer Icon=non-sequencer
Categories=Application;AudioVideo;Audio;Midi; Categories=AudioVideo;Audio;Midi;

View File

@ -71,6 +71,13 @@ src/transport.C
uselib = [ 'JACK', 'SIGCPP', 'LIBLO', 'XPM', 'NTK', 'NTK_IMAGES'], uselib = [ 'JACK', 'SIGCPP', 'LIBLO', 'XPM', 'NTK', 'NTK_IMAGES'],
install_path = '${BINDIR}') install_path = '${BINDIR}')
bld( features = 'subst',
source = 'non-sequencer.desktop.in',
target = 'non-sequencer.desktop',
encoding = 'utf8',
install_path = "${DATADIR}" + '/applications',
BIN_PATH = bld.env.BINDIR )
bld.install_files('/'.join( [ '${DATADIR}', APPNAME, 'instruments'] ), bld.path.ant_glob('instruments/*')) bld.install_files('/'.join( [ '${DATADIR}', APPNAME, 'instruments'] ), bld.path.ant_glob('instruments/*'))
start_dir = bld.path.find_dir( 'icons/hicolor' ) start_dir = bld.path.find_dir( 'icons/hicolor' )

View File

@ -5,4 +5,4 @@ Exec=@BIN_PATH@/non-session-manager
Terminal=false Terminal=false
Type=Application Type=Application
Icon=non-session-manager Icon=non-session-manager
Categories=Application;AudioVideo;Audio; Categories=AudioVideo;Audio;

View File

@ -92,6 +92,14 @@ src/send_osc.C
use = [ 'nonlib'], use = [ 'nonlib'],
install_path = None ) install_path = None )
bld( features = 'subst',
source = 'non-session-manager.desktop.in',
target = 'non-session-manager.desktop',
encoding = 'utf8',
install_path = "${DATADIR}" + '/applications',
BIN_PATH = bld.env.BINDIR,
);
start_dir = bld.path.find_dir( 'icons/hicolor' ) start_dir = bld.path.find_dir( 'icons/hicolor' )

View File

@ -5,4 +5,4 @@ Exec=@BIN_PATH@/non-daw
Terminal=false Terminal=false
Type=Application Type=Application
Icon=non-daw Icon=non-daw
Categories=Application;AudioVideo;Audio; Categories=AudioVideo;Audio;

View File

@ -94,6 +94,13 @@ src/main.C
use = [ 'fl_widgets', 'nonlib'], use = [ 'fl_widgets', 'nonlib'],
install_path = '${BINDIR}') install_path = '${BINDIR}')
bld( features = 'subst',
source = 'non-daw.desktop.in',
target = 'non-daw.desktop',
encoding = 'utf8',
install_path = "${DATADIR}" + '/applications',
BIN_PATH = bld.env.BINDIR )
start_dir = bld.path.find_dir( 'icons/hicolor' ) start_dir = bld.path.find_dir( 'icons/hicolor' )
bld.install_files('${DATADIR}/icons/hicolor', start_dir.ant_glob('**/*.png'), bld.install_files('${DATADIR}/icons/hicolor', start_dir.ant_glob('**/*.png'),