From patchwork Thu Jan 20 23:00:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [RFC] libass: add 0.9.11 Date: Thu, 20 Jan 2011 23:00:08 -0000 From: Paul Menzel X-Patchwork-Id: 332 Message-Id: <1295564408.23784.1.camel@mattotaupa> To: openembedded-devel@lists.openembedded.org Date: Wed, 19 Jan 2011 16:15:30 +0100 The web site states the following [1]. The following projects use libass: MPlayer VLC GStreamer (assrender plugin) Aegisub XBMC avidemux PunkGraphicsStream (BD subtitle encoder) Build tested with 576df0d4 [2] with `angstrom-2008.1`, `angstrom-2010.x` and `minimal` for `MACHINE = `beagleboard`. [1] http://code.google.com/p/libass/ [2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=576df0d47658d195d7788ecaabdcb464a9b8f623 Signed-off-by: Paul Menzel --- There are two issues left with this recipe. 1. There is a test program included [3], which I want to compile (`--enable-png`) and distribute (`${PN}-tests`). But unfortunately it is not compiled. `test/Makefile` is created but somehow it is not executed and `test` is not created. This is not a big deal right now since `${PN}-tests` is not created since it is empty. 2. `inherit pkgconfig` makes no difference in the files put into `sysroots/`. And `sysroots/…/arm…/usr/lib/pkgconfig/libass.pc` does not have the the cross compile path in it besides using `inherit pkgconfig` or not. [3] http://repo.or.cz/w/libass.git/tree/d8a0fe5984d9bc6d7827026215d21ada3dda7b71:/test --- recipes/libass/libass.inc | 22 ++++++++++++++++++++++ recipes/libass/libass_0.9.11.bb | 5 +++++ 2 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 recipes/libass/libass.inc create mode 100644 recipes/libass/libass_0.9.11.bb diff --git a/recipes/libass/libass.inc b/recipes/libass/libass.inc new file mode 100644 index 0000000..36b1080 --- /dev/null +++ b/recipes/libass/libass.inc @@ -0,0 +1,22 @@ +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/" +SECTION = "libs/multimedia" +LICENSE = "ISC" +DEPENDS = "enca fontconfig freetype libpng" +INC_PR = "r0" + +SRC_URI = "http://${PN}.googlecode.com/files/${P}.tar.bz2" + +inherit autotools pkgconfig + +OE_EXTRACONF = " \ + --enable-enca \ + --enable-fontconfig \ + --enable-png \ +" + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests = " \ + ${libdir}/test/test +" diff --git a/recipes/libass/libass_0.9.11.bb b/recipes/libass/libass_0.9.11.bb new file mode 100644 index 0000000..b94105f --- /dev/null +++ b/recipes/libass/libass_0.9.11.bb @@ -0,0 +1,5 @@ +require ${PN}.inc +PR = "${INC_PR}.0" + +SRC_URI[md5sum] = "f9042884397002ba40aa89dc7d34f59f" +SRC_URI[sha256sum] = "ffd0a7ccf635c4795edb8f61015b47ff84ec9c5babf502dd2cc8223d4489745c"