diff options
author | dhn <dhn@FreeBSD.org> | 2009-05-17 19:35:34 +0800 |
---|---|---|
committer | dhn <dhn@FreeBSD.org> | 2009-05-17 19:35:34 +0800 |
commit | 76eb64829ad114679011542ef9ea3435ac93bce9 (patch) | |
tree | 6285ccc4fcda48ab4bcee5b03a230de43087a896 /multimedia/libdv | |
parent | 4174995f038ae97a4ccca6e1b8263762ff067e42 (diff) | |
download | freebsd-ports-gnome-76eb64829ad114679011542ef9ea3435ac93bce9.tar.gz freebsd-ports-gnome-76eb64829ad114679011542ef9ea3435ac93bce9.tar.zst freebsd-ports-gnome-76eb64829ad114679011542ef9ea3435ac93bce9.zip |
- Update to 1.0.0
- Pass maintainership to submitter
PR: ports/133492
Submitted by: Bapt <baptiste.daroussin@gmail.com>
Approved by: miwi (mentor implicit)
Diffstat (limited to 'multimedia/libdv')
-rw-r--r-- | multimedia/libdv/Makefile | 46 | ||||
-rw-r--r-- | multimedia/libdv/distinfo | 6 | ||||
-rw-r--r-- | multimedia/libdv/files/patch-encodecv-dvavi.c (renamed from multimedia/libdv/files/patch-encodedv::dvavi.c) | 0 | ||||
-rw-r--r-- | multimedia/libdv/files/patch-encodedv-dvconnect.c (renamed from multimedia/libdv/files/patch-encodedv::dvconnect.c) | 0 | ||||
-rw-r--r-- | multimedia/libdv/files/patch-playdv-oss.c (renamed from multimedia/libdv/files/patch-playdv:oss.c) | 0 |
5 files changed, 12 insertions, 40 deletions
diff --git a/multimedia/libdv/Makefile b/multimedia/libdv/Makefile index 90413b245c68..9583e2fabe41 100644 --- a/multimedia/libdv/Makefile +++ b/multimedia/libdv/Makefile @@ -6,25 +6,18 @@ # PORTNAME= libdv -PORTVERSION= 0.104 -PORTREVISION= 6 +PORTVERSION= 1.0.0 CATEGORIES= multimedia -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= libdv-${PORTVERSION:C/\.(.)$/\1/} +MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= baptiste.daroussin@gmail.com COMMENT= Quasar DV codec (libdv): software codec for DV video encoding format LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ popt.0:${PORTSDIR}/devel/popt -USE_GNOME= gnometarget -WANT_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-gtk-prefix="${LOCALBASE}" \ - --x-includes="${LOCALBASE}/include" \ - --x-libraries="${LOCALBASE}/lib" +CONFIGURE_ARGS+= --disable-gtk CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${LOCALBASE}/libdata/pkgconfig @@ -32,18 +25,12 @@ USE_LDCONFIG= yes MAN1= dubdv.1 dvconnect.1 encodedv.1 -PORTDOCS= AUTHORS COPYING COPYRIGHT ChangeLog NEWS README \ +PORTDOCS= AUTHORS COPYING COPYRIGHT ChangeLog NEWS README \ README.dvconnect README.encoder TODO -.include <bsd.port.pre.mk> +OPTIONS+= SDL "Add SDL support" off -.if ${HAVE_GNOME:Mgtk12}!="" -USE_GNOME+= gtk12 -MAN1+= playdv.1 -PLIST_FILES+= bin/playdv -.else -CONFIGURE_ARGS+=--disable-gtk -.endif +.include <bsd.port.pre.mk> # XXX - work around compiler bug # Optimizations -O{1,s,2,3} work @@ -51,26 +38,15 @@ CONFIGURE_ARGS+=--disable-gtk # Therefore, make sure we have AT LEAST -O and avoid -O0 CONFIGURE_ENV+= CFLAGS="-O ${CFLAGS:N-O0}" -.ifndef(WITHOUT_SDL) +.if defined(WITH_SDL) USE_SDL= sdl -CONFIGURE_ARGS+= --enable-sdl -.endif - -pre-everything:: -.ifndef(WITHOUT_SDL) - @${ECHO_MSG} '===>' - @${ECHO_MSG} '===> Define WITHOUT_SDL to disable SDL support' - @${ECHO_MSG} '===>' +CONFIGURE_ARGS+= --enable-sdl .endif post-patch: @${REINPLACE_CMD} -E \ -e 's|(pkgconfigdir =).+(/pkgconfig)|\1 ${PREFIX}/libdata\2|' \ ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -E -e 's|(-lXv)|\1 -lXext -L${LOCALBASE}/lib|; \ - /objformat=/s|=.*|=elf|; \ - s@(PKG_CONFIG --(cflags|libs) )"\$$REQUIRES"@\1 gtk@' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|' \ ${WRKSRC}/libdv/dv.h \ ${WRKSRC}/libdv/dv_types.h \ @@ -85,10 +61,6 @@ post-patch: @${REINPLACE_CMD} -E -e 's|(@REQUIRES_NOPKGCONFIG@)|-L${LOCALBASE}/include \1|' \ ${WRKSRC}/libdv.pc.in -pre-configure: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \ - ${WRKSRC}/configure - post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} diff --git a/multimedia/libdv/distinfo b/multimedia/libdv/distinfo index f3de5f361168..d7ed275f19bb 100644 --- a/multimedia/libdv/distinfo +++ b/multimedia/libdv/distinfo @@ -1,3 +1,3 @@ -MD5 (libdv-0.104.tar.gz) = f6b08efce7472daa20685e6e8431f542 -SHA256 (libdv-0.104.tar.gz) = 8310e365e799dea9547fcaf84b21dae3bf8891a3befe7f0c6556025e6bc2c573 -SIZE (libdv-0.104.tar.gz) = 554691 +MD5 (libdv-1.0.0.tar.gz) = f895162161cfa4bb4a94c070a7caa6c7 +SHA256 (libdv-1.0.0.tar.gz) = a305734033a9c25541a59e8dd1c254409953269ea7c710c39e540bd8853389ba +SIZE (libdv-1.0.0.tar.gz) = 574565 diff --git a/multimedia/libdv/files/patch-encodedv::dvavi.c b/multimedia/libdv/files/patch-encodecv-dvavi.c index 8cb7a98d3347..8cb7a98d3347 100644 --- a/multimedia/libdv/files/patch-encodedv::dvavi.c +++ b/multimedia/libdv/files/patch-encodecv-dvavi.c diff --git a/multimedia/libdv/files/patch-encodedv::dvconnect.c b/multimedia/libdv/files/patch-encodedv-dvconnect.c index b180dad296f5..b180dad296f5 100644 --- a/multimedia/libdv/files/patch-encodedv::dvconnect.c +++ b/multimedia/libdv/files/patch-encodedv-dvconnect.c diff --git a/multimedia/libdv/files/patch-playdv:oss.c b/multimedia/libdv/files/patch-playdv-oss.c index c95592086a08..c95592086a08 100644 --- a/multimedia/libdv/files/patch-playdv:oss.c +++ b/multimedia/libdv/files/patch-playdv-oss.c |