qulogic/pidgin
Clone
Summary
Browse
Changes
Graph
Make sure all of the license headers for IRCv3 are GPLv2
default
4 months ago, Gary Kramlich
31e8c7c92e2f
Make sure all of the license headers for IRCv3 are GPLv2
Testing Done:
Ran `licensecheck` from debian in the following way.
```
$ licensecheck *.[ch] | cut -d: -f 2 | sort | uniq -c
27 GNU General Public License v2.0 or later
```
Reviewed at https://reviews.imfreedom.org/r/2913/
if
host_machine
.
system
()
!=
'windows'
PURPLE3_URL_HANDLER_DESKTOP
=
'purple3-url-handler.desktop'
i18n
=
import
(
'i18n'
)
desktop_file_in
=
configure_file
(
input
:
f
'@PURPLE3_URL_HANDLER_DESKTOP@.in.in'
,
output
:
f
'@PURPLE3_URL_HANDLER_DESKTOP@.in'
,
configuration
:
conf
)
i18n
.
merge_file
(
input
:
desktop_file_in
,
output
:
PURPLE3_URL_HANDLER_DESKTOP
,
po_dir
:
meson
.
project_source_root
()
/
'po'
,
type
:
'desktop'
,
install
:
true
,
install_dir
:
get_option
(
'datadir'
)
/
'applications'
)
endif
schemas_dir
=
get_option
(
'prefix'
)
/
get_option
(
'datadir'
)
/
'glib-2.0'
/
'schemas'
settings_schemas
=
[
'im.pidgin.Purple.gschema.xml'
,
'im.pidgin.Purple.PresenceManager.gschema.xml'
,
]
install_data
(
settings_schemas
,
install_dir
:
schemas_dir
)
gnome
.
post_install
(
glib_compile_schemas
:
true
)
# Compile the schemas in the current directory; this is only useful for testing
purple_schemas
=
[
gnome
.
compile_schemas
(
depend_files
:
files
(
settings_schemas
))]
testenv
.
prepend
(
'GSETTINGS_SCHEMA_DIR'
,
meson
.
current_build_dir
())