View | Details | Raw Unified | Return to bug 208821
Collapse All | Expand All

(-)multimedia/ffmpegthumbnailer/Makefile (-9 / +8 lines)
Lines 2-11 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	ffmpegthumbnailer
4
PORTNAME=	ffmpegthumbnailer
5
PORTVERSION=	2.0.9
5
PORTVERSION=	2.1.1
6
PORTREVISION=	1
7
CATEGORIES=	multimedia graphics
6
CATEGORIES=	multimedia graphics
8
MASTER_SITES=	LOCAL/riggs/${PORTNAME}
9
7
10
MAINTAINER=	clutton@zoho.com
8
MAINTAINER=	clutton@zoho.com
11
COMMENT=	Lightweight video thumbnailer that can be used by file managers
9
COMMENT=	Lightweight video thumbnailer that can be used by file managers
Lines 16-30 Link Here
16
LIB_DEPENDS=	libpng.so:graphics/png \
14
LIB_DEPENDS=	libpng.so:graphics/png \
17
		libswscale.so:multimedia/ffmpeg
15
		libswscale.so:multimedia/ffmpeg
18
16
19
CPPFLAGS+=	-I${LOCALBASE}/include
17
USE_GITHUB=	yes
20
LIBS+=		-L${LOCALBASE}/lib
18
GH_ACCOUNT=	dirkvdb
21
CONFIGURE_ARGS=	--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig --enable-gio
19
GH_PROJECT=	ffmpegthumbnailer
22
20
23
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
24
INSTALL_TARGET=	install-strip
22
USES=		cmake:outsource compiler:c++11-lib jpeg localbase pathfix pkgconfig
25
USES=		compiler:c++11-lib jpeg libtool pathfix pkgconfig
26
USE_GNOME=	glib20
23
USE_GNOME=	glib20
27
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
CMAKE_ARGS+=	-DENABLE_GIO=ON
26
CMAKE_ARGS+=	-DCMAKE_INSTALL_MANDIR:PATH="man"
28
27
29
OPTIONS_DEFINE=	THUMBNAILER
28
OPTIONS_DEFINE=	THUMBNAILER
30
THUMBNAILER_DESC=Register as a system thumbnailer
29
THUMBNAILER_DESC=Register as a system thumbnailer
Lines 31-36 Link Here
31
OPTIONS_SUB=	yes
30
OPTIONS_SUB=	yes
32
OPTIONS_DEFAULT=THUMBNAILER
31
OPTIONS_DEFAULT=THUMBNAILER
33
32
34
THUMBNAILER_CONFIGURE_ENABLE=	thumbnailer
33
THUMBNAILER_CMAKE_ON=	-DENABLE_THUMBNAILER=ON
35
34
36
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)multimedia/ffmpegthumbnailer/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (ffmpegthumbnailer-2.0.9.tar.gz) = 41f55f37000e3c640617e4807d990998ffc430472d3b481894a3df1ea7aee3af
1
SHA256 (dirkvdb-ffmpegthumbnailer-2.1.1_GH0.tar.gz) = e43d8aae7e80771dc700b3d960a0717d5d28156684a8ddc485572cbcbc4365e9
2
SIZE (ffmpegthumbnailer-2.0.9.tar.gz) = 483899
2
SIZE (dirkvdb-ffmpegthumbnailer-2.1.1_GH0.tar.gz) = 1531723
(-)multimedia/ffmpegthumbnailer/files/patch-CMakeLists.txt (+14 lines)
Line 0 Link Here
1
--- CMakeLists.txt.orig	2016-04-13 21:07:06 UTC
2
+++ CMakeLists.txt
3
@@ -96,9 +96,9 @@ FIND_LIBRARY(SWSCALE_LIBRARY
4
 
5
 IF (ENABLE_GIO)
6
     FIND_PATH(DL_INCLUDES dlfcn.h)
7
-    FIND_LIBRARY(DL_LIBRARY dl)
8
+#    FIND_LIBRARY(DL_LIBRARY dl)
9
     LIST(APPEND FFMPEGTHUMBNAILER_INCLUDE_DIRS ${DL_INCLUDES})
10
-    LIST(APPEND FFMPEGTHUMBNAILER_LIBRARIES ${DL_LIBRARY})
11
+#    LIST(APPEND FFMPEGTHUMBNAILER_LIBRARIES ${DL_LIBRARY})
12
 ENDIF ()
13
 
14
 LIST(APPEND FFMPEGTHUMBNAILER_INCLUDE_DIRS ${AVFORMAT_INCLUDE_DIR} ${AVCODEC_INCLUDE_DIR} ${AVUTIL_INCLUDE_DIR} ${SWSCALE_INCLUDE_DIR})
(-)multimedia/ffmpegthumbnailer/files/patch-dist_ffmpegthumbnailer.thumbnailer (-3 / +3 lines)
Lines 1-8 Link Here
1
--- dist/ffmpegthumbnailer.thumbnailer	2012-08-25 15:32:20.000000000 +0300
1
--- dist/ffmpegthumbnailer.thumbnailer.orig	2016-02-17 19:57:35 UTC
2
+++ dist/ffmpegthumbnailer.thumbnailer	2013-12-03 05:21:35.000000000 +0200
2
+++ dist/ffmpegthumbnailer.thumbnailer
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
 [Thumbnailer Entry]
4
 [Thumbnailer Entry]
5
 TryExec=ffmpegthumbnailer
5
 TryExec=ffmpegthumbnailer
6
 Exec=ffmpegthumbnailer -i %i -o %o -s %s -f
6
 Exec=ffmpegthumbnailer -i %i -o %o -s %s -f
7
-MimeType=video/jpeg;video/mp4;video/mpeg;video/quicktime;video/x-ms-asf;video/x-ms-wm;video/x-ms-wmv;video/x-msvideo;video/x-flv;video/x-matroska;
7
-MimeType=video/jpeg;video/mp4;video/mpeg;video/quicktime;video/x-ms-asf;video/x-ms-wm;video/x-ms-wmv;video/x-msvideo;video/x-flv;video/x-matroska;video/webm;video/mp2t;
8
+MimeType=application/mxf;application/ogg;application/ram;application/sdp;application/vnd.ms-wpl;application/vnd.rn-realmedia;application/x-extension-m4a;application/x-extension-mp4;application/x-flac;application/x-flash-video;application/x-matroska;application/x-netshow-channel;application/x-ogg;application/x-quicktimeplayer;application/x-shorten;audio/3gpp;audio/AMR;audio/AMR-WB;audio/ac3;audio/basic;audio/midi;audio/mp4;audio/mpeg;audio/ogg;audio/prs.sid;audio/vnd.rn-realaudio;audio/x-aiff;audio/x-ape;audio/x-flac;audio/x-gsm;audio/x-it;audio/x-m4a;audio/x-matroska;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-realaudio;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-real-audio;audio/x-realaudio;audio/x-sbc;audio/x-speex;audio/x-tta;audio/x-vorbis;audio/x-vorbis/ogg;audio/x-wav;audio/x-wavpack;audio/x-xm;image/vnd.rn-realpix;image/x-pict;misc/ultravox;text/x-google-video-pointer;video/3gpp;video/dv;video/fli;video/flv;video/mp2t;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/ogg;video/quicktime;video/vivo;video/vnd.divx;video/vnd.rn-realvideo;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-flv;video/x-m4v;video/x-matroska;video/x-mpeg;video/x-ms-asf;video/x-ms-asx;video/x-ms-wm;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvx;video/x-msvideo;video/x-nsv;video/x-ogm/ogg;video/x-theora/ogg;video/x-totem-stream;
8
+MimeType=application/mxf;application/ogg;application/ram;application/sdp;application/vnd.ms-wpl;application/vnd.rn-realmedia;application/x-extension-m4a;application/x-extension-mp4;application/x-flac;application/x-flash-video;application/x-matroska;application/x-netshow-channel;application/x-ogg;application/x-quicktimeplayer;application/x-shorten;audio/3gpp;audio/AMR;audio/AMR-WB;audio/ac3;audio/basic;audio/midi;audio/mp4;audio/mpeg;audio/ogg;audio/prs.sid;audio/vnd.rn-realaudio;audio/x-aiff;audio/x-ape;audio/x-flac;audio/x-gsm;audio/x-it;audio/x-m4a;audio/x-matroska;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-realaudio;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-real-audio;audio/x-realaudio;audio/x-sbc;audio/x-speex;audio/x-tta;audio/x-vorbis;audio/x-vorbis/ogg;audio/x-wav;audio/x-wavpack;audio/x-xm;image/vnd.rn-realpix;image/x-pict;misc/ultravox;text/x-google-video-pointer;video/3gpp;video/dv;video/fli;video/flv;video/mp2t;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/ogg;video/quicktime;video/vivo;video/vnd.divx;video/vnd.rn-realvideo;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-flv;video/x-m4v;video/x-matroska;video/x-mpeg;video/x-ms-asf;video/x-ms-asx;video/x-ms-wm;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvx;video/x-msvideo;video/x-nsv;video/x-ogm/ogg;video/x-theora/ogg;video/x-totem-stream;
(-)multimedia/ffmpegthumbnailer/files/patch-libffmpegthumbnailer_jpegwriter.h (-2 / +2 lines)
Lines 1-5 Link Here
1
--- libffmpegthumbnailer/jpegwriter.h.orig	2014-05-30 02:04:59.000000000 -0700
1
--- libffmpegthumbnailer/jpegwriter.h.orig	2016-02-17 19:57:35 UTC
2
+++ libffmpegthumbnailer/jpegwriter.h	2014-12-02 18:20:46.000000000 -0800
2
+++ libffmpegthumbnailer/jpegwriter.h
3
@@ -17,6 +17,7 @@
3
@@ -17,6 +17,7 @@
4
 #ifndef JPEG_WRITER_H
4
 #ifndef JPEG_WRITER_H
5
 #define JPEG_WRITER_H
5
 #define JPEG_WRITER_H
(-)multimedia/ffmpegthumbnailer/pkg-descr (-1 / +1 lines)
Lines 5-8 Link Here
5
This thumbnailer was designed to be as fast and lightweight as possible. The
5
This thumbnailer was designed to be as fast and lightweight as possible. The
6
only dependencies are ffmpeg, libjpeg and libpng.
6
only dependencies are ffmpeg, libjpeg and libpng.
7
7
8
WWW: http://code.google.com/p/ffmpegthumbnailer/
8
WWW: https://github.com/dirkvdb/ffmpegthumbnailer
(-)multimedia/ffmpegthumbnailer/pkg-plist (-2 / +2 lines)
Lines 1-4 Link Here
1
bin/ffmpegthumbnailer
1
bin/ffmpegthumbnailer
2
include/libffmpegthumbnailer/ffmpegthumbnailertypes.h
2
include/libffmpegthumbnailer/filmstripfilter.h
3
include/libffmpegthumbnailer/filmstripfilter.h
3
include/libffmpegthumbnailer/ifilter.h
4
include/libffmpegthumbnailer/ifilter.h
4
include/libffmpegthumbnailer/imagetypes.h
5
include/libffmpegthumbnailer/imagetypes.h
Lines 5-14 Link Here
5
include/libffmpegthumbnailer/videoframe.h
6
include/libffmpegthumbnailer/videoframe.h
6
include/libffmpegthumbnailer/videothumbnailer.h
7
include/libffmpegthumbnailer/videothumbnailer.h
7
include/libffmpegthumbnailer/videothumbnailerc.h
8
include/libffmpegthumbnailer/videothumbnailerc.h
8
lib/libffmpegthumbnailer.a
9
lib/libffmpegthumbnailer.so
9
lib/libffmpegthumbnailer.so
10
lib/libffmpegthumbnailer.so.4
10
lib/libffmpegthumbnailer.so.4
11
lib/libffmpegthumbnailer.so.4.0.9
11
lib/libffmpegthumbnailer.so.4.11.0
12
libdata/pkgconfig/libffmpegthumbnailer.pc
12
libdata/pkgconfig/libffmpegthumbnailer.pc
13
man/man1/ffmpegthumbnailer.1.gz
13
man/man1/ffmpegthumbnailer.1.gz
14
%%THUMBNAILER%%share/thumbnailers/ffmpegthumbnailer.thumbnailer
14
%%THUMBNAILER%%share/thumbnailers/ffmpegthumbnailer.thumbnailer

Return to bug 208821