diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-02-10 19:17:12 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-02-10 19:17:12 +0000 |
commit | d944a89d3f0afdaf2a3ebe626b84b4b23ac861c8 (patch) | |
tree | 65f6bae5cab9fe9a91dce19d0558e19e813607d7 /multimedia | |
parent | db1de10e9d5bf1b50177c591c022fa3dd7206f3a (diff) | |
download | ports-d944a89d3f0afdaf2a3ebe626b84b4b23ac861c8.tar.gz ports-d944a89d3f0afdaf2a3ebe626b84b4b23ac861c8.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libdvdnav-mplayer/Makefile | 10 | ||||
-rw-r--r-- | multimedia/libdvdnav-mplayer/distinfo | 6 | ||||
-rw-r--r-- | multimedia/libdvdnav-mplayer/files/patch-Makefile | 27 | ||||
-rw-r--r-- | multimedia/libdvdnav-mplayer/files/patch-configure2 | 35 | ||||
-rw-r--r-- | multimedia/libdvdnav-mplayer/pkg-descr | 2 | ||||
-rw-r--r-- | multimedia/libdvdnav-mplayer/pkg-plist | 10 |
6 files changed, 66 insertions, 24 deletions
diff --git a/multimedia/libdvdnav-mplayer/Makefile b/multimedia/libdvdnav-mplayer/Makefile index 80385fd8a26f..62776a4b9c36 100644 --- a/multimedia/libdvdnav-mplayer/Makefile +++ b/multimedia/libdvdnav-mplayer/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libdvdnav-mplayer -PORTVERSION= 4.1.2 -PORTREVISION= 1 +PORTVERSION= 4.1.3 CATEGORIES= multimedia MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/ \ http://www2.mplayerhq.hu/MPlayer/releases/dvdnav/ \ @@ -19,19 +18,20 @@ MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/ \ DISTNAME= libdvdnav-${PORTVERSION} MAINTAINER= ganael.laplanche@martymac.com -COMMENT= Mplayer fork of the lidvdnav project +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" \ - --with-dvdread="${LOCALBASE}/include/dvdread" \ --disable-opts \ --disable-debug \ --extra-cflags="${CFLAGS}" \ @@ -43,7 +43,7 @@ USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e 's|-ldl ||g' \ ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \ + @${REINPLACE_CMD} -e 's|^threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \ ${WRKSRC}/configure2 .include <bsd.port.mk> diff --git a/multimedia/libdvdnav-mplayer/distinfo b/multimedia/libdvdnav-mplayer/distinfo index 4f18c26efe64..9ae3a482c4a9 100644 --- a/multimedia/libdvdnav-mplayer/distinfo +++ b/multimedia/libdvdnav-mplayer/distinfo @@ -1,3 +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 +MD5 (libdvdnav-4.1.3.tar.bz2) = d62383c45b28816771e283515f2c27fa +SHA256 (libdvdnav-4.1.3.tar.bz2) = e82a3d7b3c342a895a332fc0fb2281f40ff9978cb8cbb8bf1343fcad0063759d +SIZE (libdvdnav-4.1.3.tar.bz2) = 110843 diff --git a/multimedia/libdvdnav-mplayer/files/patch-Makefile b/multimedia/libdvdnav-mplayer/files/patch-Makefile index cac98ebd4b4f..659395e4c0f7 100644 --- a/multimedia/libdvdnav-mplayer/files/patch-Makefile +++ b/multimedia/libdvdnav-mplayer/files/patch-Makefile @@ -1,11 +1,16 @@ ---- 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) +--- 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 diff --git a/multimedia/libdvdnav-mplayer/files/patch-configure2 b/multimedia/libdvdnav-mplayer/files/patch-configure2 new file mode 100644 index 000000000000..425db7d73d30 --- /dev/null +++ b/multimedia/libdvdnav-mplayer/files/patch-configure2 @@ -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 diff --git a/multimedia/libdvdnav-mplayer/pkg-descr b/multimedia/libdvdnav-mplayer/pkg-descr index cbe3447fab8c..34c2ba95c64e 100644 --- a/multimedia/libdvdnav-mplayer/pkg-descr +++ b/multimedia/libdvdnav-mplayer/pkg-descr @@ -1,3 +1,3 @@ -Mplayer fork of the libdvdnav project. +Mplayer version of the libdvdnav project. WWW: http://www.mplayerhq.hu/MPlayer/releases/dvdnav diff --git a/multimedia/libdvdnav-mplayer/pkg-plist b/multimedia/libdvdnav-mplayer/pkg-plist index afe499507557..7af27e3bd5b4 100644 --- a/multimedia/libdvdnav-mplayer/pkg-plist +++ b/multimedia/libdvdnav-mplayer/pkg-plist @@ -3,10 +3,12 @@ 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.1.3 lib/libdvdnav.so.4 -lib/libdvdnavmini.so.4 lib/libdvdnav.so -lib/libdvdnavmini.so lib/libdvdnav.a +lib/libdvdnavmini.so.4.1.3 +lib/libdvdnavmini.so.4 +lib/libdvdnavmini.so +libdata/pkgconfig/dvdnav.pc +libdata/pkgconfig/dvdnavmini.pc |