Files
ports/net/qbittorrent/Makefile.inc
T
2026-05-06 22:57:15 +00:00

32 lines
715 B
Makefile

VER = 5.2.0
DISTNAME = qbittorrent-${VER}
DIST_SUBDIR = qbittorrent
CATEGORIES ?= net
HOMEPAGE ?= https://www.qbittorrent.org
MAINTAINER = Klemens Nanni <kn@openbsd.org>
# GPLv2
PERMIT_PACKAGE = Yes
SITES ?= ${SITE_SOURCEFORGE:=qbittorrent/}
EXTRACT_SUFX = .tar.xz
MODULES += devel/cmake \
x11/qt6
BUILD_DEPENDS += devel/boost
LIB_DEPENDS += net/libtorrent-rasterbar>=2
CONFIGURE_STYLE = cmake
CONFIGURE_ARGS += -DQT6=ON
# #error "Boost.Stacktrace requires `_Unwind_Backtrace` function. \
# Define `_GNU_SOURCE` macro or `BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED` \
# if _Unwind_Backtrace is available without `_GNU_SOURCE`."
CXXFLAGS += -DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED