Merge branch 'meson-disablers-not-what-i-thought-them-to-be' into 'master'

build: drop use of disabler object

See merge request GNOME/nautilus!50
This commit is contained in:
Carlos Soriano 2018-01-04 16:12:29 +00:00
commit 50f9081863
2 changed files with 2 additions and 16 deletions

View file

@ -18,20 +18,6 @@
],
"cleanup": [ "/include", "/share/bash-completion" ],
"modules": [
{
"name": "meson",
"buildsystem": "simple",
"build-commands": [
"python3 setup.py install --prefix=/app"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/mesonbuild/meson/releases/download/0.44.0/meson-0.44.0.tar.gz",
"sha256": "50f9b12b77272ef6ab064d26b7e06667f07fa9f931e6a20942bba2216ba4281b"
}
]
},
{
"name": "exiv2",
"sources": [

View file

@ -1,6 +1,6 @@
project('nautilus', 'c',
version: '3.27.2',
meson_version: '>= 0.44.0',
meson_version: '>= 0.41.0',
license: 'GPL3+'
)
@ -51,7 +51,7 @@ gmodule = dependency('gmodule-no-export-2.0', version: glib_ver)
gnome_autoar = dependency('gnome-autoar-0', version: '>= 0.2.1')
gnome_desktop = dependency('gnome-desktop-3.0', version: '>= 3.0.0')
gtk = dependency('gtk+-3.0', version: '>= 3.22.26')
selinux = disabler()
selinux = []
if get_option('selinux')
selinux = dependency('libselinux', version: '>= 2.0')
endif