blob: 203a7149e1bdd745d96fdcd7d9101b3c9ab35f7b (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
PORTNAME= musikcube
DISTVERSION= 3.0.2
PORTREVISION= 1
CATEGORIES= multimedia audio
MAINTAINER= yuri@FreeBSD.org
COMMENT= Terminal-based music player, audio engine, metadata indexer, server
WWW= https://musikcube.com/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= asio>0:net/asio
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libavcodec.so:multimedia/ffmpeg \
libbasu.so:devel/basu \
libcurl.so:ftp/curl \
libev.so:devel/libev \
libFLAC.so:audio/flac \
libmicrohttpd.so:www/libmicrohttpd \
libmp3lame.so:audio/lame \
libmpg123.so:audio/mpg123 \
libogg.so:audio/libogg \
libopenmpt.so:audio/libopenmpt \
libpipewire-0.3.so:multimedia/pipewire \
libportaudio.so:audio/portaudio \
libpulse.so:audio/pulseaudio \
libsndio.so:audio/sndio \
libtag.so:audio/taglib \
libvorbis.so:audio/libvorbis
USES= cmake:noninja compiler:c++17-lang pkgconfig ssl
USES+= localbase # workaround for https://github.com/clangen/musikcube/issues/600
USE_LDCONFIG= yes
CMAKE_ON= USE_BASU
USE_GITHUB= yes
GH_ACCOUNT= clangen
post-install:
@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} \
share/musikcube/libmusikcore.so \
share/musikcube/musikcube \
share/musikcube/musikcubed \
share/musikcube/plugins/*.so
.include <bsd.port.options.mk>
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
USES+= ncurses
CMAKE_ARGS+= -DNCURSES_DISABLE_LIB_SUFFIXES=false
CMAKE_ON+= FREEBSD_USE_BASE_NCURSES
.else
USES+= ncurses:port
CFLAGS+= -I${LOCALBASE}/include/ncurses
CMAKE_ARGS+= -DNCURSES_DISABLE_LIB_SUFFIXES=true
CMAKE_OFF+= FREEBSD_USE_BASE_NCURSES
.endif
.include <bsd.port.mk>
|