mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
ports-mgmt/packagekit-qt: Unflavorize
Qt5 flavor is not used anymore.
(cherry picked from commit 1bae3bc0e7
)
This commit is contained in:
parent
8f1a8b64e5
commit
4e969a8f55
1 changed files with 6 additions and 12 deletions
|
@ -1,8 +1,9 @@
|
|||
PORTNAME= PackageKit-Qt
|
||||
PORTVERSION= 1.1.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ports-mgmt sysutils
|
||||
MASTER_SITES= https://www.freedesktop.org/software/PackageKit/releases/
|
||||
PKGNAMESUFFIX= ${FLAVOR:S/qt//}
|
||||
PKGNAMESUFFIX= 6
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= DBUS packaging abstraction layer (Qt bindings)
|
||||
|
@ -13,20 +14,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/share/dbus-1/interfaces/org.freedesktop.PackageKit.xml:ports-mgmt/packagekit
|
||||
|
||||
FLAVORS= qt5 qt6
|
||||
FLAVOR?= qt5
|
||||
|
||||
USES= cmake cpe pathfix qt:${FLAVOR:S/qt//} tar:xz
|
||||
USES= cmake cpe pathfix qt:6 tar:xz
|
||||
CPE_VENDOR= packagekit_project
|
||||
USE_LDCONFIG= yes
|
||||
_USE_QT_qt5= core dbus buildtools:build qmake:build
|
||||
_USE_QT_qt6= base
|
||||
USE_QT= ${_USE_QT_${FLAVOR}}
|
||||
USE_QT= base
|
||||
|
||||
_CMAKE_ARGS_qt5= -DBUILD_WITH_QT6:BOOL=FALSE
|
||||
_CMAKE_ARGS_qt6= -DBUILD_WITH_QT6:BOOL=TRUE
|
||||
CMAKE_ARGS= ${_CMAKE_ARGS_${FLAVOR}}
|
||||
CMAKE_ARGS= -DBUILD_WITH_QT6:BOOL=TRUE
|
||||
|
||||
PLIST_SUB= QT_VER=${FLAVOR:S/qt//}
|
||||
PLIST_SUB= QT_VER=6
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue