mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libass: added a recipe for version 0.11.2
* had to disable yasm because it outputs invalid object files. * couldn't yet enable harfbuzz, haikuporter fails to find it.
This commit is contained in:
85
media-libs/libass/libass-0.11.2.recipe
Normal file
85
media-libs/libass/libass-0.11.2.recipe
Normal file
@@ -0,0 +1,85 @@
|
||||
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"
|
||||
SRC_URI="https://github.com/libass/libass/releases/download/$portVersion/libass-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="499dbaf14d7743e5899c9ca918988e81a9894f674b22d4682922f2e5d095ff9e"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libass$secondaryArchSuffix = $portVersion compat >= 0.11
|
||||
lib:libass$secondaryArchSuffix = 5.0.0 compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libfontconfig$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libfribidi$secondaryArchSuffix
|
||||
#lib:libharfbuzz$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
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:libpng15$secondaryArchSuffix
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libz$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.0.0 compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libass$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
11
media-libs/libass/licenses/ISC
Normal file
11
media-libs/libass/licenses/ISC
Normal file
@@ -0,0 +1,11 @@
|
||||
Permission to use, copy, modify, and distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE
|
||||
Reference in New Issue
Block a user