From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Fri, 11 Dec 2009 23:07:05 +0100 Subject: [Buildroot] [PATCH 5/6] package: Added libdvdnav package (dependency of gst-plugins-bad) In-Reply-To: <1260487878-21126-6-git-send-email-llandwerlin@gmail.com> (llandwerlin@gmail.com's message of "Fri, 11 Dec 2009 00:31:17 +0100") References: <1260487878-21126-1-git-send-email-llandwerlin@gmail.com> <1260487878-21126-6-git-send-email-llandwerlin@gmail.com> Message-ID: <87ws0ttbau.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Lionel" == llandwerlin writes: Lionel> From: Lionel Landwerlin Lionel> Signed-off-by: Lionel Landwerlin 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