mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
32 lines
715 B
Makefile
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
|