Upgrade the Mediatomb version to 0.12.1, fix configure args to match the newer version, and add an optional dependency for ffmpegthumbnailer. I've e-mailed the port maintainer directly 4 days ago, but received no response. Fix: PORTNAME= mediatomb -PORTVERSION= 0.11.0 -PORTREVISION= 4 +PORTVERSION= 0.12.1 CATEGORIES= net multimedia MASTER_SITES= SF/${PORTNAME}/MediaTomb/${PORTVERSION} @@ -54,6 +53,7 @@ LIBEXIF "libexif support" on \ TAGLIB "taglib support" on \ FFMPEG "ffmpeg metadata extraction support" on \ + FFMPEGTHUMBNAILER "ffmpeg thumbnailer support" on \ EXTERNAL_TRANSCODING "external transcoding support" on \ CURL "curl support" on \ ID3LIB "id3lib support" off \ @@ -95,8 +95,8 @@ .if defined(WITH_LIBEXIF) CONFIGURE_ARGS+= --enable-libexif \ - --with-exif-h="${LOCALBASE}/include" \ - --with-exif-libs="${LOCALBASE}/lib" + --with-libexif-h="${LOCALBASE}/include" \ + --with-libexif-libs="${LOCALBASE}/lib" LIB_DEPENDS+= exif:${PORTSDIR}/graphics/libexif .else CONFIGURE_ARGS+= --disable-libexif @@ -108,6 +108,16 @@ CONFIGURE_ARGS+= --disable-external-transcoding .endif +.if defined(WITH_FFMPEGTHUMBNAILER) +CONFIGURE_ARGS+= --enable-ffmpegthumbnailer \ + --with-ffmpegthumbnailer-h="${LOCALBASE}/include" \ + --with-ffmpegthumbnailer-libs="${LOCALBASE}/lib" +LIB_DEPENDS+= ffmpegthumbnailer:${PORTSDIR}/multimedia/ffmpegthumbnailer +.else +CONFIGURE_ARGS+= --disable-ffmpegthumbnailer +.endif + + # CURL is only useful in combination with EXTERNAL_TRANSCODING .if defined(WITH_CURL) && defined(WITH_EXTERNAL_TRANSCODING) CONFIGURE_ARGS+= --enable-curl \ @@ -122,9 +132,7 @@ .endif .if defined(WITH_FFMPEG) -CONFIGURE_ARGS+= --enable-ffmpeg \ - --with-ffmpeg-h="${LOCALBASE}/include" \ - --with-ffmpeg-libs="${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ffmpeg LIB_DEPENDS+= avformat:${PORTSDIR}/multimedia/ffmpeg .else CONFIGURE_ARGS+= --disable-ffmpeg How-To-Repeat: N/A
Maintainer of net/mediatomb, Please note that PR ports/147201 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147201 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
On Sun, 2010-05-30 at 05:20 +0000, Edwin Groothuis wrote: > Maintainer of net/mediatomb, > Please note that PR ports/147201 has just been submitted. > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147201 > Patch can be submitted. Thank you! greets, Leo
State Changed From-To: feedback->open Maintainer approved.
State Changed From-To: open->closed Committeed, thanks!