Lines 1-7
Link Here
|
1 |
PORTNAME= transmission |
1 |
PORTNAME= transmission |
2 |
DISTVERSION= 4.0.4 |
2 |
DISTVERSION= 4.0.5 |
3 |
PORTREVISION= 5 |
|
|
4 |
CATEGORIES= net-p2p |
3 |
CATEGORIES= net-p2p |
|
|
4 |
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSION}/ |
5 |
|
5 |
|
6 |
MAINTAINER= mondo.debater_0q@icloud.com |
6 |
MAINTAINER= mondo.debater_0q@icloud.com |
7 |
COMMENT= Transmission BitTorrent client |
7 |
COMMENT= Transmission BitTorrent client |
Lines 10-15
WWW= https://www.transmissionbt.com
Link Here
|
10 |
LICENSE= GPLv3+ |
10 |
LICENSE= GPLv3+ |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
|
12 |
|
|
|
13 |
BUILD_DEPENDS= ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float \ |
14 |
${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp |
15 |
|
13 |
LIB_DEPENDS= libb64.so:converters/libb64 \ |
16 |
LIB_DEPENDS= libb64.so:converters/libb64 \ |
14 |
libcurl.so:ftp/curl \ |
17 |
libcurl.so:ftp/curl \ |
15 |
libdeflate.so:archivers/libdeflate \ |
18 |
libdeflate.so:archivers/libdeflate \ |
Lines 37-52
LIB_DEPENDS=
Link Here
|
37 |
gtk_LIB_DEPENDS= libayatana-appindicator3.so:devel/libayatana-appindicator \ |
40 |
gtk_LIB_DEPENDS= libayatana-appindicator3.so:devel/libayatana-appindicator \ |
38 |
libharfbuzz.so:print/harfbuzz |
41 |
libharfbuzz.so:print/harfbuzz |
39 |
|
42 |
|
40 |
USES= cmake cpe iconv libtool localbase pkgconfig ssl |
43 |
USES= cmake cpe iconv libtool localbase pkgconfig ssl tar:xz |
41 |
|
44 |
|
42 |
CPE_VENDOR= transmissionbt |
45 |
CPE_VENDOR= transmissionbt |
43 |
CPE_PRODUCT= transmission |
46 |
CPE_PRODUCT= transmission |
44 |
|
47 |
|
45 |
USE_GITHUB= YES |
48 |
EXTRACT_AFTER_ARGS+= --exclude third-party/dht \ |
46 |
GH_TUPLE= google:googletest:af29db7:googletest/third-party/googletest \ |
49 |
--exclude third-party/fast_float \ |
47 |
transmission:fast_float:6624977:fast_float/third-party/fast_float \ |
50 |
--exclude third-party/fmt \ |
48 |
transmission:utfcpp:b85efd6:utfcpp/third-party/utfcpp \ |
51 |
--exclude third-party/jsonl \ |
49 |
transmission:wide-integer:4de0b52:wideinteger/third-party/wide-integer |
52 |
--exclude third-party/libb64 \ |
|
|
53 |
--exclude third-party/libdeflate \ |
54 |
--exclude third-party/libevent \ |
55 |
--exclude third-party/libnatpmp \ |
56 |
--exclude third-party/libpsl \ |
57 |
--exclude third-party/libutp \ |
58 |
--exclude third-party/miniupnpc \ |
59 |
--exclude third-party/utfcpp |
60 |
|
50 |
|
61 |
|
51 |
.if ${FLAVOR} == gtk |
62 |
.if ${FLAVOR} == gtk |
52 |
USES+= desktop-file-utils gettext-runtime gettext-tools gnome |
63 |
USES+= desktop-file-utils gettext-runtime gettext-tools gnome |
Lines 126-131
OPTIONS_DEFINE= NLS TESTS
Link Here
|
126 |
OPTIONS_DEFAULT= NLS |
137 |
OPTIONS_DEFAULT= NLS |
127 |
.endif |
138 |
.endif |
128 |
|
139 |
|
|
|
140 |
GH_ACCOUNT= ${PORTNAME} |
141 |
GH_PROJECT= ${GH_ACCOUNT} |
142 |
|
129 |
OPTIONS_SUB= yes |
143 |
OPTIONS_SUB= yes |
130 |
|
144 |
|
131 |
daemon_DESC= Build daemon |
145 |
daemon_DESC= Build daemon |
Lines 141-155
NLS_USES= gettext-runtime:lib
Link Here
|
141 |
NLS_CMAKE_BOOL= ENABLE_NLS |
155 |
NLS_CMAKE_BOOL= ENABLE_NLS |
142 |
|
156 |
|
143 |
TESTS_CMAKE_BOOL= ENABLE_TESTS |
157 |
TESTS_CMAKE_BOOL= ENABLE_TESTS |
|
|
158 |
TESTS_LIB_DEPENDS= libgtest_main.so:devel/googletest |
144 |
|
159 |
|
145 |
UTILS_CMAKE_BOOL= ENABLE_UTILS |
160 |
UTILS_CMAKE_BOOL= ENABLE_UTILS |
146 |
|
161 |
|
147 |
WEB_CMAKE_BOOL= INSTALL_WEB |
162 |
WEB_CMAKE_BOOL= INSTALL_WEB |
148 |
|
163 |
|
149 |
post-extract: |
164 |
post-extract: |
150 |
@${ECHO_MSG} "Cludging use of devel/libfmt as Transmission's CMakeLists.txt does not properly search for it." |
165 |
@${ECHO_MSG} "Cludging use of math/fast_float, devel/libfmt, and devel/utf8cpp as Transmission's CMakeLists.txt does not properly search for them." |
|
|
166 |
@${MKDIR} ${WRKSRC}/third-party/fast_float/include/fast_float |
151 |
@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt |
167 |
@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt |
|
|
168 |
@${MKDIR} ${WRKSRC}/third-party/utfcpp/source |
169 |
@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fast_float/include/fast_float |
152 |
@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fmt/include/fmt |
170 |
@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fmt/include/fmt |
|
|
171 |
@${LN} -Fs ${PREFIX}/include/utf8cpp/utf8.h ${WRKSRC}/third-party/utfcpp/utf8.h |
172 |
@${LN} -Fs ${PREFIX}/include/utf8cpp/utf8 ${WRKSRC}/third-party/utfcpp/source |
153 |
|
173 |
|
154 |
.if ${FLAVOR} == docs |
174 |
.if ${FLAVOR} == docs |
155 |
pre-install: |
175 |
pre-install: |