From 3afc3a760f4b4c6d3d41c1a0ad63399a147b6699 Mon Sep 17 00:00:00 2001 From: Nick Hadaway Date: Mon, 9 Dec 2002 03:40:28 +0000 Subject: Version bump. Lots of fluid bug fixes. Also fixes for compatibility with Xft-2.0. --- x11-libs/fltk/ChangeLog | 14 +++++--- x11-libs/fltk/files/digest-fltk-1.1.2 | 1 + x11-libs/fltk/fltk-1.1.2.ebuild | 64 +++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 5 deletions(-) create mode 100644 x11-libs/fltk/files/digest-fltk-1.1.2 create mode 100644 x11-libs/fltk/fltk-1.1.2.ebuild (limited to 'x11-libs') diff --git a/x11-libs/fltk/ChangeLog b/x11-libs/fltk/ChangeLog index ab2d2fa22594..577f723ba067 100644 --- a/x11-libs/fltk/ChangeLog +++ b/x11-libs/fltk/ChangeLog @@ -1,15 +1,19 @@ # ChangeLog for x11-libs/fltk # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.14 2002/11/23 20:12:55 cybersystem Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.15 2002/12/09 03:40:28 raker Exp $ -*fltk-1.1.1 (23 Nov 2002) +*fltk-1.1.2 (09 Dec 2002) - 23 Nov 2002; Sascha Schwabbauer fltk-1.1.1.ebuild : - - Added ~ppc to keywords. + 09 Dec 2002; Nick Hadaway fltk-1.1.2.ebuild, + files/digest-fltk-1.1.2 : + Version bump. Lots of fluid bug fixes. Also fixes for compatibility + with Xft-2.0. *fltk-1.1.1 (30 Oct 2002) + 23 Nov 2002; Sascha Schwabbauer fltk-1.1.1.ebuild : + Added ~ppc to keywords. + 30 Oct 2002; Nick Hadaway fltk-1.1.1.ebuild, files/digest-fltk-1.1.1 : A non rc has finally been released. Many bug fixes. Check out... diff --git a/x11-libs/fltk/files/digest-fltk-1.1.2 b/x11-libs/fltk/files/digest-fltk-1.1.2 new file mode 100644 index 000000000000..c400d598c94b --- /dev/null +++ b/x11-libs/fltk/files/digest-fltk-1.1.2 @@ -0,0 +1 @@ +MD5 5d3e96f253c737332cb6d45b6d7d9384 fltk-1.1.2-source.tar.bz2 1287828 diff --git a/x11-libs/fltk/fltk-1.1.2.ebuild b/x11-libs/fltk/fltk-1.1.2.ebuild new file mode 100644 index 000000000000..ab41f12330f7 --- /dev/null +++ b/x11-libs/fltk/fltk-1.1.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.1.2.ebuild,v 1.1 2002/12/09 03:40:28 raker Exp $ + +IUSE="opengl" + +S=${WORKDIR}/${P} + +DESCRIPTION="C++ user interface toolkit for X and OpenGL." +HOMEPAGE="http://www.fltk.org" +SRC_URI="ftp://ftp.easysw.com/pub/fltk/${PV}/${P}-source.tar.bz2" + +SLOT="1.1" +KEYWORDS="~x86 ~ppc ~sparc ~sparc64" +LICENSE="FLTK | GPL-2" + +DEPEND="media-libs/libpng + media-libs/jpeg + opengl? ( virtual/opengl ) + virtual/x11" + +src_unpack() { + + unpack ${A} + cd ${S} + patch -p1 < ${FILESDIR}/libs.diff || die "patch failed" + +} + +src_compile() { + + local myconf + myconf="--enable-shared --enable-static --enable-threads \ + --enable-xft --enable-xdbe" + + use opengl || myconf="${myconf} --disable-gl" + + export CXX="g++" + + econf \ + --includedir=/usr/include/fltk-1.1 \ + --libdir=/usr/lib/fltk-1.1 \ + ${myconf} || die "Configuration Failed" + + emake || die "Parallel Make Failed" + +} + +src_install () { + + einstall \ + includedir=${D}/usr/include/fltk-1.1 \ + libdir=${D}/usr/lib/fltk-1.1 || die "Installation +Failed" + + ranlib ${D}/usr/lib/fltk-1.1/*.a + + dodoc CHANGES COPYING README + + echo "LDPATH=/usr/lib/fltk-1.1" > 99fltk-1.1 + + insinto /etc/env.d + doins 99fltk-1.1 +} -- cgit v1.2.3-65-gdbad