aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwinsoft666 <46803815+winsoft666@users.noreply.github.com>2020-01-07 03:13:17 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2020-01-06 11:13:17 -0800
commit96bfe1b594f89de585565287626d7b02e1637b19 (patch)
treeb6d3d5059860c66921f198dc609e913fd6f70e9f
parentdf48026300b12ca8ac1a7e704615c6c2ae34519c (diff)
downloadvcpkg-96bfe1b594f89de585565287626d7b02e1637b19.tar.gz
vcpkg-96bfe1b594f89de585565287626d7b02e1637b19.zip
[akali] Add new port (#9499)
* Add: set(VCPKG_PLATFORM_TOOLSET v140) * add ppxbase and ppxnet. * nice, ppxbase and ppxnet can install successful. * update to v1.7 * + add duilib2 - update ppxbase, ppxnet. * set VCPKG_PLATFORM_TOOLSET to vc141. duilib2/ppxbase/ppxnet port. * library version. * duilib2, ppxbase version. * duilib2 version * update duilib2/ppxbase version. * update duilib2 code version. * update ppxbase version. update duilib2 version. * update ppxbase/duilib2 cmake config. * duilib2 version. * ppxbase version. * + add akali library. * update ports script. * ports update. * add akali * remove duilib2/ppxnet * revert * update akali version. * update akali version. * Update portfile.cmake * Update portfile.cmake
-rw-r--r--ports/akali/CONTROL4
-rw-r--r--ports/akali/portfile.cmake30
-rw-r--r--scripts/ci.baseline.txt4
3 files changed, 37 insertions, 1 deletions
diff --git a/ports/akali/CONTROL b/ports/akali/CONTROL
new file mode 100644
index 000000000..2aa6b0d6c
--- /dev/null
+++ b/ports/akali/CONTROL
@@ -0,0 +1,4 @@
+Source: akali
+Version: 1.39
+Description: C++ Common Library.
+Homepage: https://github.com/winsoft666/akali \ No newline at end of file
diff --git a/ports/akali/portfile.cmake b/ports/akali/portfile.cmake
new file mode 100644
index 000000000..1c87179f8
--- /dev/null
+++ b/ports/akali/portfile.cmake
@@ -0,0 +1,30 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO winsoft666/akali
+ REF 07d855dd2da7cddb374646465799734e48e0adb2
+ SHA512 4298bc97c5b99494f517e46a86a30dcd61e9d4cfdfa5dbb4c17957c8e866de8ed5b41b2f9a17261f96fc3c7b25fbac2003af4ad8ca675d3f59ce6176e1112220
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+ OPTIONS
+ -DBUILD_TESTS:BOOL=OFF
+)
+
+vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP")
+
+vcpkg_install_cmake()
+
+if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/akali)
+ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/akali)
+elseif(EXISTS ${CURRENT_PACKAGES_DIR}/share/akali)
+ vcpkg_fixup_cmake_targets(CONFIG_PATH share/akali)
+endif()
+
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
+
+vcpkg_copy_pdbs()
diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt
index 2ed3eee7b..4da0925de 100644
--- a/scripts/ci.baseline.txt
+++ b/scripts/ci.baseline.txt
@@ -1813,5 +1813,7 @@ zeromq:x64-uwp=fail
## Add new items alphabetically
-
+akali:x64-uwp=fail
+akali:arm-uwp=fail
+akali:arm64-windows=fail