-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #454 from gdt050579/182-181-generic-plugins-droppe…
…r-and-unpacker 182 181 generic plugins dropper and unpacker
- Loading branch information
Showing
9 changed files
with
106 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule vcpkg
updated
5003 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
vcpkg_download_distfile( | ||
ARCHIVE_PATH | ||
URLS | ||
"https://invisible-mirror.net/archives/ncurses/ncurses-${VERSION}.tar.gz" | ||
"ftp://ftp.invisible-island.net/ncurses/ncurses-${VERSION}.tar.gz" | ||
"https://ftp.gnu.org/gnu/ncurses/ncurses-${VERSION}.tar.gz" | ||
FILENAME "ncurses-${VERSION}.tgz" | ||
SHA512 1c2efff87a82a57e57b0c60023c87bae93f6718114c8f9dc010d4c21119a2f7576d0225dab5f0a227c2cfc6fb6bdbd62728e407f35fce5bf351bb50cf9e0fd34 | ||
) | ||
|
||
vcpkg_extract_source_archive( | ||
SOURCE_PATH | ||
ARCHIVE "${ARCHIVE_PATH}" | ||
) | ||
|
||
vcpkg_list(SET OPTIONS) | ||
|
||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") | ||
list(APPEND OPTIONS | ||
--with-cxx-shared | ||
--with-shared # "lib model" | ||
--without-normal # "lib model" | ||
) | ||
endif() | ||
|
||
|
||
if(VCPKG_TARGET_IS_MINGW) | ||
list(APPEND OPTIONS | ||
--disable-home-terminfo | ||
--enable-term-driver | ||
--disable-termcap | ||
) | ||
endif() | ||
|
||
vcpkg_configure_make( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
DETERMINE_BUILD_TRIPLET | ||
NO_ADDITIONAL_PATHS | ||
OPTIONS | ||
${OPTIONS} | ||
--enable-widec | ||
# --disable-db-install | ||
--enable-pc-files | ||
--without-ada | ||
--without-debug # "lib model" | ||
--without-manpages | ||
# --without-progs | ||
--without-tack | ||
--without-tests | ||
--with-pkg-config-libdir=libdir | ||
--with-terminfo-dirs=/usr/share/terminfo:/usr/lib/terminfo:/etc/terminfo | ||
) | ||
vcpkg_install_make() | ||
|
||
vcpkg_fixup_pkgconfig() | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") | ||
|
||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") | ||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
The package ncurses is compatible with built-in CMake variables: | ||
|
||
set(CURSES_NEED_NCURSES TRUE) | ||
find_package(Curses REQUIRED) | ||
target_include_directories(main PRIVATE ${CURSES_INCLUDE_DIRS}) | ||
target_compile_options(main PRIVATE ${CURSES_CFLAGS}) | ||
target_link_libraries(main PRIVATE ${CURSES_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "ncurses", | ||
"version": "6.4", | ||
"port-version": 2, | ||
"description": "Free software emulation of curses in System V Release 4.0, and more", | ||
"homepage": "https://invisible-island.net/ncurses/announce.html", | ||
"license": "MIT", | ||
"supports": "!windows | mingw" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters