[libass] Adding new port (#5026)

Added libass control/portfile for vcpkg as requested here:
https://github.com/Microsoft/vcpkg/issues/4678
This commit is contained in:
Corbin 2019-01-14 14:02:47 -08:00 committed by Codiferous
parent 30e030014c
commit 531515c4ca
2 changed files with 18 additions and 0 deletions

3
ports/libass/CONTROL Normal file
View File

@ -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.

View File

@ -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)