@@ -4,12 +4,12 @@ foreach i : icon_sizes
44 install_data (
55 ' icons' / i + ' .svg' ,
66 install_dir : get_option (' datadir' ) / ' icons' / ' hicolor' / i + ' x' + i / ' apps' ,
7- rename : meson .project_name() + ' .svg'
7+ rename : install_name + ' .svg'
88 )
99 install_data (
1010 ' icons' / i + ' .svg' ,
1111 install_dir : get_option (' datadir' ) / ' icons' / ' hicolor' / i + ' x' + i + ' @2' / ' apps' ,
12- rename : meson .project_name() + ' .svg'
12+ rename : install_name + ' .svg'
1313 )
1414endforeach
1515
@@ -20,7 +20,7 @@ install_data([
2020
2121install_data ([
2222 ' fonts/BuilderBlocks.ttf' ,
23- ], install_dir : get_option (' datadir' ) / meson .project_name() / ' fonts' )
23+ ], install_dir : get_option (' datadir' ) / install_name / ' fonts' )
2424
2525install_data (
2626 ' io.elementary.code.gschema.xml' ,
@@ -29,12 +29,12 @@ install_data(
2929)
3030
3131config_data = configuration_data ()
32- config_data.set(' EXEC_NAME' , meson .project_name() )
32+ config_data.set(' EXEC_NAME' , install_name )
3333
3434if (branch != '' )
35- config_data.set(' NAME' , ' Code - ' + branch)
35+ config_data.set(' NAME' , ' Dogfood Code 7 - ' + branch)
3636else
37- config_data.set(' NAME' , ' Code' )
37+ config_data.set(' NAME' , ' Dogfood Code 7 ' )
3838endif
3939
4040# Set the executable name and translate the desktop files
@@ -46,7 +46,7 @@ desktop_in_file = configure_file(
4646
4747desktop_file = i18n.merge_file(
4848 input : desktop_in_file,
49- output : ' io.elementary.code .desktop' ,
49+ output : install_name + ' .desktop' ,
5050 po_dir : meson .project_source_root () / ' po' / ' extra' ,
5151 type : ' desktop' ,
5252 install_dir : get_option (' datadir' ) / ' applications' ,
@@ -55,7 +55,7 @@ desktop_file = i18n.merge_file(
5555
5656i18n.merge_file(
5757 input : ' code.metainfo.xml.in' ,
58- output : meson .project_name() + ' .metainfo.xml' ,
58+ output : install_name + ' .metainfo.xml' ,
5959 po_dir : meson .project_source_root() / ' po' / ' extra' ,
6060 type : ' xml' ,
6161 install : true ,
@@ -65,19 +65,19 @@ i18n.merge_file(
6565config_data = configuration_data ()
6666config_data.set(' install_prefix' , get_option (' prefix' ))
6767config_data.set(' bin_dir' , get_option (' bindir' ))
68- config_data.set(' exec_name' , meson .project_name() )
68+ config_data.set(' exec_name' , install_name )
6969
7070if get_option (' have_pkexec' )
7171 policy_in = configure_file (
7272 input : ' code.policy.in.in' ,
73- output : meson .project_name() + ' .policy.in' ,
73+ output : install_name + ' .policy.in' ,
7474 configuration : config_data,
7575 install : false ,
7676 )
7777
7878 i18n.merge_file(
7979 input : policy_in,
80- output : meson .project_name() + ' .policy' ,
80+ output : install_name + ' .policy' ,
8181 po_dir : meson .project_source_root () / ' po' / ' extra' ,
8282 install : true ,
8383 install_dir : get_option (' datadir' ) / ' polkit-1' / ' actions' ,
0 commit comments