2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2015 Alexander Pyhalov
13 # Copyright 2018 Michal Nowak
14 # Copyright 2022-2023 Niklas Poslovski
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= transmission
21 COMPONENT_VERSION
= 3.0.0
24 COMPONENT_PROJECT_URL
= https
://www.transmissionbt.com
/
25 COMPONENT_SUMMARY
= GTK and console BitTorrent client
26 COMPONENT_FMRI
= desktop
/torrent
/transmission
27 COMPONENT_CLASSIFICATION
= Applications
/Internet
28 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
)
29 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
30 COMPONENT_ARCHIVE_HASH
= \
31 sha256
:9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2
32 COMPONENT_ARCHIVE_URL
= https
://github.com
/transmission
/transmission-releases
/raw
/master
/$(COMPONENT_ARCHIVE
)
33 COMPONENT_LICENSE_FILE
= COPYING
34 COMPONENT_LICENSE
= GPLv2
,MIT
36 include $(WS_MAKE_RULES
)/common.mk
40 CONFIGURE_OPTIONS
+= --program-prefix
=""
41 CONFIGURE_OPTIONS
+= --with-gtk
42 CONFIGURE_OPTIONS
+= --enable-cli
43 CONFIGURE_OPTIONS
+= --enable-daemon
44 CONFIGURE_OPTIONS
+= --enable-utp
45 CONFIGURE_OPTIONS
+= --with-crypto
=openssl
46 CONFIGURE_OPTIONS
+= --disable-static
48 COMPONENT_TEST_TRANSFORMER
= $(NAWK
)
49 COMPONENT_TEST_TRANSFORMS
= "'/TOTAL|PASS|FAIL|XFAIL|SKIP|XPASS|ERROR/'"
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
53 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
54 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
55 REQUIRED_PACKAGES
+= library
/desktop
/pango
56 REQUIRED_PACKAGES
+= library
/glib2
57 REQUIRED_PACKAGES
+= library
/libevent2
58 REQUIRED_PACKAGES
+= library
/zlib
59 REQUIRED_PACKAGES
+= system
/library
60 REQUIRED_PACKAGES
+= system
/library
/math
61 REQUIRED_PACKAGES
+= web
/curl