summaryrefslogtreecommitdiff
path: root/audio/tamgamp-lv2/Makefile
blob: e7a01d1ce3632f89618f18aa50eef6b2aa405861 (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
35
36
37
38
39
40
41
42
43
44

PORTNAME=	tamgamp
DISTVERSION=	g20200514
PORTREVISION=	1
CATEGORIES=	audio
PKGNAMESUFFIX=	-lv2

PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+=	04c59043ab0939dff5a11698704d15289931bd2e.patch:-p1

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	LV2 guitar amp simulator

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	lv2>0:audio/lv2
LIB_DEPENDS=	libzita-resampler.so:audio/zita-resampler

USES=		gmake localbase:ldflags pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	sadko4u
GH_PROJECT=	tamgamp.lv2
GH_TAGNAME=	590ced0a1da96ca481a1a719eebdb17f3af472e4

BINARY_ALIAS=	make=${GMAKE} # https://github.com/sadko4u/tamgamp.lv2/issues/8

PLIST_FILES=	lib/lv2/tamgamp.lv2/manifest.ttl \
		lib/lv2/tamgamp.lv2/tamgamp-lv2.so \
		lib/lv2/tamgamp.lv2/tamgamp.ttl \
		lib/lv2/tamgamp.lv2/tamgamp_gx.ttl

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/tamgamp.lv2/tamgamp-lv2.so

OPTIONS_DEFINE=	SSE AVX

SSE_DESC=	Use SIMD SSE instructions
SSE_MAKE_ARGS=	SSE_INSTR_SET="-mmmx -m3dnow -msse"

AVX_DESC=	Use SIMD AVX instructions
AVX_MAKE_ARGS=	AVX_INSTR_SET="-mavx -mvzeroupper"

.include <bsd.port.mk>