summaryrefslogtreecommitdiff
path: root/package/libdvdnav
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-04-30 03:48:15 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-05 23:40:27 +0200
commit84d589a963d902849b7022091e97ec71c38ed82e (patch)
tree121dfa6b27d4e3645ce1c6a09c4fbc295d461d0c /package/libdvdnav
parent33f454bbef77638a29ec24807e30740323e15b3e (diff)
package/multimedia: move multimedia libraries out
Move multimedia libraries ouf of the Audio and Video category into the Libraries/Multimedia one. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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))