Deluge no longer uses GTK+2, it builds and runs fine without it. GTK+3 is used, but has been missing a proper RDEP; probably unnoticed since because it was already installed on every user's system. Use proper MODPY_FLAVOR and comment patches while here. Missing GTK+3 dependency spotted by ajacoutot OK sthen
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2020/04/26 00:58:39 kn Exp $
|
|
|
|
COMMENT = bittorrent client
|
|
|
|
DISTNAME = deluge-${MODPY_EGG_VERSION}
|
|
MODPY_EGG_VERSION = 2.0.3
|
|
REVISION = 0
|
|
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = https://www.deluge-torrent.org/
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MASTER_SITES = https://ftp.osuosl.org/pub/deluge/source/2.0/
|
|
|
|
EXTRACT_SUFX = .tar.xz
|
|
|
|
MODULES = lang/python \
|
|
textproc/intltool
|
|
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
|
|
MODPY_SETUPTOOLS = Yes
|
|
BUILD_DEPENDS = devel/py-wheel${MODPY_FLAVOR} \
|
|
devel/py-xdg${MODPY_FLAVOR} \
|
|
net/libtorrent-rasterbar \
|
|
textproc/py-chardet${MODPY_FLAVOR}
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
devel/py-gobject3${MODPY_FLAVOR} \
|
|
devel/py-rencode${MODPY_FLAVOR} \
|
|
devel/py-setproctitle${MODPY_FLAVOR} \
|
|
devel/py-twisted${MODPY_FLAVOR} \
|
|
devel/py-xdg${MODPY_FLAVOR} \
|
|
graphics/py-Pillow${MODPY_FLAVOR} \
|
|
net/libtorrent-rasterbar \
|
|
textproc/py-chardet${MODPY_FLAVOR} \
|
|
www/py-mako${MODPY_FLAVOR} \
|
|
x11/gtk+3 \
|
|
x11/gtk+3,-guic
|
|
|
|
.include <bsd.port.mk>
|