summaryrefslogtreecommitdiff
path: root/multimedia/kew/Makefile
blob: 0cd3dfb20d1537a65051aa142480672cffa59297 (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
PORTNAME=	kew
DISTVERSIONPREFIX=	v
DISTVERSION=	2.5.0
CATEGORIES=	multimedia

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Command-line music player
WWW=		https://github.com/ravachol/kew

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_i386=	compilation fails with incompatible pointer, see https://github.com/ravachol/kew/issues/118

LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
		libchafa.so:graphics/chafa \
		libfftw3f.so:math/fftw3-float \
		libfreeimage.so:graphics/freeimage \
		libopus.so:audio/opus \
		libopusfile.so:audio/opusfile \
		libvorbis.so:audio/libvorbis

USES=		gettext-runtime gmake gnome pkgconfig
USE_GNOME=	glib20

USE_GITHUB=	yes
GH_ACCOUNT=	ravachol

MAKE_ARGS=	CC=${CC} PREFIX=${PREFIX}

PLIST_FILES=	bin/kew \
		share/man/man1/kew.1.gz

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kew

.include <bsd.port.mk>