From 30016b3c7e63afed79185e22cb4e1ec5dcc00353 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 4 Oct 2014 11:38:34 +0000 Subject: [PATCH] pango: added a recipe for version 1.36.8 --- x11-libs/pango/pango-1.28.1.recipe | 33 -------- x11-libs/pango/pango-1.36.8.recipe | 121 +++++++++++++++++++++++++++++ 2 files changed, 121 insertions(+), 33 deletions(-) delete mode 100644 x11-libs/pango/pango-1.28.1.recipe create mode 100644 x11-libs/pango/pango-1.36.8.recipe diff --git a/x11-libs/pango/pango-1.28.1.recipe b/x11-libs/pango/pango-1.28.1.recipe deleted file mode 100644 index 21fa4b064..000000000 --- a/x11-libs/pango/pango-1.28.1.recipe +++ /dev/null @@ -1,33 +0,0 @@ -DESCRIPTION=" -Pango is a library for laying out and rendering of text, with an emphasis on \ -internationalization. -" -HOMEPAGE="http://www.pango.org/" -SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.1.tar.gz" -CHECKSUM_MD5="8c0418a1400df7c4d08db5dbd3287d53" -REVISION="1" -STATUS_HAIKU="broken" -DEPEND="pkgconfig >= 0.23 - dev-libs/glib >= 2.24.1 - dev-libs/libxslt >= 1.1.26 - dev-util/gtk-doc >= 1.15 - gnome-base/gnome-common >= 2.28 - media-libs/fontconfig >= 2.8.0 - x11-libs/cairo >= 1.8.10" - -BUILD() -{ - cd pango-1.28.1 - ./autogen.sh - ./configure --prefix=`finddir B_COMMON_DIRECTORY` - make -} - -INSTALL() -{ - cd pango-1.28.1 - make install -} - -LICENSE="GNU LGPL v2.1" -COPYRIGHT="2002-2010 Owen Taylor" diff --git a/x11-libs/pango/pango-1.36.8.recipe b/x11-libs/pango/pango-1.36.8.recipe new file mode 100644 index 000000000..404246c35 --- /dev/null +++ b/x11-libs/pango/pango-1.36.8.recipe @@ -0,0 +1,121 @@ +SUMMARY="Multi-platform 2D graphics library" +DESCRIPTION=" +Pango is a library for laying out and rendering of text, with an emphasis on \ +internationalization. +" +HOMEPAGE="http://www.pango.org" +COPYRIGHT=" + 1999-2007,2010 Red Hat Software + 2001,2002 Behdad Esfahbod + 1999-2002 International Business Machines + 2005-2007 Imendio AB + 2008 Jürg Billeter + 1999,2000 Dov Grobgeld + 2005 Keith Packard + 2010 Kristian Rietveld + 2000-2002 Tor Lillqvist + 2007 Novell, Inc. + 2001 Alexander Larsson + 2000 SuSE Linux Ltd +" +LICENSE=" +GNU LGPL v2.1 +" +SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/pango/1.36/pango-$portVersion.tar.xz" +CHECKSUM_SHA256="18dbb51b8ae12bae0ab7a958e7cf3317c9acfc8a1e1103ec2f147164a0fc2d07" +REVISION="1" +ARCHITECTURES="x86 x86_64" +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + # x86_gcc2 is fine as primary target architecture as long as we're building + # for a different secondary architecture. + ARCHITECTURES="$ARCHITECTURES x86_gcc2" +fi +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + pango$secondaryArchSuffix = $portVersion compat >= 1 + cmd:pango_querymodules$secondaryArchSuffix + cmd:pango_view$secondaryArchSuffix + lib:libpango_1.0$secondaryArchSuffix = 0.3600.8 compat >= 0 + lib:libpangocairo_1.0$secondaryArchSuffix = 0.3600.8 compat >= 0 + lib:libpangoft2_1.0$secondaryArchSuffix = 0.3600.8 compat >= 0 + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libcairo$secondaryArchSuffix + lib:libfreetype$secondaryArchSuffix + lib:libglib_2.0$secondaryArchSuffix + lib:libharfbuzz$secondaryArchSuffix + # required by cairo + lib:libfontconfig$secondaryArchSuffix + lib:libpixman_1$secondaryArchSuffix + # required by fontconfig + lib:libxml2$secondaryArchSuffix + # required by freetype + lib:libpng15$secondaryArchSuffix + # required by glib_2.0 + lib:libffi$secondaryArchSuffix + # required by harfbuzz + lib:libiconv$secondaryArchSuffix + lib:libintl$secondaryArchSuffix + lib:libz$secondaryArchSuffix + lib:libbz2$secondaryArchSuffix + " +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:libcairo$secondaryArchSuffix + devel:libfreetype$secondaryArchSuffix + devel:libglib_2.0$secondaryArchSuffix + devel:libharfbuzz$secondaryArchSuffix + # required by cairo + devel:libfontconfig$secondaryArchSuffix + devel:libpixman_1$secondaryArchSuffix + # required by fontconfig + devel:libxml2$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf + cmd:automake + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize + cmd:make + cmd:pkg_config$secondaryArchSuffix + cmd:gtkdocize + " +GLOBAL_WRITABLE_FILES=" + settings/pango/pango.modules auto-merge + " + +BUILD() +{ + autoreconf -fi + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + + prepareInstalledDevelLibs libpango-1.0 \ + libpangocairo-1.0 libpangoft2-1.0 + fixPkgconfig + + # devel package + packageEntries devel \ + $developDir +} + +# ----- devel package ------------------------------------------------------- + +PROVIDES_devel=" + pango${secondaryArchSuffix}_devel = $portVersion compat >= 1 + devel:libpango_1.0$secondaryArchSuffix = 0.3600.8 compat >= 0 + devel:libpangocairo_1.0$secondaryArchSuffix = 0.3600.8 compat >= 0 + devel:libpangoft2_1.0$secondaryArchSuffix = 0.3600.8 compat >= 0 + " +REQUIRES_devel=" + pango$secondaryArchSuffix == $portVersion base + "