Skip to content

Commit

Permalink
kde-ports: remove runtime-dependency on Qt testlib
Browse files Browse the repository at this point in the history
Qt testlib is a library for tests; it is not generally needed
at runtime. Move it to a _build dependency for the KDE-related
ports that use it for their tests.
  • Loading branch information
Adriaan de Groot authored and Adriaan de Groot committed Dec 10, 2021
1 parent f6c8d42 commit 311bf44
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 17 deletions.
6 changes: 3 additions & 3 deletions deskutils/charmtimetracker/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= charmtimetracker
DISTVERSION= 1.12.0
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= deskutils

# PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
Expand All @@ -24,8 +24,8 @@ GH_PROJECT= Charm

USE_QT= core dbus gui \
network printsupport script sql sql-sqlite3 \
testlib widgets xml \
buildtools_build qmake_build
widgets xml \
buildtools_build qmake_build testlib_build
USE_XORG= ice x11 xcb xext xscrnsaver

.include <bsd.port.mk>
7 changes: 4 additions & 3 deletions deskutils/libkdepim/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= libkdepim
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= deskutils kde kde-applications

MAINTAINER= kde@FreeBSD.org
Expand All @@ -15,10 +16,10 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \
kio service wallet widgetsaddons \
ecm_build
# pim components
USE_KDE+= akonadi akonadicontacts akonadisearch contacts ldap mime
USE_QT= concurrent core dbus designer gui network testlib uiplugin uitools \
USE_KDE+= akonadi akonadicontacts akonadisearch contacts ldap mime
USE_QT= concurrent core dbus designer gui network uiplugin uitools \
widgets xml \
buildtools_build qmake_build
buildtools_build qmake_build testlib_build

USE_LDCONFIG= yes

Expand Down
3 changes: 2 additions & 1 deletion games/kpat/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= kpat
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= games kde kde-applications

MAINTAINER= kde@FreeBSD.org
Expand All @@ -16,7 +17,7 @@ USE_KDE= attica auth codecs completion config configwidgets coreaddons \
textwidgets widgetsaddons xmlgui \
ecm_build
USE_QT= concurrent core dbus declarative gui network phonon4 svg widgets xml \
buildtools_build qmake_build
buildtools_build qmake_build testlib_build
CMAKE_ON= WITH_BH_SOLVER

OPTIONS_DEFINE= DOCS
Expand Down
3 changes: 2 additions & 1 deletion games/kreversi/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= kreversi
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= games kde kde-applications

MAINTAINER= kde@FreeBSD.org
Expand All @@ -12,7 +13,7 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \
solid widgetsaddons windowsystem xmlgui \
ecm_build
USE_QT= concurrent core dbus declarative gui network svg widgets xml \
buildtools_build qmake_build
buildtools_build qmake_build testlib_build

OPTIONS_DEFINE= DOCS

Expand Down
3 changes: 2 additions & 1 deletion games/ksirk/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= ksirk
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= games kde kde-applications

MAINTAINER= kde@FreeBSD.org
Expand All @@ -10,7 +11,7 @@ USE_KDE= attica auth codecs completion config configwidgets \
coreaddons crash i18n iconthemes kio libkdegames newstuff \
service wallet widgetsaddons xmlgui
USE_QT= concurrent core dbus declarative gui network phonon4 svg widgets xml \
buildtools_build qmake_build
buildtools_build qmake_build testlib_build
USE_LDCONFIG= yes

OPTIONS_DEFINE= DOCS
Expand Down
3 changes: 2 additions & 1 deletion games/ksudoku/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= ksudoku
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= games kde kde-applications

MAINTAINER= kde@FreeBSD.org
Expand All @@ -13,7 +14,7 @@ USE_KDE= archive auth codecs completion config configwidgets \
ecm_build
USE_QT= concurrent core dbus declarative gui network opengl printsupport \
svg widgets xml \
buildtools_build qmake_build
buildtools_build qmake_build testlib_build

OPTIONS_DEFINE= DOCS

Expand Down
5 changes: 3 additions & 2 deletions games/libkdegames/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= libkdegames
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= games kde kde-applications

MAINTAINER= kde@FreeBSD.org
Expand All @@ -15,8 +16,8 @@ USE_KDE= archive attica auth bookmarks codecs completion config \
itemviews jobwidgets kdeclarative kdelibs4support kio newstuff \
package service textwidgets widgetsaddons xmlgui \
ecm_build
USE_QT= core dbus declarative gui network svg testlib widgets xml \
buildtools_build qmake_build
USE_QT= core dbus declarative gui network svg widgets xml \
buildtools_build qmake_build testlib_build
USE_LDCONFIG= yes

SHLIB_VER= 7.0.0
Expand Down
5 changes: 3 additions & 2 deletions graphics/kcolorpicker/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PORTNAME= kColorPicker
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.6
PORTREVISION= 1
CATEGORIES= graphics kde

MAINTAINER= kde@FreeBSD.org
Expand All @@ -12,8 +13,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake compiler:c++11-lang qt:5
USE_GITHUB= yes
GH_ACCOUNT= ksnip
USE_QT= core testlib widgets \
buildtools_build qmake_build
USE_QT= core widgets \
buildtools_build qmake_build testlib_build

CMAKE_ON= BUILD_SHARED_LIBS

Expand Down
7 changes: 4 additions & 3 deletions graphics/spectacle/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= spectacle
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= graphics kde kde-applications

MAINTAINER= kde@FreeBSD.org
Expand All @@ -13,13 +14,13 @@ RUN_DEPENDS= kipi-plugins>=0:graphics/kipi-plugins

USES= cmake compiler:c++11-lang gettext kde:5 pkgconfig qt:5 tar:xz xorg
USE_KDE= attica auth codecs completion config configwidgets coreaddons \
dbusaddons doctools globalaccel i18n jobwidgets kdeclarative kio \
dbusaddons globalaccel i18n jobwidgets kdeclarative kio \
libkipi newstuff notifications package service solid wayland \
widgetsaddons windowsystem xmlgui \
ecm_build
doctools_build ecm_build
USE_QT= core concurrent dbus declarative gui network printsupport \
quickcontrols svg widgets x11extras xml \
buildtools_build qmake_build
buildtools_build qmake_build testlib_build
USE_XORG= x11 xcb xext xfixes

OPTIONS_DEFINE= DOCS
Expand Down

0 comments on commit 311bf44

Please sign in to comment.