ee65af8b19
- Convert to USE_GITHUB. - Convert to USES=cmake. - Add patch to prevent cmake trying to find the dl library, since in FreeBSD the dl functions are in the Standard C library (libc) - see dlopen(3) - Pet portlint with other patches (remake the patches with makepatch) This update also allows multimedia/ffmpegthumbnailer to build against ffmpeg 3.0.x. The ports tree currently still has multimedia/ffmepg at version 2.8.6, however this update is backwards compatible with ffmpeg 2.8.6. The update of multimedia/ffmpeg to 3.0.x branch is waiting for ports which depend on it to successfully build with the newer version of ffmpeg. PR: 208821 Submitted by: Ben Woods <woodsb02@gmail.com> Approved by: clutton@zoho.com (maintainer)
34 lines
776 B
Makefile
34 lines
776 B
Makefile
# Created by: Dierk Sacher <dierk@blaxxtarz.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ffmpegthumbnailer
|
|
PORTVERSION= 2.1.1
|
|
CATEGORIES= multimedia graphics
|
|
|
|
MAINTAINER= clutton@zoho.com
|
|
COMMENT= Lightweight video thumbnailer that can be used by file managers
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
libswscale.so:multimedia/ffmpeg
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dirkvdb
|
|
|
|
USES= cmake:outsource compiler:c++11-lib jpeg localbase pathfix pkgconfig
|
|
USE_GNOME= glib20
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DENABLE_GIO=ON \
|
|
-DCMAKE_INSTALL_MANDIR:PATH="man"
|
|
|
|
OPTIONS_DEFINE= THUMBNAILER
|
|
THUMBNAILER_DESC=Register as a system thumbnailer
|
|
OPTIONS_SUB= yes
|
|
OPTIONS_DEFAULT=THUMBNAILER
|
|
|
|
THUMBNAILER_CMAKE_ON= -DENABLE_THUMBNAILER=ON
|
|
|
|
.include <bsd.port.mk>
|