mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Update libdvdnav and libdvdread to 4.2.0 based on bep and patches from Cian Duffy.
Cleaned up the copyright entry for fitz.
This commit is contained in:
25
media-libs/libdvdnav/libdvdnav-4.2.0.bep
Normal file
25
media-libs/libdvdnav/libdvdnav-4.2.0.bep
Normal file
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION="libdvdnav"
|
||||
HOMEPAGE="http://www.mplayerhq.hu/design7/news.html"
|
||||
SRC_URI="http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.0.tar.bz2"
|
||||
CHECKSUM_MD5="53be8903f9802e101929a3451203bbf6"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="media-libs/libdvdcss >= 1.20.10
|
||||
media-libs/libdvdread >= 4.2.0"
|
||||
BUILD {
|
||||
cd libdvdnav-4.2.0
|
||||
./autogen.sh
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
|
||||
--enable-shared --enable-static
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd libdvdnav-4.2.0
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2000 Rich Wareham
|
||||
2001-2004 the dvdnav project"
|
||||
20
media-libs/libdvdnav/patches/libdvdnav-4.2.0.patch
Normal file
20
media-libs/libdvdnav/patches/libdvdnav-4.2.0.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- libdvdnav-4.2.0/configure.ac 2011-10-07 20:20:59.001572864 +0000
|
||||
+++ libdvdnav-4.2.0-haiku/configure.ac 2012-04-09 16:41:25.801112064 +0000
|
||||
@@ -143,7 +143,7 @@
|
||||
THREAD_CFLAGS="-I/usr/local/include -D_THREAD_SAFE"
|
||||
CFLAGS="$THREAD_CFLAGS $CFLAGS"
|
||||
;;
|
||||
- *mingw32* | *cygwin*)
|
||||
+ *mingw32* | *cygwin* | *haiku*)
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_LIB(pthread, pthread_create,
|
||||
@@ -168,6 +168,8 @@
|
||||
*os2*)
|
||||
LDFLAGS="-no-undefined -Zbin-files $LDFLAGS"
|
||||
;;
|
||||
+ *haiku*)
|
||||
+ ;;
|
||||
*)
|
||||
AC_CHECK_LIB(c, dlopen,
|
||||
DYNAMIC_LD_LIBS="",
|
||||
Reference in New Issue
Block a user