libass: add newer version

* mpv requires newer libass to build
* move SRC_URI from Google Code to GitHub
* ENCA support has been removed https://github.com/libass/libass/pull/197
  remove --enable-enca which is now an [unknown-configure-option]
* Fix [textrel] for x86 targets

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Abdur Rehman
2016-05-25 00:07:50 +05:00
committed by Martin Jansa
parent e781f8e78d
commit 1847d0be0b
3 changed files with 9 additions and 10 deletions
+5 -5
View File
@@ -1,5 +1,5 @@
DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter."
HOMEPAGE = "http://code.google.com/p/libass/"
HOMEPAGE = "https://github.com/libass/libass"
SECTION = "libs/multimedia"
LICENSE = "ISC"
@@ -7,9 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ae98663bac55afe5d989919d296f28a"
DEPENDS = "enca fontconfig freetype libpng fribidi"
INC_PR = "r1"
SRC_URI = "http://${BPN}.googlecode.com/files/${BP}.tar.gz"
SRC_URI = "https://github.com/libass/libass/releases/download/${PV}/libass-${PV}.tar.xz"
inherit autotools pkgconfig
@@ -17,10 +15,12 @@ PACKAGECONFIG ??= ""
PACKAGECONFIG[harfbuzz] = "--enable-harfbuzz,--disable-harfbuzz,harfbuzz"
EXTRA_OECONF = " \
--enable-enca \
--enable-fontconfig \
"
# Disable compiling with ASM for x86 to avoid textrel
EXTRA_OECONF_append_x86 = " --disable-asm"
PACKAGES =+ "${PN}-tests"
FILES_${PN}-tests = " \
@@ -1,5 +0,0 @@
require ${PN}.inc
PR = "${INC_PR}.0"
SRC_URI[md5sum] = "6cace482a013a3c4bf3b31a68ac66026"
SRC_URI[sha256sum] = "629a7e81fff92dea8d0399b818a41fd1b61e381c67a5961b1eaec2efadb14c6c"
@@ -0,0 +1,4 @@
require recipes-multimedia/${BPN}/${BPN}.inc
SRC_URI[md5sum] = "1c8cbd5751aeb192bda04a65d0464fd9"
SRC_URI[sha256sum] = "d698d0a6adca7c36c5a86b540d67b05bfd36cebc3c351ab7646497c43fe1face"