summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2008-07-17 08:22:05 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2008-07-17 08:22:05 +0000
commit91258b4349fe0c5ff6359e4ab8198b16df0670a2 (patch)
tree0cd53240fba50486df65c6802e54d9970538fe4e /gnustep-base
parentFix deps wrt ffmpeg: 0.4.9_p20070616-r3 to -r20 doesn't have swscaler, -r1 an... (diff)
downloadgentoo-2-91258b4349fe0c5ff6359e4ab8198b16df0670a2.tar.gz
gentoo-2-91258b4349fe0c5ff6359e4ab8198b16df0670a2.tar.bz2
gentoo-2-91258b4349fe0c5ff6359e4ab8198b16df0670a2.zip
Version bump, bugfix release
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 x86_64)
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/gnustep-base/ChangeLog8
-rw-r--r--gnustep-base/gnustep-base/gnustep-base-1.16.3.ebuild88
2 files changed, 95 insertions, 1 deletions
diff --git a/gnustep-base/gnustep-base/ChangeLog b/gnustep-base/gnustep-base/ChangeLog
index f04d12e236c5..0f53c3c0f4dd 100644
--- a/gnustep-base/gnustep-base/ChangeLog
+++ b/gnustep-base/gnustep-base/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for gnustep-base/gnustep-base
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v 1.70 2008/07/11 09:12:05 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v 1.71 2008/07/17 08:22:05 voyageur Exp $
+
+*gnustep-base-1.16.3 (17 Jul 2008)
+
+ 17 Jul 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +gnustep-base-1.16.3.ebuild:
+ Version bump, bugfix release
*gnustep-base-1.16.2 (11 Jul 2008)
diff --git a/gnustep-base/gnustep-base/gnustep-base-1.16.3.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.16.3.ebuild
new file mode 100644
index 000000000000..f907a20e9cad
--- /dev/null
+++ b/gnustep-base/gnustep-base/gnustep-base-1.16.3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.16.3.ebuild,v 1.1 2008/07/17 08:22:05 voyageur Exp $
+
+inherit gnustep-base
+
+DESCRIPTION="A library of general-purpose, non-graphical Objective C objects."
+
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+LICENSE="GPL-2 LGPL-2.1"
+
+IUSE="gcc-libffi gnutls"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ >=gnustep-base/gnustep-make-2.0
+ !gcc-libffi? ( dev-libs/ffcall )
+ gcc-libffi? ( >=sys-devel/gcc-3.3.5 )
+ gnutls? ( net-libs/gnutls )
+ >=dev-libs/libxml2-2.6
+ >=dev-libs/libxslt-1.1
+ >=dev-libs/gmp-4.1
+ >=dev-libs/openssl-0.9.7
+ >=sys-libs/zlib-1.2"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ gnustep-base_pkg_setup
+
+ if use gcc-libffi && ! built_with_use sys-devel/gcc libffi; then
+ eerror "You have enabled the gcc-libffi USE flag, however gcc was not compiled with USE=libffi"
+ eerror "Please recompile sys-libs/gcc with USE=libffi, or disable the gcc-libffi USE flag"
+ die "libffi support not available"
+ fi
+}
+
+src_compile() {
+ egnustep_env
+
+ local myconf
+ if use gcc-libffi;
+ then
+ myconf="--enable-libffi --disable-ffcall"
+ myconf="${myconf} --with-ffi-library=$(gcc-config -L) --with-ffi-include=$(gcc-config -L | sed 's/:.*//')/include/libffi"
+ else
+ myconf="--disable-libffi --enable-ffcall"
+ fi
+
+ myconf="$myconf $(use_enable gnutls tls)"
+ myconf="$myconf --with-xml-prefix=/usr"
+ myconf="$myconf --with-gmp-include=/usr/include --with-gmp-library=/usr/lib"
+ myconf="$myconf --with-default-config=/etc/GNUstep/GNUstep.conf"
+
+ econf $myconf || die "configure failed"
+
+ egnustep_make
+}
+
+src_install() {
+ # We need to set LD_LIBRARY_PATH because the doc generation program
+ # uses the gnustep-base libraries. Since egnustep_env "cleans the
+ # environment" including our LD_LIBRARY_PATH, we're left no choice
+ # but doing it like this.
+
+ egnustep_env
+ egnustep_install
+
+ if use doc ; then
+ export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
+ egnustep_doc
+ fi
+ egnustep_install_config
+
+ dodir /etc/revdep-rebuild
+ sed -e 's|$GNUSTEP_SEARCH_DIRS|'"$GNUSTEP_SYSTEM_ROOT $GNUSTEP_LOCAL_ROOT"'|' \
+ "${FILESDIR}"/50-gnustep-revdep \
+ > "${D}/etc/revdep-rebuild/50-gnustep-revdep"
+}
+
+pkg_postinst() {
+ ewarn "The shared library version has changed in this release."
+ ewarn "You will need to recompile all Applications/Tools/etc in order"
+ ewarn "to use this library."
+ ewarn "Run:"
+ ewarn "revdep-rebuild --library \"libgnustep-base.so.1.1[0-4]\""
+}