summaryrefslogtreecommitdiff
path: root/package/libdvdnav
diff options
context:
space:
mode:
Diffstat (limited to 'package/libdvdnav')
-rw-r--r--package/libdvdnav/Config.in13
-rw-r--r--package/libdvdnav/libdvdnav.mk19
2 files changed, 32 insertions, 0 deletions
diff --git a/package/libdvdnav/Config.in b/package/libdvdnav/Config.in
new file mode 100644
index 000000000..5ba31e875
--- /dev/null
+++ b/package/libdvdnav/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBDVDNAV
+ bool "libdvdnav"
+ depends on BR2_LARGEFILE # libdvdread
+ select BR2_PACKAGE_LIBDVDREAD
+ help
+ libdvdnav is a library that allows easy use of sophisticated
+ DVD navigation features such as DVD menus, multiangle
+ playback and even interactive DVD games.
+
+ http://www.mplayerhq.hu
+
+comment "libdvdnav requires a toolchain with LARGEFILE support"
+ depends on !BR2_LARGEFILE
diff --git a/package/libdvdnav/libdvdnav.mk b/package/libdvdnav/libdvdnav.mk
new file mode 100644
index 000000000..f69f23877
--- /dev/null
+++ b/package/libdvdnav/libdvdnav.mk
@@ -0,0 +1,19 @@
+#############################################################
+#
+# libdvdnav
+#
+#############################################################
+
+LIBDVDNAV_VERSION = 4.1.3
+LIBDVDNAV_SOURCE = libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2
+LIBDVDNAV_SITE = http://dvdnav.mplayerhq.hu/releases
+LIBDVDNAV_AUTORECONF = YES
+LIBDVDNAV_INSTALL_STAGING = YES
+
+LIBDVDNAV_DEPENDENCIES = libdvdread
+
+# By default libdvdnav tries to find dvdread-config in $PATH. Because
+# of cross compilation, we prefer using pkg-config.
+LIBDVDNAV_CONF_OPT = --with-dvdread-config="$(PKG_CONFIG_HOST_BINARY) dvdread"
+
+$(eval $(call AUTOTARGETS))