summaryrefslogtreecommitdiff
path: root/package/multimedia/libdvdnav
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2009-12-12 03:13:40 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-12 08:55:09 +0100
commit5c2ceaa21aac097efc0ae746fc350ff8fcd9a274 (patch)
treec293c657163ccbaf734cf2f9bd33d478e87df4f1 /package/multimedia/libdvdnav
parent97c996d6548b1d73bebedb25cee23c2137cb6348 (diff)
package: Added libdvdnav package (dependency of gst-plugins-bad)
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/libdvdnav')
-rw-r--r--package/multimedia/libdvdnav/Config.in9
-rw-r--r--package/multimedia/libdvdnav/libdvdnav.mk20
2 files changed, 29 insertions, 0 deletions
diff --git a/package/multimedia/libdvdnav/Config.in b/package/multimedia/libdvdnav/Config.in
new file mode 100644
index 000000000..c4d73a031
--- /dev/null
+++ b/package/multimedia/libdvdnav/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBDVDNAV
+ bool "libdvdnav"
+ 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
diff --git a/package/multimedia/libdvdnav/libdvdnav.mk b/package/multimedia/libdvdnav/libdvdnav.mk
new file mode 100644
index 000000000..b3fea2fd2
--- /dev/null
+++ b/package/multimedia/libdvdnav/libdvdnav.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# libdvdnav
+#
+#############################################################
+
+LIBDVDNAV_VERSION = 4.1.3
+LIBDVDNAV_SOURCE = libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2
+LIBDVDNAV_SITE = http://www.mplayerhq.hu/MPlayer/releases/dvdnav
+LIBDVDNAV_AUTORECONF = YES
+LIBDVDNAV_INSTALL_STAGING = YES
+LIBDVDNAV_INSTALL_TARGET = 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,package/multimedia,libdvdnav))