[totem/wip/inigomartinez/meson-improve: 9/14] build: Reformat properties build file



commit 8728e98f8c6e8572f1d6bdcdad3d1d9ad0f76d65
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Sat Feb 17 11:35:57 2018 +0100

    build: Reformat properties build file
    
    Changed `properties` build file to fit to better meson formatting.
    The library name has also been fixed by removing the `lib` prefix.
    
    The `gtk+` library dependency has also been added to the properties
    internal dependency.

 src/properties/meson.build |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/src/properties/meson.build b/src/properties/meson.build
index 851203d..5261728 100644
--- a/src/properties/meson.build
+++ b/src/properties/meson.build
@@ -1,18 +1,13 @@
 libbacon_video_widget_properties = static_library(
-  'libbaconvideowidgetproperties',
+  'baconvideowidgetproperties',
   sources: 'bacon-video-widget-properties.c',
-  include_directories: [
-    top_inc,
-    src_inc
-  ],
+  include_directories: [top_inc, src_inc],
   dependencies: gtk_dep,
-  c_args: common_flags + warn_flags + [
-    '-DDATADIR="@0@"'.format(totem_pkgdatadir)
-  ]
+  c_args: warn_flags + ['-DDATADIR="@0@"'.format(totem_pkgdatadir)]
 )
 
 libbacon_video_widget_properties_dep = declare_dependency(
-  link_with: libbacon_video_widget_properties,
   include_directories: include_directories('.'),
-  dependencies: gtk_dep
+  dependencies: gtk_dep,
+  link_with: libbacon_video_widget_properties
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]