Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[google-jni-bind] Update to the 1.2.0-beta release #321

Merged
merged 2 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions ports/google-jni-bind/CMakeLists.txt

This file was deleted.

22 changes: 3 additions & 19 deletions ports/google-jni-bind/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/jni-bind
REF Release-${VERSION}
SHA512 ef96ea568857ff562d2d55c6d62f5fbe7b2d914beaeea0246af3da881a6b6a39925d4ac48754cc87683b48bf8673e8fe1bca57ad71a5e789e8fb76c192eb0801
REF Release-1.2.0
SHA512 ef1274b649d3cc46346a71cdf1269f5022983633feea2ec85200ea5dc7cc7fab8cac987aa3ca7514c1b8a3dcd7deea6f152b432d9d16ab230bf20bb16ff14a56
HEAD_REF main
)
# Install headers and a shim library with JackWeakAPI.c
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")

if(DEFINED ENV{JAVA_HOME})
message(STATUS "Using JAVA_HOME: $ENV{JAVA_HOME}")
endif()

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
test BUILD_TESTING
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
)
vcpkg_cmake_install()
file(INSTALL "${SOURCE_PATH}/jni_bind_release.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug"
Expand Down
18 changes: 2 additions & 16 deletions ports/google-jni-bind/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
{
"name": "google-jni-bind",
"version-semver": "1.1.2-beta",
"version-semver": "1.2.0-beta",
"description": "JNI Bind is a set of advanced syntactic sugar for writing efficient correct JNI Code in C++17 (and up)",
"homepage": "https://github.com/google/jni-bind",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
],
"features": {
"test": {
"description": "Build test.cc sources",
"dependencies": [
"gtest"
]
}
}
"license": "Apache-2.0"
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"port-version": 0
},
"google-jni-bind": {
"baseline": "1.1.2-beta",
"baseline": "1.2.0-beta",
"port-version": 0
},
"libdispatch": {
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/google-jni-bind.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ec80d7e7a30c567dfeff011fa9f62b10ca2f23af",
"version-semver": "1.2.0-beta",
"port-version": 0
},
{
"git-tree": "765b8315fd112e2016afc365ff6828da6625b56b",
"version-semver": "1.1.2-beta",
Expand Down
Loading