shithub: dav1d

Download patch

ref: 7efdb714020ad37211336ca02b48c38e41afe359
parent: fc6eae6e51e3a3e914c807697a781bff702fbaea
author: Hugo Beauzée-Luyssen <hugo@videolan.org>
date: Tue Oct 2 10:58:31 EDT 2018

meson: Move pkg-config generation in src/

--- a/meson.build
+++ b/meson.build
@@ -286,16 +286,3 @@
 subdir('tools')
 
 subdir('tests')
-
-
-
-#
-# Generate pkg-config .pc file
-#
-pkg_mod = import('pkgconfig')
-pkg_mod.generate(libraries: libdav1d,
-    version: meson.project_version(),
-    name: 'libdav1d',
-    filebase: 'dav1d',
-    description: 'AV1 decoding library'
-)
--- a/src/meson.build
+++ b/src/meson.build
@@ -199,3 +199,14 @@
     soversion : dav1d_soversion,
     install : true,
 )
+
+#
+# Generate pkg-config .pc file
+#
+pkg_mod = import('pkgconfig')
+pkg_mod.generate(libraries: libdav1d,
+    version: meson.project_version(),
+    name: 'libdav1d',
+    filebase: 'dav1d',
+    description: 'AV1 decoding library'
+)