diff --git a/packages/x11/toolkits/harfbuzz/build b/packages/x11/toolkits/harfbuzz/build new file mode 100755 index 0000000000..2580de406c --- /dev/null +++ b/packages/x11/toolkits/harfbuzz/build @@ -0,0 +1,34 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +cd $PKG_BUILD +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-static \ + --enable-shared \ + +make +$MAKEINSTALL diff --git a/packages/x11/toolkits/harfbuzz/install b/packages/x11/toolkits/harfbuzz/install new file mode 100755 index 0000000000..95cf37ffa2 --- /dev/null +++ b/packages/x11/toolkits/harfbuzz/install @@ -0,0 +1,41 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +MODULE_VERSION=`pkg-config pango --variable=pango_module_version` + +mkdir -p $INSTALL/usr/lib + cp -P $PKG_BUILD/$1/.libs/libpango*.so* $INSTALL/usr/lib + rm -rf $INSTALL/usr/lib/libpango*.so*T + +mkdir -p $INSTALL/usr/lib/pango/$MODULE_VERSION/modules + cp -P $PKG_BUILD/modules/*/.libs/*.so \ + $INSTALL/usr/lib/pango/$MODULE_VERSION/modules + +mkdir -p $INSTALL/usr/bin + cp $PKG_BUILD/$1/.libs/pango-querymodules $INSTALL/usr/bin + +mkdir -p $INSTALL/etc/pango + cp $PKG_BUILD/$1/pangox.aliases $INSTALL/etc/pango + cp $PKG_DIR/config/pango.modules $INSTALL/etc/pango + cp $PKG_DIR/config/pangorc $INSTALL/etc/pango diff --git a/packages/x11/toolkits/harfbuzz/meta b/packages/x11/toolkits/harfbuzz/meta new file mode 100644 index 0000000000..51d8114917 --- /dev/null +++ b/packages/x11/toolkits/harfbuzz/meta @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="harfbuzz" +PKG_VERSION="0.9.5" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.freedesktop.org/wiki/Software/HarfBuzz" +PKG_URL="http://www.freedesktop.org/software/harfbuzz/release/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="glib freetype cairo" +PKG_BUILD_DEPENDS="toolchain glib freetype cairo" +PKG_PRIORITY="optional" +PKG_SECTION="x11/toolkits" +PKG_SHORTDESC="harfbuzz: an OpenType text shaping engine." +PKG_LONGDESC="HarfBuzz is an OpenType text shaping engine." +PKG_IS_ADDON="no" +PKG_AUTORECONF="yes"