diff options
| author | Corbin <corbinne@gmail.com> | 2019-01-14 14:02:47 -0800 |
|---|---|---|
| committer | Codiferous <44823842+Codiferous@users.noreply.github.com> | 2019-01-14 14:02:47 -0800 |
| commit | 531515c4caf68f8b282bc657cbd8e59313af52ed (patch) | |
| tree | a8ab4e44b94d97b122e9031507a2a8f7c1c8c598 | |
| parent | 30e030014c992b4ef7e1a2ab9e9422eb6d57f4b7 (diff) | |
| download | vcpkg-531515c4caf68f8b282bc657cbd8e59313af52ed.tar.gz vcpkg-531515c4caf68f8b282bc657cbd8e59313af52ed.zip | |
[libass] Adding new port (#5026)
Added libass control/portfile for vcpkg as requested here:
https://github.com/Microsoft/vcpkg/issues/4678
| -rw-r--r-- | ports/libass/CONTROL | 3 | ||||
| -rw-r--r-- | ports/libass/portfile.cmake | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/ports/libass/CONTROL b/ports/libass/CONTROL new file mode 100644 index 000000000..0142a5e51 --- /dev/null +++ b/ports/libass/CONTROL @@ -0,0 +1,3 @@ +Source: libass +Version: 0.14.0 +Description: libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. diff --git a/ports/libass/portfile.cmake b/ports/libass/portfile.cmake new file mode 100644 index 000000000..a7380a6e6 --- /dev/null +++ b/ports/libass/portfile.cmake @@ -0,0 +1,15 @@ +#header-only library +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO libass/libass + REF 98727c3b78f44cb3bbc955fcf5d977ebd911d5ca + SHA512 d466108180cea598b817f89aa21a1021ed2a763580d9aad51b054aa120186af48ab4264907e49ddcb38479a28d87d5431751a28afee9cb83ad7623f002d99c57 + HEAD_REF master +) + +file(INSTALL ${SOURCE_PATH}/libass/ DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libass RENAME copyright)
\ No newline at end of file |
