mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
New port: multimedia/libdvdnav-mplayer - Mplayer fork of the libdvdnav project
Mplayer fork of the libdvdnav project. WWW: http://www.mplayerhq.hu/MPlayer/releases/dvdnav PR: ports/126481 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com>
This commit is contained in:
parent
df49f00e21
commit
b773938e08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218704
@ -111,6 +111,7 @@
|
||||
SUBDIR += libdvbpsi
|
||||
SUBDIR += libdvdcss
|
||||
SUBDIR += libdvdnav
|
||||
SUBDIR += libdvdnav-mplayer
|
||||
SUBDIR += libdvdplay
|
||||
SUBDIR += libdvdread
|
||||
SUBDIR += libfame
|
||||
|
48
multimedia/libdvdnav-mplayer/Makefile
Normal file
48
multimedia/libdvdnav-mplayer/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# New ports collection makefile for: libdvdnav-mplayer
|
||||
# Date created: 11 August 2008
|
||||
# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libdvdnav-mplayer
|
||||
PORTVERSION= 4.1.2
|
||||
CATEGORIES= multimedia
|
||||
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= ganael.laplanche@martymac.com
|
||||
COMMENT= Mplayer fork of the lidvdnav project
|
||||
|
||||
LIB_DEPENDS= dvdread.5:${PORTSDIR}/multimedia/libdvdread
|
||||
|
||||
CFLAGS+= "-I${LOCALBASE}/include"
|
||||
LDFLAGS+= "-L${LOCALBASE}/lib"
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_SCRIPT= configure2
|
||||
CONFIGURE_ARGS= --prefix="${PREFIX}" \
|
||||
--libdir="${PREFIX}/lib" \
|
||||
--shlibdir="${PREFIX}/lib" \
|
||||
--incdir="${PREFIX}/include/dvdnav" \
|
||||
--with-dvdread="${LOCALBASE}/include/dvdread" \
|
||||
--disable-opts \
|
||||
--disable-debug \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--extra-ldflags="${LDFLAGS}"
|
||||
USE_GMAKE= yes
|
||||
CONFLICTS= libdvdnav-[0-9]*
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-ldl ||g' \
|
||||
${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's|threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \
|
||||
${WRKSRC}/configure2
|
||||
|
||||
.include <bsd.port.mk>
|
3
multimedia/libdvdnav-mplayer/distinfo
Normal file
3
multimedia/libdvdnav-mplayer/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (libdvdnav-4.1.2.tar.gz) = 0e9a494403f9f5a2e781252c77599561
|
||||
SHA256 (libdvdnav-4.1.2.tar.gz) = 56bcb75113bb8091574c36590f84fb00d37711e8cda9f5f7152667b33b2d0cd1
|
||||
SIZE (libdvdnav-4.1.2.tar.gz) = 196223
|
11
multimedia/libdvdnav-mplayer/files/patch-Makefile
Normal file
11
multimedia/libdvdnav-mplayer/files/patch-Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.orig 2008-08-11 07:48:09.644830172 +0200
|
||||
+++ Makefile 2008-08-11 07:48:56.632122342 +0200
|
||||
@@ -101,7 +101,7 @@
|
||||
cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) -L. -Wl,-soname=$(SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) -ldvdread $(THREADLIB)
|
||||
else
|
||||
${SHLIB}: version.h $(.OBJDIR) $(SHOBJS) $(BUILDDEPS)
|
||||
- cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) -Wl,-soname=$(SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) -ldvdread $(THREADLIB)
|
||||
+ cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) $(LDFLAGS) -Wl,-soname=$(SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) -ldvdread $(THREADLIB)
|
||||
endif
|
||||
${MINI_SHLIB}: version.h $(.OBJDIR) $(SHOBJS) $(BUILDDEPS)
|
||||
cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) -Wl,-soname=$(MINI_SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) $(THREADLIB)
|
3
multimedia/libdvdnav-mplayer/pkg-descr
Normal file
3
multimedia/libdvdnav-mplayer/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Mplayer fork of the libdvdnav project.
|
||||
|
||||
WWW: http://www.mplayerhq.hu/MPlayer/releases/dvdnav
|
12
multimedia/libdvdnav-mplayer/pkg-plist
Normal file
12
multimedia/libdvdnav-mplayer/pkg-plist
Normal file
@ -0,0 +1,12 @@
|
||||
bin/dvdnav-config
|
||||
include/dvdnav/dvd_types.h
|
||||
include/dvdnav/dvdnav.h
|
||||
include/dvdnav/dvdnav_events.h
|
||||
@dirrm include/dvdnav
|
||||
lib/libdvdnav.so.4.1.2
|
||||
lib/libdvdnavmini.so.4.1.2
|
||||
lib/libdvdnav.so.4
|
||||
lib/libdvdnavmini.so.4
|
||||
lib/libdvdnav.so
|
||||
lib/libdvdnavmini.so
|
||||
lib/libdvdnav.a
|
Loading…
Reference in New Issue
Block a user