summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-09-27 13:46:58 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-09-27 13:46:58 +0000
commitf71b2066eeb8b190e07f823f2b3da38c84bb7ed2 (patch)
treea24ec26eb66d0cb25f040eb2ad98b3f27667c374 /dev-util/gambas
parentRemove old ebuilds. (diff)
downloadgentoo-2-f71b2066eeb8b190e07f823f2b3da38c84bb7ed2.tar.gz
gentoo-2-f71b2066eeb8b190e07f823f2b3da38c84bb7ed2.tar.bz2
gentoo-2-f71b2066eeb8b190e07f823f2b3da38c84bb7ed2.zip
Use EAPI 2 use dependencies instead of built_with_use.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'dev-util/gambas')
-rw-r--r--dev-util/gambas/ChangeLog9
-rw-r--r--dev-util/gambas/gambas-2.8.2.ebuild16
2 files changed, 13 insertions, 12 deletions
diff --git a/dev-util/gambas/ChangeLog b/dev-util/gambas/ChangeLog
index bcc4c9a3e93c..8dac46aa297e 100644
--- a/dev-util/gambas/ChangeLog
+++ b/dev-util/gambas/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/gambas
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/ChangeLog,v 1.50 2008/09/14 21:54:50 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/ChangeLog,v 1.51 2008/09/27 13:46:58 betelgeuse Exp $
+
+ 27 Sep 2008; Petteri Räty <betelgeuse@gentoo.org> gambas-2.8.2.ebuild:
+ Use EAPI 2 use dependencies instead of built_with_use.
14 Sep 2008; Jeremy Olexa <darkside@gentoo.org> -files/Makefile.am-0.97a,
-files/Makefile.am-1.0_rc2, -files/gambas-1.0.6-configure-CFLAGS.patch,
@@ -98,7 +101,7 @@
gambas-1.0.6.ebuild, gambas-1.0.10.ebuild:
slot change in preparation for gambas-2 (on genones request)
-*gambas-1.0.9 (14 Aug 2005)
+*gambas-1.0.10 (14 Aug 2005)
14 Aug 2005; Marius Mauch <genone@gentoo.org> gambas-1.0.6.ebuild,
+gambas-1.0.10.ebuild:
@@ -193,7 +196,7 @@
+gambas-0.95.ebuild:
version bump
-*gambas-0.94 (05 Jul 2004)
+*gambas-0.94a (05 Jul 2004)
05 Jul 2004; Marius Mauch <genone@gentoo.org> +files/WebHome.html,
+files/non-symlink-0.94.patch, -gambas-0.94.ebuild, +gambas-0.94a.ebuild:
diff --git a/dev-util/gambas/gambas-2.8.2.ebuild b/dev-util/gambas/gambas-2.8.2.ebuild
index b4968abe6e6b..d23573093861 100644
--- a/dev-util/gambas/gambas-2.8.2.ebuild
+++ b/dev-util/gambas/gambas-2.8.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-2.8.2.ebuild,v 1.2 2008/09/14 18:21:57 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-2.8.2.ebuild,v 1.3 2008/09/27 13:46:58 betelgeuse Exp $
-EAPI="1"
+EAPI="2"
inherit autotools eutils fdo-mime qt3 multilib toolchain-funcs
@@ -18,7 +18,6 @@ LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="bzip2 corba curl debug doc examples firebird gtk kde mysql odbc opengl pcre pdf postgres qt3 sdl smtp sqlite sqlite3 svg v4l xml zlib"
-DEPEND=""
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
corba? ( >=net-misc/omniORB-4.1.0 )
curl? ( >=net-misc/curl-7.15.5-r1 )
@@ -39,14 +38,13 @@ RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
svg? ( >=gnome-base/librsvg-2.16.1-r2 )
v4l? ( >=media-libs/libpng-1.2.26 >=media-libs/jpeg-6b-r8 )
xml? ( >=dev-libs/libxml2-2.6.31 >=dev-libs/libxslt-1.1.22 )
- zlib? ( >=sys-libs/zlib-1.2.3-r1 )"
+ zlib? ( >=sys-libs/zlib-1.2.3-r1 )
+ sys-devel/gcc[libffi]"
+DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
- built_with_use sys-devel/gcc libffi \
- || die "gcc needs to be build with the USE flag libffi"
-
# ImageProvider implementers, see .component files for more info
if ! { use qt3 || use gtk || use sdl; } ; then
use pdf && die "PDF support depends on Qt, GTK or SDL being enabled"
@@ -78,7 +76,7 @@ pkg_setup() {
fi
}
-my_reduce_eautoreconf () {
+my_reduce_eautoreconf() {
sed -i -e "/^\(AC\|GB\)_CONFIG_SUBDIRS(${1}[,)]/d" \
configure.ac \
|| die "my_reduce_eautoreconf: sed on configure.ac failed with ${1}"
@@ -88,7 +86,7 @@ my_reduce_eautoreconf () {
|| die "my_reduce_eautoreconf: sed on Makefile.am failed with ${1}"
}
-my_examine_components () {
+my_examine_components() {
local comp="gb.*/src/*.component gb.*/src/*/*.component main/lib/*/*.component comp/src/*/.component"
# Examine app/src/gambas2/CComponent.class for more info