mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 15:32:47 +08:00
[libdc1394] Add new port (#21808)
* [libdc1394] port library dc1394 * [libdc1394]: vcpkg x-add-version libdc1394 * [libdc1394] restrict supported platforms with blacklist instead Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * [libdc1394] vcpkg x-add-version --all --overwrite-version * [libdc1394] insert final newline * [libdc1394] update version schema to `version` * [libdc1394] vcpkg x-add-version --all --overwrite-version * [libdc1394] fetch source code with vcpkg_from_sourceforge instead * [libdc1394] vcpkg x-add-version --all --overwrite-version Co-authored-by: Zhiqiang Niu <niuzhiqiang@audfly.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
This commit is contained in:
parent
ce9c857d28
commit
4010c730d4
22
ports/libdc1394/portfile.cmake
Normal file
22
ports/libdc1394/portfile.cmake
Normal file
@ -0,0 +1,22 @@
|
||||
set(LIBDC1394_VER "2.2.6")
|
||||
|
||||
vcpkg_from_sourceforge(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO libdc1394/libdc1394-2
|
||||
REF "${LIBDC1394_VER}"
|
||||
FILENAME "libdc1394-${LIBDC1394_VER}.tar.gz"
|
||||
SHA512 2d60ed1054da67d8518e870193b60c1d79778858f48cc6487e252de00cc57a08548515d41914a37d0227d29e158d68892c290f83930ffd95f4a483dce5aa3d25
|
||||
)
|
||||
|
||||
vcpkg_configure_make(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS "--disable-examples"
|
||||
)
|
||||
vcpkg_install_make()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
10
ports/libdc1394/vcpkg.json
Normal file
10
ports/libdc1394/vcpkg.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "libdc1394",
|
||||
"version": "2.2.6",
|
||||
"description": "libdc1394 is a library that provides a complete high level application programming interface (API) for developers who wish to control IEEE 1394 based cameras that conform to the 1394-based Digital Camera Specifications (also known as the IIDC or DCAM Specifications).",
|
||||
"homepage": "https://damien.douxchamps.net/ieee1394/libdc1394",
|
||||
"supports": "!windows",
|
||||
"dependencies": [
|
||||
"sdl1"
|
||||
]
|
||||
}
|
@ -3392,6 +3392,10 @@
|
||||
"baseline": "0.2.10",
|
||||
"port-version": 4
|
||||
},
|
||||
"libdc1394": {
|
||||
"baseline": "2.2.6",
|
||||
"port-version": 0
|
||||
},
|
||||
"libde265": {
|
||||
"baseline": "1.0.8",
|
||||
"port-version": 2
|
||||
|
9
versions/l-/libdc1394.json
Normal file
9
versions/l-/libdc1394.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "709fb395bf34f777acced25c12d6fd76d90f0100",
|
||||
"version": "2.2.6",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user