summaryrefslogtreecommitdiff
path: root/subprojects/packagefiles/libdvdnav
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-01-27 20:32:54 -0500
committerAndrew Opalach <andrew@akon.city> 2024-01-27 20:32:54 -0500
commitfb1cbf546300d9f8efdf21c6ac66f7c2f1dfd4f3 (patch)
tree2648f4e00ba85d2f2e7a5fb3321d55cd0f5a76b6 /subprojects/packagefiles/libdvdnav
parentdd2036e23a1f800f13b821eaa862403de1aa17f0 (diff)
downloadcamu-fb1cbf546300d9f8efdf21c6ac66f7c2f1dfd4f3.tar.gz
camu-fb1cbf546300d9f8efdf21c6ac66f7c2f1dfd4f3.tar.bz2
camu-fb1cbf546300d9f8efdf21c6ac66f7c2f1dfd4f3.zip
Improve build and add dependencies
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'subprojects/packagefiles/libdvdnav')
-rw-r--r--subprojects/packagefiles/libdvdnav/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/subprojects/packagefiles/libdvdnav/meson.build b/subprojects/packagefiles/libdvdnav/meson.build
new file mode 100644
index 0000000..3d220da
--- /dev/null
+++ b/subprojects/packagefiles/libdvdnav/meson.build
@@ -0,0 +1,16 @@
+project('libdvdnav', 'c', version: 'git-9831fe0', meson_version: '>=0.57.0')
+
+ext_proj = import('unstable-external_project')
+
+run_command('autoreconf', '-fi', check: true)
+
+proj = ext_proj.add_project('configure',
+ configure_options: [
+ '--prefix=@PREFIX@',
+ '--libdir=@PREFIX@/@LIBDIR@',
+ '--includedir=@PREFIX@/@INCLUDEDIR@'
+ ],
+ cross_configure_options: [],
+ verbose: true)
+
+meson.override_dependency('libdvdnav', proj.dependency('dvdnav'))