From nobody Sat Dec 02 08:31:15 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sj36r0GjMz52Qh2; Sat, 2 Dec 2023 08:31:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sj36q6wStz3PqP; Sat, 2 Dec 2023 08:31:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701505876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5LhB3ANvIHqzjMgZ/wPMwkcP//8WftVDx2QYYytrMs4=; b=W/38jQ2XgNXP7X+lvgXOly1hAcQG/JLrX/uvYZFV8k3RMeXTDbpbYu9WlXNp8C/jz0Ofp+ eA8bhVH2zEd+nvZjFaLEescA3qC66gO3tnAhPYlmusXlSvO3QWYPHid7LaZyx3eQ8ttofr 3lG9J7f6wigjAcpXr6fI2Ye2y9iZoGs06879KqwsPESH1JvDBKb1Mr/mg6UJ3xvviadWdz sfLzjCjAZnzEkzvOj78EZfc/Ob0jceacy1rIgqcksGa9YOC9gLZ80+5yYBEYhWqcSbabB6 0VXUZdHSONrE/xJR3/ZSyjinWjwtIMcTi1pWYQcZDybKr+m/By/uHFgH3bNKyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701505876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5LhB3ANvIHqzjMgZ/wPMwkcP//8WftVDx2QYYytrMs4=; b=g30ZLkd9oL8i5VWcGsth12jhXrYnLsC8UoS0DiQiA3YvITcmDpuk4ruWDFybvT3W1gUI3Q e0+CrwJmBnm+pqOKg7ibwIU1zYyvoHTdW0U+MUI/X0Yrhj2t3L2VZz4cDsh38qOY5QL1C6 sZucWsOrgUHONBbsoAwyO1qsAzIpoWuL63C1YFHtRzl1m8VkK2ycseu4uhWHCsa+6idh99 l0fUcfeVvCaoxLlhEr1USpUe2ihcX73BD6rPSqyUtN61T2KnrfXswrZKwSAFArVrHq6hcY AM2+xw8p3K44zwMBweFWyIpSNtJGQ2pZBWg/6kOcNbzDGnjKIGgP+C6NPpk9qA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701505876; a=rsa-sha256; cv=none; b=CQqEB9MeRn2IqPkfphQBcct5IiXPgQNyXN6DYDKGx6/9c6MawQPFV+upIp4BCN83HqBsx4 h5yCjOWcfQuhajCunYMUfDbHr0M6iAyCqDVC6VJZl6p3xE/SrLP6oByvTYNBZSa7LfqCFd UX1p0hjBvr9AkJ8WVQjcYF//FIuyYcsimYg7EtybB/i89PwMWxMvDkAHjm3xgTk8DBPKFv 4ZOq+H1Ol1CQulDsAyO4H57Yacz8cx2zwlomEmgaXgGyRJdF1sVKDkzWLRsrrFgmbJktQN /C//vjLQ7woo6ZyVbSpgEJWKcVEEl6fhtX/GttBkZddaECwc874RY/BgDxsjcw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sj36q5gMpz18G9; Sat, 2 Dec 2023 08:31:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3B28VF2E090496; Sat, 2 Dec 2023 08:31:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3B28VFGS090493; Sat, 2 Dec 2023 08:31:15 GMT (envelope-from git) Date: Sat, 2 Dec 2023 08:31:15 GMT Message-Id: <202312020831.3B28VFGS090493@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: 46e5d467dd6a - main - sysutils/polkit-qt-1-devel: new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 46e5d467dd6ab8aa98a4e1200029247fdf6a8d4b Auto-Submitted: auto-generated The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=46e5d467dd6ab8aa98a4e1200029247fdf6a8d4b commit 46e5d467dd6ab8aa98a4e1200029247fdf6a8d4b Author: Tobias C. Berner AuthorDate: 2023-12-02 07:52:26 +0000 Commit: Tobias C. Berner CommitDate: 2023-12-02 07:53:09 +0000 sysutils/polkit-qt-1-devel: new port This is the development version of sysutils/polkit-qt-1 It adds Qt6 support, which is required for the Plasma 6-beta ports. --- sysutils/Makefile | 1 + sysutils/polkit-qt-1-devel/Makefile | 34 ++++++++++++++++++++++++++++ sysutils/polkit-qt-1-devel/distinfo | 3 +++ sysutils/polkit-qt-1-devel/pkg-descr | 4 ++++ sysutils/polkit-qt-1-devel/pkg-plist | 43 ++++++++++++++++++++++++++++++++++++ 5 files changed, 85 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 3dded3b01bab..8c60aeaa5bd1 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1034,6 +1034,7 @@ SUBDIR += polkit SUBDIR += polkit-gnome SUBDIR += polkit-qt + SUBDIR += polkit-qt-1-devel SUBDIR += pot SUBDIR += potnet SUBDIR += poweralertd diff --git a/sysutils/polkit-qt-1-devel/Makefile b/sysutils/polkit-qt-1-devel/Makefile new file mode 100644 index 000000000000..5dd6a5db1c44 --- /dev/null +++ b/sysutils/polkit-qt-1-devel/Makefile @@ -0,0 +1,34 @@ +PORTNAME= polkit-qt-1 +DISTVERSION= 0.175.0 +CATEGORIES= sysutils +MASTER_SITES= KDE/unstable/${PORTNAME}/ +PKGNAMESUFFIX= -${FLAVOR} + +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt wrapper around Polkit libraries +WWW= https://projects.kde.org/projects/kdesupport/polkit-qt-1 + +LICENSE= LGPL21 + +FLAVORS= qt5 qt6 +FLAVOR?= qt5 + +LIB_DEPENDS= libpolkit-agent-1.so:sysutils/polkit + +USES= cmake compiler:c++11-lang gnome pkgconfig qt:${FLAVOR:C/qt//} \ + tar:xz +USE_GNOME= glib20 +USE_QT= ${_USE_QT_${FLAVOR}} +CMAKE_OFF= BUILD_EXAMPLES BUILD_TEST +CMAKE_ARGS= -DQT_MAJOR_VERSION=${FLAVOR:C/qt//} +_USE_QT_qt5= core dbus gui widgets buildtools:build qmake:build +_USE_QT_qt6= base + +USE_LDCONFIG= yes +PLIST_SUB= QT_VER=${FLAVOR:C/qt//} + +post-patch: + ${REINPLACE_CMD} -e 's|$${LIB_DESTINATION}/pkgconfig|libdata/pkgconfig|' \ + ${WRKSRC}/CMakeLists.txt + +.include diff --git a/sysutils/polkit-qt-1-devel/distinfo b/sysutils/polkit-qt-1-devel/distinfo new file mode 100644 index 000000000000..b60ed705f05b --- /dev/null +++ b/sysutils/polkit-qt-1-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1701502649 +SHA256 (polkit-qt-1-0.175.0.tar.xz) = 73a32d1a1819684145e0ef8a1f2ea804f9ec10ad78d62aa03bad4dbdb39c4c99 +SIZE (polkit-qt-1-0.175.0.tar.xz) = 58208 diff --git a/sysutils/polkit-qt-1-devel/pkg-descr b/sysutils/polkit-qt-1-devel/pkg-descr new file mode 100644 index 000000000000..ce0027a2091b --- /dev/null +++ b/sysutils/polkit-qt-1-devel/pkg-descr @@ -0,0 +1,4 @@ +Polkit-Qt is a library that lets developers use the Polkit API through +a nice Qt-styled API. It is mainly a wrapper around QAction and +QAbstractButton that lets you integrate those two component easily +with Polkit. diff --git a/sysutils/polkit-qt-1-devel/pkg-plist b/sysutils/polkit-qt-1-devel/pkg-plist new file mode 100644 index 000000000000..76440a7cb017 --- /dev/null +++ b/sysutils/polkit-qt-1-devel/pkg-plist @@ -0,0 +1,43 @@ +include/polkit-qt%%QT_VER%%-1/PolkitQt1/ActionDescription +include/polkit-qt%%QT_VER%%-1/PolkitQt1/Agent/Listener +include/polkit-qt%%QT_VER%%-1/PolkitQt1/Agent/Session +include/polkit-qt%%QT_VER%%-1/PolkitQt1/Authority +include/polkit-qt%%QT_VER%%-1/PolkitQt1/Details +include/polkit-qt%%QT_VER%%-1/PolkitQt1/Gui/Action +include/polkit-qt%%QT_VER%%-1/PolkitQt1/Gui/ActionButton +include/polkit-qt%%QT_VER%%-1/PolkitQt1/Gui/ActionButtons +include/polkit-qt%%QT_VER%%-1/PolkitQt1/Identity +include/polkit-qt%%QT_VER%%-1/PolkitQt1/Subject +include/polkit-qt%%QT_VER%%-1/PolkitQt1/TemporaryAuthorization +include/polkit-qt%%QT_VER%%-1/polkitqt1-actiondescription.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-agent-export.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-agent-listener.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-agent-session.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-authority.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-core-export.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-details.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-gui-action.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-gui-actionbutton.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-gui-actionbuttons.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-gui-export.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-identity.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-subject.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-temporaryauthorization.h +include/polkit-qt%%QT_VER%%-1/polkitqt1-version.h +lib/cmake/PolkitQt%%QT_VER%%-1/PolkitQt%%QT_VER%%-1Config.cmake +lib/cmake/PolkitQt%%QT_VER%%-1/PolkitQt%%QT_VER%%-1ConfigVersion.cmake +lib/cmake/PolkitQt%%QT_VER%%-1/PolkitQt%%QT_VER%%-1Targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/PolkitQt%%QT_VER%%-1/PolkitQt%%QT_VER%%-1Targets.cmake +lib/libpolkit-qt%%QT_VER%%-agent-1.so +lib/libpolkit-qt%%QT_VER%%-agent-1.so.1 +lib/libpolkit-qt%%QT_VER%%-agent-1.so.1.175.0 +lib/libpolkit-qt%%QT_VER%%-core-1.so +lib/libpolkit-qt%%QT_VER%%-core-1.so.1 +lib/libpolkit-qt%%QT_VER%%-core-1.so.1.175.0 +lib/libpolkit-qt%%QT_VER%%-gui-1.so +lib/libpolkit-qt%%QT_VER%%-gui-1.so.1 +lib/libpolkit-qt%%QT_VER%%-gui-1.so.1.175.0 +libdata/pkgconfig/polkit-qt%%QT_VER%%-1.pc +libdata/pkgconfig/polkit-qt%%QT_VER%%-agent-1.pc +libdata/pkgconfig/polkit-qt%%QT_VER%%-core-1.pc +libdata/pkgconfig/polkit-qt%%QT_VER%%-gui-1.pc