blob: 7910a1b3392f3219ae8e7edaf0439599e3988273 (
plain)
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
|
PORTNAME= libcoverart
PORTVERSION= 1.0.0
PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= https://github.com/metabrainz/${PORTNAME}/releases/download/release-${PORTVERSION}/
MAINTAINER= jhale@FreeBSD.org
COMMENT= Library for accessing the MusicBrainz cover art archive
LICENSE= LGPL20
LIB_DEPENDS= libjansson.so:devel/jansson \
libneon.so:www/neon
USES= compiler:c11 cmake:insource pathfix
USE_CSTD= c99
USE_CXXSTD= c++98
USE_LDCONFIG= yes
CXXFLAGS+= -Wno-implicit-fallthrough
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
CXXFLAGS+= -Wno-unused-function -Wno-class-memaccess -Wno-catch-value
CFLAGS+= -Wno-format-overflow
.endif
post-patch:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/cmake/modules/*.cmake
.include <bsd.port.post.mk>
|