Skip to content

Commit

Permalink
net-p2p/*ktorrent: tidy up dependencies
Browse files Browse the repository at this point in the history
- Boost is a build-dep (wasn't listed explicitly for
  ktorrent, because it was dragged in implicitly by other
  KDE frameworks),
- ECM is a build-dep (either listed as runtime-dep, or missing
  and implicit from being a runtime-dep for something else).

While here, remove comment about keeping things in sync which
is no longer relevant since ktorrent and libktorrent are part
of the KDE release service.
  • Loading branch information
Adriaan de Groot authored and Adriaan de Groot committed Jul 8, 2021
1 parent bf089b3 commit c47397b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
16 changes: 8 additions & 8 deletions net-p2p/ktorrent/Makefile
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
PORTNAME= ktorrent
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= net-p2p kde kde-applications

# Since libktorrent is released with ktorrent, it lives in a
# strange download directory; keep this in-sync with net-p2p/libktorrent.

MAINTAINER= kde@FreeBSD.org
COMMENT= BitTorrent client for KDE

CONFLICTS_BUILD= libtorrent

USES= cmake compiler:c++11-lang gettext kde:5 qt:5 tar:xz

BUILD_DEPENDS= ${LOCALBASE}/include/boost/concept_check.hpp:devel/boost-libs
LIB_DEPENDS= libKF5Torrent.so:net-p2p/libktorrent \
libgcrypt.so:security/libgcrypt \
libgmp.so:math/gmp \
libtag.so:audio/taglib

USES= cmake compiler:c++11-lang gettext kde:5 qt:5 tar:xz
USE_KDE= archive auth bookmarks codecs completion config configwidgets \
coreaddons crash dbusaddons dnssd i18n iconthemes itemviews \
jobwidgets kcmutils kio kross notifications \
notifyconfig parts plotting service \
solid sonnet syndication textwidgets widgetsaddons \
windowsystem xmlgui
windowsystem xmlgui \
ecm_build
USE_QT= concurrent core dbus gui network phonon4 script widgets xml \
buildtools_build qmake_build

OPTIONS_DEFINE= DOCS WORKSPACE
OPTIONS_DEFINE= DOCS WORKSPACE
OPTIONS_DEFAULT= WORKSPACE
OPTIONS_SUB= yes
OPTIONS_SUB= yes

WORKSPACE_USE= KDE=plasma-workspace
WORKSPACE_DESC= Shutdown on completion support
Expand Down
14 changes: 6 additions & 8 deletions net-p2p/libktorrent/Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
PORTNAME= libktorrent
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= net-p2p kde kde-applications

# Since libktorrent is released with ktorrent, it lives in a
# strange download directory; keep this in-sync with net-p2p/ktorrent.

MAINTAINER= kde@FreeBSD.org
COMMENT= Torrent library from KTorrent project

BUILD_DEPENDS= ${LOCALBASE}/include/boost/concept_check.hpp:devel/boost-libs

LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgmp.so:math/gmp

USES= cmake compiler:c++11-lang gettext kde:5 qca qt:5 tar:xz
USE_KDE= archive completion config coreaddons crash ecm i18n \
jobwidgets kio service solid widgetsaddons
USE_QT= core gui network testlib xml \
buildtools_build qmake_build
USE_KDE= archive completion config coreaddons crash i18n \
jobwidgets kio service solid widgetsaddons \
ecm_build
USE_QT= core gui network xml \
buildtools_build qmake_build testlib_build

OPTIONS_DEFINE= DOCS

Expand Down

0 comments on commit c47397b

Please sign in to comment.