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 2022 Daniel Chan
13 # Copyright 2023 Niklas Poslovski
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= qbittorrent
21 COMPONENT_VERSION
= 4.5.5
23 COMPONENT_SUMMARY
= Qt cross-platform application and UI framework
24 COMPONENT_PROJECT_URL
= https
://www.qbittorrent.org
/
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:8e84a5ba63c7203cfb2e5bb23e27d000120fb8e9dfb6e9f9a1064dce1b9294e9
28 COMPONENT_ARCHIVE_URL
= https
://sourceforge.net
/projects
/$(COMPONENT_NAME
)/files
/$(COMPONENT_NAME
)/$(COMPONENT_SRC
)/$(COMPONENT_ARCHIVE
)/download
29 COMPONENT_FMRI
= network
/qbittorrent
30 COMPONENT_CLASSIFICATION
= Applications
/Internet
31 COMPONENT_LICENSE
= LGPLv2
32 COMPONENT_LICENSE_FILE
= COPYING
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
37 PATH
= $(QT6_BINDIR
):$(PG_BINDIR.
$(BITS
)):$(MYSQL_BINDIR.
$(BITS
)):$(GCC_ROOT
)/bin
:$(PATH.gnu
)
39 LDFLAGS
+= -Wl
,-rpath
,$(QT6_LIBDIR
)
40 CMAKE_OPTIONS
+= -DQT6
=On
41 CMAKE_OPTIONS
+= -DTESTING
=On
42 CMAKE_OPTIONS
+= -DCMAKE_PREFIX_PATH
=$(QT6_LIBDIR
)/cmake
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
46 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
47 REQUIRED_PACKAGES
+= library
/qt6
48 REQUIRED_PACKAGES
+= library
/security
/openssl-31
49 REQUIRED_PACKAGES
+= library
/zlib
50 REQUIRED_PACKAGES
+= network
/libtorrent-rasterbar
51 REQUIRED_PACKAGES
+= system
/library
52 REQUIRED_PACKAGES
+= system
/library
/math