Lines 1-8
Link Here
|
1 |
PORTNAME= musikcube |
1 |
PORTNAME= musikcube |
2 |
DISTVERSION= 0.99.8 |
2 |
DISTVERSION= 0.99.8 |
3 |
PORTREVISION= 4 |
3 |
PORTREVISION= 5 |
4 |
CATEGORIES= multimedia audio |
4 |
CATEGORIES= multimedia audio |
5 |
|
5 |
|
|
|
6 |
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ |
7 |
PATCHFILES+= 2ee397091946.patch:-p1 # https://github.com/clangen/musikcube/pull/614 |
8 |
PATCHFILES+= a9b08fab3be3.patch:-p1 # https://github.com/clangen/musikcube/pull/614 |
9 |
|
6 |
MAINTAINER= yuri@FreeBSD.org |
10 |
MAINTAINER= yuri@FreeBSD.org |
7 |
COMMENT= Terminal-based music player, audio engine, metadata indexer, server |
11 |
COMMENT= Terminal-based music player, audio engine, metadata indexer, server |
8 |
WWW= https://musikcube.com/ |
12 |
WWW= https://musikcube.com/ |
Lines 13-18
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
Link Here
|
13 |
BUILD_DEPENDS= asio>0:net/asio |
17 |
BUILD_DEPENDS= asio>0:net/asio |
14 |
LIB_DEPENDS= libasound.so:audio/alsa-lib \ |
18 |
LIB_DEPENDS= libasound.so:audio/alsa-lib \ |
15 |
libavcodec.so:multimedia/ffmpeg \ |
19 |
libavcodec.so:multimedia/ffmpeg \ |
|
|
20 |
libbasu.so:devel/basu \ |
16 |
libboost_system.so:devel/boost-libs \ |
21 |
libboost_system.so:devel/boost-libs \ |
17 |
libcurl.so:ftp/curl \ |
22 |
libcurl.so:ftp/curl \ |
18 |
libev.so:devel/libev \ |
23 |
libev.so:devel/libev \ |
Lines 33-38
LIB_DEPENDS= libasound.so:audio/alsa-lib \
Link Here
|
33 |
USES= cmake:noninja compiler:c++17-lang pkgconfig ssl |
38 |
USES= cmake:noninja compiler:c++17-lang pkgconfig ssl |
34 |
USES+= localbase # workaround for https://github.com/clangen/musikcube/issues/600 |
39 |
USES+= localbase # workaround for https://github.com/clangen/musikcube/issues/600 |
35 |
USE_LDCONFIG= yes |
40 |
USE_LDCONFIG= yes |
|
|
41 |
CMAKE_ON= USE_BASU |
36 |
|
42 |
|
37 |
USE_GITHUB= yes |
43 |
USE_GITHUB= yes |
38 |
GH_ACCOUNT= clangen |
44 |
GH_ACCOUNT= clangen |
Lines 48-60
post-install:
Link Here
|
48 |
|
54 |
|
49 |
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079 |
55 |
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079 |
50 |
USES+= ncurses |
56 |
USES+= ncurses |
51 |
CMAKE_ARGS= -DNCURSES_DISABLE_LIB_SUFFIXES=false |
57 |
CMAKE_ARGS+= -DNCURSES_DISABLE_LIB_SUFFIXES=false |
52 |
CMAKE_ON= FREEBSD_USE_BASE_NCURSES |
58 |
CMAKE_ON+= FREEBSD_USE_BASE_NCURSES |
53 |
.else |
59 |
.else |
54 |
USES+= ncurses:port |
60 |
USES+= ncurses:port |
55 |
CFLAGS+= -I${LOCALBASE}/include/ncurses |
61 |
CFLAGS+= -I${LOCALBASE}/include/ncurses |
56 |
CMAKE_ARGS= -DNCURSES_DISABLE_LIB_SUFFIXES=true |
62 |
CMAKE_ARGS+= -DNCURSES_DISABLE_LIB_SUFFIXES=true |
57 |
CMAKE_OFF= FREEBSD_USE_BASE_NCURSES |
63 |
CMAKE_OFF+= FREEBSD_USE_BASE_NCURSES |
58 |
.endif |
64 |
.endif |
59 |
|
65 |
|
60 |
.include <bsd.port.mk> |
66 |
.include <bsd.port.mk> |