[Buildroot] [PATCH 5/6] package: Added libdvdnav package (dependency of gst-plugins-bad)

Peter Korsgaard jacmet at uclibc.org
Fri Dec 11 22:07:05 UTC 2009


>>>>> "Lionel" == llandwerlin  <llandwerlin at gmail.com> writes:

 Lionel> From: Lionel Landwerlin <llandwerlin at gmail.com>
 Lionel> Signed-off-by: Lionel Landwerlin <llandwerlin at gmail.com>

Hmm, this seems pretty broken - Does it really build for you?
First of all, there's no configure script in the tarball. There is a
configure2 script, and adding a symlink gets us to the build step where
it dies trying to find the libdvdread headers:

make[1]: Entering directory `/tmp/br/build/libdvdnav-4.1.3'
sh "/tmp/br/build/libdvdnav-4.1.3"/version.sh "/tmp/br/build/libdvdnav-4.1.3" "4.1.3"
cd obj && gcc -fPIC -DPIC -MD -O3  -g -Wall -funsigned-char -I/tmp/br/build/libdvdnav-4.1.3 -I"/tmp/br/build/libdvdnav-4.1.3"/src -I"/tmp/br/build/libdvdnav-4.1.3"/src/vm -DDVDNAV_COMPILE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -DHAVE_DLFCN_H  -c -o dvdnav.so /tmp/br/build/libdvdnav-4.1.3/src/dvdnav.c
/tmp/br/build/libdvdnav-4.1.3/src/dvdnav.c:40:32: error: dvdread/dvd_reader.h: No such file or directory

Also notice that it uses the host compiler.

 Lionel> +config BR2_PACKAGE_LIBDVDNAV
 Lionel> +	bool "libdvdnav"
 Lionel> +        select BR2_PACKAGE_LIBDVDREAD
 Lionel> +	help
 Lionel> +	  libdvdnav is a library that allows easy use of sophisticated
 Lionel> +	  DVD navigation features such as DVD menus, multiangle
 Lionel> +	  playback and even interactive DVD games.
 Lionel> +
 Lionel> +          http://www.mplayerhq.hu

Indentation is off here.

 Lionel> +++ b/package/multimedia/libdvdnav/libdvdnav.mk
 Lionel> @@ -0,0 +1,19 @@
 Lionel> +#############################################################
 Lionel> +#
 Lionel> +# libdvdnav
 Lionel> +#
 Lionel> +#############################################################
 Lionel> +
 Lionel> +LIBDVDNAV_VERSION = 4.1.3
 Lionel> +LIBDVDNAV_SOURCE = libdvdnav_$(LIBDVDNAV_VERSION).orig.tar.gz
 Lionel> +LIBDVDNAV_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/libd/libdvdnav/

The official upstream location is afaik
http://www.mplayerhq.hu/MPlayer/releases/dvdnav/

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list