mirror of https://github.com/microsoft/vcpkg.git
[polkit-qt-1] New port (#51356)
This commit is contained in:
parent
1e8b297325
commit
d76260ce03
|
|
@ -0,0 +1,33 @@
|
|||
vcpkg_from_gitlab(
|
||||
GITLAB_URL https://invent.kde.org
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO libraries/polkit-qt-1
|
||||
REF "v${VERSION}"
|
||||
SHA512 b0ad001846c149cfc81108894a54bea30efddcf6f34fc115a7874c72bd5079e5c21d2d2c16bbf11c9fabe2443878d9369c311e93afdc810b4bb7c95266f25eef
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PKGCONFIG)
|
||||
set(ENV{PKG_CONFIG} "${PKGCONFIG}")
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DBUILD_TEST=OFF
|
||||
-DQT_MAJOR_VERSION=6
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME polkitqt6-1
|
||||
CONFIG_PATH lib/cmake/PolkitQt6-1
|
||||
)
|
||||
vcpkg_fixup_pkgconfig(SKIP_CHECK)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(GLOB LICENSE_FILES "${SOURCE_PATH}/LICENSES/*")
|
||||
vcpkg_install_copyright(FILE_LIST ${LICENSE_FILES})
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"name": "polkit-qt-1",
|
||||
"version": "0.201.1",
|
||||
"description": "Qt6 wrapper around polkit-1",
|
||||
"homepage": "https://invent.kde.org/libraries/polkit-qt-1",
|
||||
"license": "LGPL-2.0-or-later",
|
||||
"supports": "linux",
|
||||
"dependencies": [
|
||||
"glib",
|
||||
"polkit",
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"dbus",
|
||||
"widgets"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -7840,6 +7840,10 @@
|
|||
"baseline": "124",
|
||||
"port-version": 0
|
||||
},
|
||||
"polkit-qt-1": {
|
||||
"baseline": "0.201.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"polyclipping": {
|
||||
"baseline": "6.4.2",
|
||||
"port-version": 13
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3f5bd16f441c348d08d34f6b34fe5d33f4f95706",
|
||||
"version": "0.201.1",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue