From 93dfe2ed82b740358fff8e10896e8a361c68ea76 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Fri, 13 Sep 2013 16:44:55 -0700 Subject: [PATCH] Updated .recipe for libart_lpgl so that it builds now. --- .../libart_lgpl/libart_lgpl-2.3.21.recipe | 59 ++++++++++++++----- 1 file changed, 45 insertions(+), 14 deletions(-) diff --git a/media-libs/libart_lgpl/libart_lgpl-2.3.21.recipe b/media-libs/libart_lgpl/libart_lgpl-2.3.21.recipe index 5be103f43..83ef89b8e 100644 --- a/media-libs/libart_lgpl/libart_lgpl-2.3.21.recipe +++ b/media-libs/libart_lgpl/libart_lgpl-2.3.21.recipe @@ -1,28 +1,59 @@ -DESCRIPTION="Libart is a library for high-performance 2D graphics" +SUMMARY="Libart is a library for high-performance 2D graphics" +DESCRIPTION="Libart is free software (all components are either GPL or LGPL). Libart is also available for commercial licensing. Libart supports a very powerful imaging model, basically the same as SVG and the Java 2D API. It includes all PostScript imaging operations, and adds antialiasing and alpha-transparency. Libart is also highly tuned for incremental rendering. It contains data structures and algorithms suited to rapid, precise computation of Region of Interest, as well as a two-phase rendering pipeline optimized for interactive display." HOMEPAGE="http://www.levien.com/libart/" SRC_URI="http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/libart_lgpl-2.3.21.tar.gz" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" CHECKSUM_MD5="722471ec8ae084af4293126d06b60880" +REVISION="1" +LICENSE="GNU LGPL v2.1" +COPYRIGHT="2001-2010 Mathieu Lacage and Raph Levien" + +ARCHITECTURES="x86 x86_gcc2" + +PROVIDES=" + libart_lgpl= $portVersion + cmd:libart2_config = $portVersion compat >= 2 + lib:libart_lgpl_2 = 2.3.21 compat >= 2 + " +REQUIRES=" + haiku >= $haikuVersion + " +BUILD_REQUIRES=" + " +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:aclocal + cmd:autoreconf + cmd:libtool + cmd:make + cmd:ld + cmd:gcc + " BUILD() { - cd libart_lgpl-2.3.21 libtoolize --force --copy --install autoreconf -i - MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man - LIBDIR=`finddir B_COMMON_LIB_DIRECTORY` - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --libdir=$LIBDIR \ - --mandir=$MANDIR - make + runConfigure ./configure + make $jobArgs } INSTALL() { - cd libart_lgpl-2.3.21 make install + + # prepare devel/lib + prepareInstalledDevelLibs libart_lgpl_2 + + # devel package + packageEntries devel \ + $developDir } -LICENSE="GNU LGPL v2.1" -COPYRIGHT="2001-2010 Mathieu Lacage and Raph Levien" +# ----- devel package + +PROVIDES_devel=" + libart_lgpl_2 = $portVersion + devel:libart_lgpl_2 = 2.3.21 compat >= 2 + " +REQUIRES_devel=" + libart_lgpl_2 == $portVersion base + "