Gentoo Archives: gentoo-commits

From: "Markus Ullmann (jokey)" <jokey@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php5/php-qt: ChangeLog php-qt-0.9.ebuild php-qt-0.1.ebuild
Date: Sun, 30 Dec 2007 14:33:19
Message-Id: E1J8zE3-0003lM-5b@stork.gentoo.org
1 jokey 07/12/30 14:33:15
2
3 Modified: ChangeLog
4 Added: php-qt-0.9.ebuild
5 Removed: php-qt-0.1.ebuild
6 Log:
7 Version bump from project overlay
8 (Portage version: 2.1.4_rc11)
9
10 Revision Changes Path
11 1.9 dev-php5/php-qt/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/php-qt/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/php-qt/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/php-qt/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-php5/php-qt/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 6 Dec 2007 01:23:49 -0000 1.8
24 +++ ChangeLog 30 Dec 2007 14:33:14 -0000 1.9
25 @@ -1,6 +1,16 @@
26 # ChangeLog for dev-php5/php-qt
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-qt/ChangeLog,v 1.8 2007/12/06 01:23:49 jokey Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-qt/ChangeLog,v 1.9 2007/12/30 14:33:14 jokey Exp $
30 +
31 +*php-qt-0.9 (30 Dec 2007)
32 +
33 + 30 Dec 2007; Markus Ullmann <jokey@g.o> -php-qt-0.1.ebuild,
34 + +php-qt-0.9.ebuild:
35 + Version bump from project overlay
36 +
37 + 28 Dec 2007; Jakub Moc <jakub@g.o>
38 + +php-qt-0.9.ebuild:
39 + Version bump
40
41 06 Dec 2007; Markus Ullmann <jokey@g.o> php-qt-0.1.ebuild:
42 LICENSE fix from project overlay
43
44
45
46 1.1 dev-php5/php-qt/php-qt-0.9.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/php-qt/php-qt-0.9.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/php-qt/php-qt-0.9.ebuild?rev=1.1&content-type=text/plain
50
51 Index: php-qt-0.9.ebuild
52 ===================================================================
53 # Copyright 1999-2007 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-php5/php-qt/php-qt-0.9.ebuild,v 1.1 2007/12/30 14:33:14 jokey Exp $
56
57 PHP_EXT_NAME="php_qt"
58 PHP_EXT_INI="yes"
59 PHP_EXT_ZENDEXT="no"
60 PHPSAPILIST="cli"
61 inherit php-ext-base-r1 qt4 eutils depend.php cmake-utils
62
63 DESCRIPTION="PHP5 bindings for the Qt4 framework."
64 HOMEPAGE="http://php-qt.org/"
65 SRC_URI="http://download.berlios.de/php-qt/${P}.tar.gz"
66
67 LICENSE="GPL-2 BSD"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="debug"
71
72 RDEPEND="$(qt4_min_version 4)
73 >=x11-libs/qscintilla-2.1-r1
74 !kde-base/smoke" # yes, this IS required, installs a bundled QT4-compatible copy
75
76 DEPEND="${RDEPEND}
77 >=dev-util/cmake-2.4
78 dev-lang/perl"
79
80 need_php_by_category
81
82 S="${WORKDIR}/${PN/-}"
83
84 pkg_setup() {
85 require_php_cli
86 if built_with_use =${PHP_PKG} threads; then
87 eerror "dev-lang/php must be compiled without threads support."
88 die "Recompile ${PHP_PKG} with USE=\"-threads\" and try again."
89 fi
90 if ! built_with_use x11-libs/qscintilla qt4 ; then
91 eerror "x11-libs/qscintilla must be compiled with qt4 support."
92 die "Recompile x11-libs/qscintilla with USE=\"qt4\" and try again."
93 fi
94 }
95
96 src_compile() {
97 local mycmakeargs="-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake -DQSCINTILLA_INCLUDE_DIR=/usr/include/Qsci"
98 cmake-utils_src_compile
99 }
100
101 src_install() {
102 cmake-utils_src_install
103 php-ext-base-r1_src_install
104
105 # COPYING is a dependent license
106 dodoc-php COPYING ChangeLog CREDITS README
107 insinto /usr/share/doc/${CATEGORY}/${PF}/examples/
108 doins -r "${S}"/examples/*
109 insinto /usr/share/doc/${CATEGORY}/${PF}/tutorials/
110 doins -r "${S}"/tutorials/*
111 }
112
113
114
115 --
116 gentoo-commits@g.o mailing list