blob: 972cb421f24c1c678f6f15322653385f77f3f581 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= audiowmark
PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= audio
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 99ffa6b4a4f311c88b6b38b31e579b2102453f3a.patch:-p1 # https://github.com/swesterfeld/audiowmark/issues/36
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Audio and video watermarking tool
WWW= https://github.com/swesterfeld/audiowmark
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 \
autoconf-archive>=0:devel/autoconf-archive
LIB_DEPENDS= libfftw3f.so:math/fftw3-float \
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error \
libmpg123.so:audio/mpg123 \
libsndfile.so:audio/libsndfile \
libzita-resampler.so:audio/zita-resampler
USES= autoreconf localbase:ldflags pkgconfig shebangfix
USE_GITHUB= yes
GH_ACCOUNT= swesterfeld
SHEBANG_FILES= src/videowmark
GNU_CONFIGURE= yes
PLIST_FILES= bin/audiowmark \
bin/videowmark
PORTDOCS= README.adoc
OPTIONS_DEFINE= DOCS FFMPEG
OPTIONS_DEFAULT= FFMPEG
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
FFMPEG_CONFIGURE_ON= --with-ffmpeg
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.adoc ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|