Skip to content

Commit

Permalink
[freerdp] remove deprecated client-mac (microsoft#35969)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort authored Jan 4, 2024
1 parent 6a01372 commit 6fcc9cc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 20 deletions.
15 changes: 1 addition & 14 deletions ports/freerdp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ endif()

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
client-mac WITH_CLIENT_MAC
ffmpeg WITH_FFMPEG
ffmpeg WITH_SWSCALE
server WITH_SERVER
Expand Down Expand Up @@ -52,6 +51,7 @@ vcpkg_cmake_configure(
-DWITH_OPENSSL=ON
-DWITH_SAMPLE=OFF
-DWITH_UNICODE_BUILTIN=ON
-DWITH_CLIENT=OFF
"-DMSVC_RUNTIME=${VCPKG_CRT_LINKAGE}"
"-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}"
-DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=ON
Expand Down Expand Up @@ -83,27 +83,14 @@ vcpkg_fixup_pkgconfig()

vcpkg_list(SET tools)
if(VCPKG_TARGET_IS_WINDOWS)
list(APPEND tools wfreerdp)
if("server" IN_LIST FEATURES)
list(APPEND tools wfreerdp-server)
endif()
elseif(VCPKG_TARGET_IS_OSX)
if("client-mac" IN_LIST FEATURES)
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/client/Mac/cli/MacFreeRDP.app"
DESTINATION "${CURRENT_PACKAGES_DIR}/bin"
)
list(APPEND tools MacFreeRDP)
endif()
if("server" IN_LIST FEATURES)
list(APPEND tools mfreerdp-server)
endif()
endif()
if("wayland" IN_LIST FEATURES)
list(APPEND tools wlfreerdp)
endif()
if("x11" IN_LIST FEATURES)
list(APPEND tools xfreerdp)
endif()
if("winpr-tools" IN_LIST FEATURES)
list(APPEND tools winpr-hash winpr-makecert)
endif()
Expand Down
7 changes: 2 additions & 5 deletions ports/freerdp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "freerdp",
"version": "3.0.0",
"port-version": 1,
"description": "A free implementation of the Remote Desktop Protocol (RDP)",
"homepage": "https://github.com/FreeRDP/FreeRDP",
"license": "Apache-2.0",
Expand All @@ -23,10 +24,6 @@
"zlib"
],
"features": {
"client-mac": {
"description": "Build native mac client. Requires XCode.",
"supports": "osx"
},
"ffmpeg": {
"description": "Enable image scaling, video and audio with ffmpeg",
"supports": "!windows",
Expand Down Expand Up @@ -74,7 +71,7 @@
},
"x11": {
"description": "Enable X11 support",
"supports": "!android & !ios & !windows",
"supports": "!android & !ios & !windows & !osx",
"dependencies": [
"xcb"
]
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2774,7 +2774,7 @@
},
"freerdp": {
"baseline": "3.0.0",
"port-version": 0
"port-version": 1
},
"freetds": {
"baseline": "1.3.10",
Expand Down
5 changes: 5 additions & 0 deletions versions/f-/freerdp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "58d88811f61ec9063eb70b837f23c6ceeceb0198",
"version": "3.0.0",
"port-version": 1
},
{
"git-tree": "dfb634ed4a717897d4cb646a34dc9c663dcfceb8",
"version": "3.0.0",
Expand Down

0 comments on commit 6fcc9cc

Please sign in to comment.