build: Rename another option
authorMatthias Clasen <mclasen@redhat.com>
Wed, 10 May 2023 01:39:20 +0000 (21:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 10 May 2023 01:41:27 +0000 (21:41 -0400)
build-aux/flatpak/org.gtk.Demo4.json
build-aux/flatpak/org.gtk.IconBrowser4.json
build-aux/flatpak/org.gtk.WidgetFactory4.json
build-aux/flatpak/org.gtk.gtk4.NodeEditor.json
demos/meson.build
meson_options.txt

index 457dfd64b86d5cf7789c0d30116b87f87dd3081e..5c75ece589ef8abe54616a31be0375b42fe49de3 100644 (file)
                 "--libdir=/app/lib",
                 "-Dvulkan=disabled",
                 "-Dbuildtype=debugoptimized",
-                "-Dprofile=devel"
+                "-Ddemo-profile=devel"
             ],
             "sources" : [
                 {
index 00cdf9f110871733968613906717b408d3115896..b563dbb2850da11edcc8defd4505990124593261 100644 (file)
                 "--libdir=/app/lib",
                 "-Dvulkan=disabled",
                 "-Dbuildtype=debugoptimized",
-                "-Dprofile=devel"
+                "-Ddemo-profile=devel"
             ],
             "sources" : [
                 {
index cdca2010ee02c496f2f64085adb4ea4885d5b91e..390da50cacaed79a6a7856f3c1e5c4eae6b30035 100644 (file)
                 "--libdir=/app/lib",
                 "-Dvulkan=disabled",
                 "-Dbuildtype=debugoptimized",
-                "-Dprofile=devel"
+                "-Ddemo-profile=devel"
             ],
             "sources" : [
                 {
index bff6b20be3b0b1753b0dbc6a934286fbcd4c6fd4..ef60c66084f7dbdd1c75f820a8cd7694922519ae 100644 (file)
                 "--libdir=/app/lib",
                 "-Dvulkan=disabled",
                 "-Dbuildtype=debugoptimized",
-                "-Dprofile=devel"
+                "-Ddemo-profile=devel"
             ],
             "sources" : [
                 {
index 91eb3c465c69d30d5bdfc05f8c10e56169e0606c..d4c04d2b8bc0ee14f1bb481ca37be447d37c5969 100644 (file)
@@ -1,5 +1,5 @@
 gen_demo_header = find_program('../build-aux/meson/gen-demo-header.py')
-demo_profile = get_option('profile')
+demo_profile = get_option('demo-profile')
 
 demo_conf_h = declare_dependency(
   sources: custom_target('demo-header',
index 1526a351bc4c0ee3f8b42976d064389239a966aa..f4399d39df6fadb287e1c1c6a9abbcfb5015a9a9 100644 (file)
@@ -108,7 +108,7 @@ option('introspection',
 
 # Demos, examples and tests
 
-option('profile',
+option('demo-profile',
        type: 'combo',
        choices: [ 'default', 'devel' ],
        value: 'default',
@@ -119,6 +119,12 @@ option('build-demos',
        value: true,
        description : 'Build demo programs')
 
+option('profile',
+       type: 'combo',
+       choices: [ 'default', 'devel' ],
+       value: 'default',
+       deprecated: 'demo-profile')
+
 option('demos',
        type: 'boolean',
        value: true,