mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
libass: bump version.
This commit is contained in:
100
media-libs/libass/libass-0.13.1.recipe
Normal file
100
media-libs/libass/libass-0.13.1.recipe
Normal file
@@ -0,0 +1,100 @@
|
||||
SUMMARY="Library for SSA/ASS subtitles rendering"
|
||||
DESCRIPTION="
|
||||
Libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation \
|
||||
Alpha/Substation Alpha) subtitle format.
|
||||
"
|
||||
HOMEPAGE="http://github.com/libass/libass"
|
||||
COPYRIGHT="
|
||||
2006 Evgeniy Stepanov
|
||||
2011 Grigori Goronzy
|
||||
2011-2014 Yu Zhuohuang
|
||||
2013 Rodger Combs
|
||||
"
|
||||
LICENSE="ISC"
|
||||
SOURCE_URI="https://github.com/libass/libass/releases/download/$portVersion/libass-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="4aa36b1876a61cab46fc9284fee84224b9e2840fe7b3e63d96a8d32574343fe7"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libass$secondaryArchSuffix = $portVersion compat >= 0.11
|
||||
lib:libass$secondaryArchSuffix = 5.2.1 compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libenca$secondaryArchSuffix
|
||||
lib:libfontconfig$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libfribidi$secondaryArchSuffix
|
||||
lib:libharfbuzz$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
# required by fontconfig
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
# required by freetype
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
# required by harfbuzz
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgraphite2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libenca$secondaryArchSuffix
|
||||
devel:libfontconfig$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libfribidi$secondaryArchSuffix
|
||||
devel:libharfbuzz$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
# required by fontconfig
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
# required by freetype
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
# required by harfbuzz
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libgraphite2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
#cmd:yasm #yasm outputs invalid files here
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libass
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libass${secondaryArchSuffix}_devel = $portVersion compat >= 0.11
|
||||
devel:libass$secondaryArchSuffix = 5.2.1 compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libass$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user