Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-php5/php-qt
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-qt/ChangeLog,v 1.12 2008/05/02 16:37:02 chtekk Exp $
02 May 2008; Luca Longinotti
+files/php-qt-0.9-no-qwt.patch:
Add missing patch.
02 May 2008; Luca Longinotti
Fix QA bug #218657.
11 Feb 2008; Raúl Porcel
Version bump, from the php overlay
*php-qt-0.9 (30 Dec 2007)
30 Dec 2007; Markus Ullmann
+php-qt-0.9.ebuild:
Version bump from project overlay
28 Dec 2007; Jakub Moc
+php-qt-0.9.ebuild:
Version bump
06 Dec 2007; Markus Ullmann
LICENSE fix from project overlay
01 Dec 2007; Jakub Moc
Fix Bug 200872
*php-qt-0.1 (30 Aug 2007)
30 Aug 2007; Markus Ullmann
+php-qt-0.1.ebuild:
Version bump wrt bug #185798
15 Jun 2007; Anant Narayanan
Add depedency on libXinerama, closes bug #178926
18 Mar 2007; Luca Longinotti
php-qt-0.0.3.ebuild:
Cleanup.
22 Feb 2007; Piotr Jaroszyński
Transition to Manifest2.
29 Sep 2006; Sebastian Bergmann
php-qt-0.0.3.ebuild:
Mark ~amd64 for bug #121838.
*php-qt-0.0.3 (16 Jun 2006)
16 Jun 2006; Sebastian Bergmann
+php-qt-0.0.3.ebuild:
Version bump, closes bug 136676.
*php-qt-0.0.2 (30 Jan 2006)
30 Jan 2006; Sebastian Bergmann
+php-qt-0.0.2.ebuild:
Initial ebuild, closes bug 120064.
AUX php-qt-0.9-no-qwt.patch 1076 RMD160 ac306ddc1b9811806da7f853884e0c2bccd6eea7 SHA1 724b5943af0519085f7a500ef4731b16bd716382 SHA256 2dd8b4c7dc5945157794e5ec3f7f5b1985ec4341dad31b3374c27cdf2dce0ab8
DIST php-qt-0.9.tar.gz 314989 RMD160 b15e208819cdb997cde428b4ce7af6c99d3bf563 SHA1 53fbbb61740c0ad5d5269055f7fbc34a275749a2 SHA256 30ce7ee7625e4797a63aa0ea969b19a3520fd8360ed345ec574e2f575698c65f
EBUILD php-qt-0.9.ebuild 1757 RMD160 906c7fea42438b23abd880f26c8e11eb9e780a0e SHA1 a40bf5a18f0f1d204e94b6296de1b94bb26a35f1 SHA256 5030a33d43ee22235663265689f3091337189ea53a170e01a87169d5ddb91ba5
MISC ChangeLog 1828 RMD160 fea473a8ff1c6b38f0fde06896025acdfa63c553 SHA1 6f3f302dc91b3ed9420aa3aac93da6e9ec014e7f SHA256 c2bf49e69bcb198a36113ed1d3b92c328a4b0d9e5eec9c831839808de1836b05
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-qt/php-qt-0.9.ebuild,v 1.3 2008/05/02 16:22:07 chtekk Exp $
PHP_EXT_NAME="php_qt"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
PHPSAPILIST="cli"
inherit php-ext-base-r1 qt4 eutils depend.php cmake-utils
DESCRIPTION="PHP5 bindings for the Qt4 framework."
HOMEPAGE="http://php-qt.org/"
SRC_URI="mirror://berlios/php-qt/${P}.tar.gz"
LICENSE="GPL-2 BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
RDEPEND="$(qt4_min_version 4)
>=x11-libs/qscintilla-2.1-r1
!kde-base/smoke" # yes, this IS required, installs a bundled QT4-compatible copy
DEPEND="${RDEPEND}
>=dev-util/cmake-2.4
dev-lang/perl"
need_php_by_category
S="${WORKDIR}/${PN/-}"
pkg_setup() {
require_php_cli
if built_with_use =${PHP_PKG} threads; then
eerror "dev-lang/php must be compiled without threads support."
die "Recompile ${PHP_PKG} with USE=\"-threads\" and try again."
fi
if ! built_with_use x11-libs/qscintilla qt4 ; then
eerror "x11-libs/qscintilla must be compiled with qt4 support."
die "Recompile x11-libs/qscintilla with USE=\"qt4\" and try again."
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
# Bug 208301
epatch "${FILESDIR}"/${P}-no-qwt.patch
}
src_compile() {
local mycmakeargs="-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake -DQSCINTILLA_INCLUDE_DIR=/usr/include/Qsci"
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
php-ext-base-r1_src_install
# COPYING is a dependent license
dodoc-php COPYING ChangeLog CREDITS README
insinto /usr/share/doc/${CATEGORY}/${PF}/examples/
doins -r "${S}"/examples/*
insinto /usr/share/doc/${CATEGORY}/${PF}/tutorials/
doins -r "${S}"/tutorials/*
}