Lines 1-7
Link Here
|
1 |
PORTNAME= transmission |
1 |
PORTNAME= transmission |
2 |
DISTVERSION= 4.0.4 |
2 |
DISTVERSION= 4.0.5 |
3 |
PORTREVISION= 4 |
|
|
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/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-53
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 |
|
|
46 |
GH_TUPLE= google:googletest:af29db7:googletest/third-party/googletest \ |
47 |
transmission:fast_float:6624977:fast_float/third-party/fast_float \ |
48 |
transmission:utfcpp:b85efd6:utfcpp/third-party/utfcpp \ |
49 |
transmission:wide-integer:4de0b52:wideinteger/third-party/wide-integer |
50 |
|
51 |
.if ${FLAVOR} == gtk |
48 |
.if ${FLAVOR} == gtk |
52 |
USES+= desktop-file-utils gettext-runtime gettext-tools gnome |
49 |
USES+= desktop-file-utils gettext-runtime gettext-tools gnome |
53 |
USE_GNOME= gdkpixbuf2 glibmm gtkmm30 |
50 |
USE_GNOME= gdkpixbuf2 glibmm gtkmm30 |
Lines 126-131
OPTIONS_DEFINE= NLS TESTS
Link Here
|
126 |
OPTIONS_DEFAULT= NLS |
123 |
OPTIONS_DEFAULT= NLS |
127 |
.endif |
124 |
.endif |
128 |
|
125 |
|
|
|
126 |
GH_ACCOUNT= ${PORTNAME} |
127 |
GH_PROJECT= ${GH_ACCOUNT} |
128 |
|
129 |
OPTIONS_SUB= yes |
129 |
OPTIONS_SUB= yes |
130 |
|
130 |
|
131 |
daemon_DESC= Build daemon |
131 |
daemon_DESC= Build daemon |
Lines 141-155
NLS_USES= gettext-runtime:lib
Link Here
|
141 |
NLS_CMAKE_BOOL= ENABLE_NLS |
141 |
NLS_CMAKE_BOOL= ENABLE_NLS |
142 |
|
142 |
|
143 |
TESTS_CMAKE_BOOL= ENABLE_TESTS |
143 |
TESTS_CMAKE_BOOL= ENABLE_TESTS |
|
|
144 |
TESTS_LIB_DEPENDS= libgtest_main.so:devel/googletest |
144 |
|
145 |
|
145 |
UTILS_CMAKE_BOOL= ENABLE_UTILS |
146 |
UTILS_CMAKE_BOOL= ENABLE_UTILS |
146 |
|
147 |
|
147 |
WEB_CMAKE_BOOL= INSTALL_WEB |
148 |
WEB_CMAKE_BOOL= INSTALL_WEB |
148 |
|
149 |
|
149 |
post-extract: |
150 |
post-extract: |
150 |
@${ECHO_MSG} "Cludging use of devel/libfmt as Transmission's CMakeLists.txt does not properly search for it." |
151 |
@${ECHO_MSG} "Cleaning bundled third-party dependencies and cludging use of math/fast_float, devel/libfmt, and devel/utf8cpp as Transmission's CMakeLists.txt does not properly search for them." |
|
|
152 |
@${RM} -rf ${WRKSRC}/third-party/dht |
153 |
@${RM} -rf ${WRKSRC}/third-party/fast_float |
154 |
@${RM} -rf ${WRKSRC}/third-party/fmt |
155 |
@${RM} -rf ${WRKSRC}/third-party/jsonl |
156 |
@${RM} -rf ${WRKSRC}/third-party/libb64 |
157 |
@${RM} -rf ${WRKSRC}/third-party/libdeflate |
158 |
@${RM} -rf ${WRKSRC}/third-party/libevent |
159 |
@${RM} -rf ${WRKSRC}/third-party/libnatpmp |
160 |
@${RM} -rf ${WRKSRC}/third-party/libpsl |
161 |
@${RM} -rf ${WRKSRC}/third-party/libutp |
162 |
@${RM} -rf ${WRKSRC}/third-party/miniupnpc |
163 |
@${RM} -rf ${WRKSRC}/third-party/utfcpp |
164 |
@${MKDIR} ${WRKSRC}/third-party/fast_float/include/fast_float |
151 |
@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt |
165 |
@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt |
|
|
166 |
@${MKDIR} ${WRKSRC}/third-party/utfcpp/source |
167 |
@${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 |
168 |
@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fmt/include/fmt |
|
|
169 |
@${LN} -Fs ${PREFIX}/include/utf8.h ${WRKSRC}/third-party/utfcpp/utf8.h |
170 |
@${LN} -Fs ${PREFIX}/include/utf8 ${WRKSRC}/third-party/utfcpp/source |
153 |
|
171 |
|
154 |
.if ${FLAVOR} == docs |
172 |
.if ${FLAVOR} == docs |
155 |
pre-install: |
173 |
pre-install: |