mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
Update to 4.1.3 (switch over to MPlayer's version)
Pass maintainership to submitter PR: ports/131969 Sumbmitted by: Ganael LAPLANCHE <ganael.laplanche at martymac.com> Approved by: nobutaka (timeout 18 months)
This commit is contained in:
parent
2130309d00
commit
e62e0609ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260450
@ -6,38 +6,44 @@
|
||||
#
|
||||
|
||||
PORTNAME= libdvdnav
|
||||
PORTVERSION= 0.1.10
|
||||
PORTREVISION= 5
|
||||
PORTVERSION= 4.1.3
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= SF/dvd/${PORTNAME}/${PORTVERSION}
|
||||
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
||||
http://www2.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
||||
http://www3.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
||||
http://www4.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
||||
http://www5.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
||||
ftp://ftp1.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
||||
ftp://ftp2.mplayerhq.hu/MPlayer/releases/dvdnav/
|
||||
DISTNAME= libdvdnav-${PORTVERSION}
|
||||
|
||||
MAINTAINER= nobutaka@FreeBSD.org
|
||||
COMMENT= The library for the xine-dvdnav plugin
|
||||
MAINTAINER= ganael.laplanche@martymac.com
|
||||
COMMENT= MPlayer version of the libdvdnav project
|
||||
|
||||
LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread
|
||||
|
||||
USE_BZIP2= yes
|
||||
CFLAGS+= "-I${LOCALBASE}/include"
|
||||
LDFLAGS+= "-L${LOCALBASE}/lib"
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_SCRIPT= configure2
|
||||
CONFIGURE_ARGS= --prefix="${PREFIX}" \
|
||||
--libdir="${PREFIX}/lib" \
|
||||
--libdatadir="${PREFIX}/libdata/pkgconfig" \
|
||||
--shlibdir="${PREFIX}/lib" \
|
||||
--incdir="${PREFIX}/include/dvdnav" \
|
||||
--disable-opts \
|
||||
--disable-debug \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--extra-ldflags="${LDFLAGS}"
|
||||
USE_GMAKE= yes
|
||||
CONFLICTS= libdvdnav-mplayer-[0-9]*
|
||||
|
||||
CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
THREAD_LIBS="${PTHREAD_LIBS}"
|
||||
CONFIGURE_ARGS= --program-transform-name=''
|
||||
USE_LDCONFIG= yes
|
||||
USE_AUTOTOOLS= libtool:22 autoconf:262 automake:16
|
||||
|
||||
# Internal libdvdread staticly dlopens libdvdcss.so.2
|
||||
DVDCSS_LIBVERSION= 3
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e \
|
||||
's|THREAD_LIBS="[^"]*"$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
|
||||
s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
|
||||
s|-L/usr/local/lib|-L${LOCALBASE}/lib|g ; \
|
||||
s|-I/usr/local/include|-I${LOCALBASE}/include|g' \
|
||||
${WRKSRC}/configure ${WRKSRC}/configure.ac \
|
||||
${WRKSRC}/missing ${WRKSRC}/aclocal.m4 ${WRKSRC}/autogen.sh
|
||||
@${REINPLACE_CMD} -E -e 's|(libdvdcss.so)\.2|\1.${DVDCSS_LIBVERSION}|' \
|
||||
${WRKSRC}/src/dvdread/dvd_input.c
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} -e 's|automake[0-9][0-9]|${TRUE}|' \
|
||||
`${FIND} ${WRKSRC} -type f -name Makefile`
|
||||
@${REINPLACE_CMD} -e 's|-ldl ||g' \
|
||||
${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's|^threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \
|
||||
${WRKSRC}/configure2
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (libdvdnav-0.1.10.tar.gz) = c8ddee96ba1182d73447eaf0bb6fde81
|
||||
SHA256 (libdvdnav-0.1.10.tar.gz) = c2c6ee274cbd5759715a786b949df8ac3e848ffc771173c4f006b88c665346d0
|
||||
SIZE (libdvdnav-0.1.10.tar.gz) = 539803
|
||||
MD5 (libdvdnav-4.1.3.tar.bz2) = d62383c45b28816771e283515f2c27fa
|
||||
SHA256 (libdvdnav-4.1.3.tar.bz2) = e82a3d7b3c342a895a332fc0fb2281f40ff9978cb8cbb8bf1343fcad0063759d
|
||||
SIZE (libdvdnav-4.1.3.tar.bz2) = 110843
|
||||
|
16
multimedia/libdvdnav/files/patch-Makefile
Normal file
16
multimedia/libdvdnav/files/patch-Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
--- Makefile.orig 2008-10-04 12:25:15.145677557 +0200
|
||||
+++ Makefile 2008-10-04 12:36:23.806607647 +0200
|
||||
@@ -131,10 +131,9 @@
|
||||
$(pcedit) $< > $@
|
||||
|
||||
install-pkgconfig: $(.OBJDIR)/dvdnav.pc $(.OBJDIR)/dvdnavmini.pc
|
||||
- install -d $(DESTDIR)$(libdir)/pkgconfig
|
||||
- install -m 0644 $(.OBJDIR)/dvdnav.pc $(DESTDIR)$(libdir)/pkgconfig
|
||||
- install -m 0644 $(.OBJDIR)/dvdnavmini.pc \
|
||||
- $(DESTDIR)$(libdir)/pkgconfig
|
||||
+ install -d $(DESTDIR)$(libdatadir)
|
||||
+ install -m 0644 $(.OBJDIR)/dvdnav.pc $(DESTDIR)$(libdatadir)
|
||||
+ install -m 0644 $(.OBJDIR)/dvdnavmini.pc $(DESTDIR)$(libdatadir)
|
||||
|
||||
distclean: clean
|
||||
find . -name "*~" | xargs rm -rf
|
35
multimedia/libdvdnav/files/patch-configure2
Normal file
35
multimedia/libdvdnav/files/patch-configure2
Normal file
@ -0,0 +1,35 @@
|
||||
--- configure2.orig 2008-10-04 12:27:58.564694499 +0200
|
||||
+++ configure2 2008-10-04 12:35:04.406225755 +0200
|
||||
@@ -26,6 +26,7 @@
|
||||
echo " --help print this message"
|
||||
echo " --prefix=PREFIX install in PREFIX [$PREFIX]"
|
||||
echo " --libdir=DIR install libs in DIR [PREFIX/lib]"
|
||||
+ echo " --libdatadir=DIR install pkgconfig files in DIR [PREFIX/lib/pkgconfig]"
|
||||
echo " --shlibdir=DIR install shared libs in DIR [PREFIX/lib]"
|
||||
echo " --incdir=DIR install includes in DIR [PREFIX/include/dvdnav]"
|
||||
echo " --enable-static build static libraries [default=yes]"
|
||||
@@ -72,6 +73,8 @@
|
||||
;;
|
||||
--libdir=*) libdir="$optval"
|
||||
;;
|
||||
+ --libdatadir=*) libdatadir="$optval"
|
||||
+ ;;
|
||||
--shlibdir=*) shlibdir="$optval"
|
||||
;;
|
||||
--incdir=*) incdir="$optval"
|
||||
@@ -100,6 +103,7 @@
|
||||
PREFIX=`cd $PREFIX && pwd`
|
||||
|
||||
test -z "$libdir" && libdir=$PREFIX/lib
|
||||
+test -z "$libdatadir" && libdir=$PREFIX/lib/pkgconfig
|
||||
test -z "$shlibdir" && shlibdir=$PREFIX/lib
|
||||
test -z "$incdir" && incdir=$PREFIX/include/dvdnav
|
||||
|
||||
@@ -127,6 +131,7 @@
|
||||
# Automatically generated by configure, do not edit
|
||||
PREFIX=$PREFIX
|
||||
libdir=$libdir
|
||||
+libdatadir=$libdatadir
|
||||
shlibdir=$shlibdir
|
||||
incdir=$incdir
|
||||
THREADLIB=$threadlib
|
@ -1,11 +0,0 @@
|
||||
--- examples/Makefile.in.orig Tue May 20 23:20:12 2003
|
||||
+++ examples/Makefile.in Thu Feb 12 20:44:41 2004
|
||||
@@ -151,7 +151,7 @@
|
||||
noinst_PROGRAMS = menus
|
||||
|
||||
menus_SOURCES = menus.c
|
||||
-menus_LDFLAGS = -L$(top_srcdir)/src/
|
||||
+menus_LDFLAGS = -L$(top_srcdir)/src/ $(THREAD_LIBS)
|
||||
menus_LDADD = $(DVDNAV_LIB)
|
||||
subdir = examples
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
@ -1,12 +0,0 @@
|
||||
--- m4/Makefile.in.orig Sun Oct 23 11:18:31 2005
|
||||
+++ m4/Makefile.in Sun Oct 23 11:19:02 2005
|
||||
@@ -116,8 +116,7 @@
|
||||
|
||||
EXTRA_DIST = dvdnav.m4
|
||||
|
||||
-@INSTALL_M4_TRUE@m4datadir = @ACLOCAL_DIR@
|
||||
-@INSTALL_M4_FALSE@m4datadir = $(datadir)/aclocal
|
||||
+m4datadir = $(datadir)/aclocal
|
||||
|
||||
m4data_DATA = dvdnav.m4
|
||||
subdir = m4
|
@ -1,13 +0,0 @@
|
||||
--- src/vm/vm.c.orig Fri Feb 20 00:49:57 2004
|
||||
+++ src/vm/vm.c Fri Feb 20 00:54:31 2004
|
||||
@@ -47,6 +47,10 @@
|
||||
#define lseek64 lseek
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+#define lseek64 lseek
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
#define STRICT
|
||||
*/
|
@ -1,6 +1,3 @@
|
||||
The library for the xine-dvdnav plugin.
|
||||
Mplayer version of the libdvdnav project.
|
||||
|
||||
WWW: http://dvd.sourceforge.net/xine-dvdnav.shtml
|
||||
|
||||
--
|
||||
MANTANI Nobutaka <nobutaka@nobutaka.com>
|
||||
WWW: http://www.mplayerhq.hu/MPlayer/releases/dvdnav
|
||||
|
@ -1,17 +1,14 @@
|
||||
bin/dvdnav-config
|
||||
include/dvdnav/dvd_reader.h
|
||||
include/dvdnav/dvd_types.h
|
||||
include/dvdnav/dvdnav.h
|
||||
include/dvdnav/dvdnav_events.h
|
||||
include/dvdnav/ifo_print.h
|
||||
include/dvdnav/ifo_read.h
|
||||
include/dvdnav/ifo_types.h
|
||||
include/dvdnav/nav_print.h
|
||||
include/dvdnav/nav_read.h
|
||||
include/dvdnav/nav_types.h
|
||||
lib/libdvdnav.a
|
||||
lib/libdvdnav.la
|
||||
lib/libdvdnav.so
|
||||
lib/libdvdnav.so.4
|
||||
share/aclocal/dvdnav.m4
|
||||
lib/libdvdnav.so.4.1.3
|
||||
lib/libdvdnavmini.so
|
||||
lib/libdvdnavmini.so.4
|
||||
lib/libdvdnavmini.so.4.1.3
|
||||
libdata/pkgconfig/dvdnav.pc
|
||||
libdata/pkgconfig/dvdnavmini.pc
|
||||
@dirrm include/dvdnav
|
||||
|
Loading…
Reference in New Issue
Block a user