diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2003-07-26 20:58:16 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2003-07-26 20:58:16 +0000 |
commit | 826ddbcbc986acd6175ff97db081784d0eec54f7 (patch) | |
tree | f93d3cd1fd2326f006d7f88f758c8863a7360a22 /x11-libs | |
parent | version bump. (diff) | |
download | historical-826ddbcbc986acd6175ff97db081784d0eec54f7.tar.gz historical-826ddbcbc986acd6175ff97db081784d0eec54f7.tar.bz2 historical-826ddbcbc986acd6175ff97db081784d0eec54f7.zip |
version bump.
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/fltk/Manifest | 5 | ||||
-rw-r--r-- | x11-libs/fltk/files/digest-fltk-1.1.4_rc1 | 1 | ||||
-rw-r--r-- | x11-libs/fltk/fltk-1.1.4_rc1.ebuild | 79 |
3 files changed, 82 insertions, 3 deletions
diff --git a/x11-libs/fltk/Manifest b/x11-libs/fltk/Manifest index b981b4dec015..62a6ba58a1b1 100644 --- a/x11-libs/fltk/Manifest +++ b/x11-libs/fltk/Manifest @@ -1,4 +1,4 @@ -MD5 d166f810698040b72b31b81a7256e504 ChangeLog 4360 +MD5 51a1dba8285f72f739739c0d8f60cf6c ChangeLog 4458 MD5 89a2d657da5a9c4d704d420d09ea9aab fltk-1.0.11-r3.ebuild 1221 MD5 7741b5bb78c150bdb17298433b54d185 fltk-1.1.0_rc7.ebuild 1313 MD5 f00591dea2bd2aa68ac8dde6892db899 fltk-1.1.1.ebuild 1300 @@ -6,8 +6,7 @@ MD5 01f86150585510c9774a559ef8a74ab0 fltk-1.1.2.ebuild 1299 MD5 57759ff97f81f83e675ed84ec57ed774 fltk-1.1.2-r1.ebuild 1818 MD5 80af2d99e9922762e5f3f693f6b5139f fltk-1.1.2-r2.ebuild 1975 MD5 f1baef02e4f14acab5f70184ff509d07 fltk-1.1.3.ebuild 2006 -MD5 36856c0105c4165459d25d25a6f3bb27 fltk-1.1.4_rc1.ebuild 2029 -MD5 beb6e8204fa65e4c1ad4b310b8b37bd4 fltk-1.1.4_rc1.ebuild~ 2019 +MD5 793e017a3d16dbb10585a62625eea81b fltk-1.1.4_rc1.ebuild 2033 MD5 66e9fc032d679befebde2ff1709eaa21 files/digest-fltk-1.0.11-r3 71 MD5 74fc94981d92895e653f46d93575b4a0 files/digest-fltk-1.1.0_rc7 74 MD5 0f867026a269cbeb3ee4b37e76ffbf0c files/digest-fltk-1.1.1 71 diff --git a/x11-libs/fltk/files/digest-fltk-1.1.4_rc1 b/x11-libs/fltk/files/digest-fltk-1.1.4_rc1 new file mode 100644 index 000000000000..22dcd20c2c22 --- /dev/null +++ b/x11-libs/fltk/files/digest-fltk-1.1.4_rc1 @@ -0,0 +1 @@ +MD5 2b78ad450f222d0992b83692af4ba0fd fltk-1.1.4rc1-source.tar.bz2 1249112 diff --git a/x11-libs/fltk/fltk-1.1.4_rc1.ebuild b/x11-libs/fltk/fltk-1.1.4_rc1.ebuild new file mode 100644 index 000000000000..19816177a700 --- /dev/null +++ b/x11-libs/fltk/fltk-1.1.4_rc1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2003 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.4_rc1.ebuild,v 1.1 2003/07/26 20:58:10 jhhudso Exp $ + +inherit eutils + +P=${P/_/} +PV=${PV/_/} + +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" +LICENSE="FLTK | GPL-2" +IUSE="opengl" + +DEPEND="virtual/x11 + virtual/xft + media-libs/libpng + media-libs/jpeg + opengl? ( virtual/opengl )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/libs.diff || die "patch failed" +} + +src_compile() { + local myconf + myconf="--enable-shared --enable-static --enable-threads \ + --enable-xdbe --enable-xft" + + # If you still have problems and you just uninstalled + # xft and didn't re-install xfree to get the right headers + # back the xft enabled build still wont work. :) I hope to fix + # this eventually but for the 1.4 release... + #if [ -d ${ROOT}var/db/pkg/x11-libs/xft* ]; then + # myconf="${myconf} --disable-xft" + #else + # myconf="${myconf} --enable-xft" + #fi + + use opengl || myconf="${myconf} --disable-gl" + + # needed for glibc-2.3.1 (as far as i can test) + # otherwise libstdc++ won't be linked. #17894 and #15572 + # doesn't happen for glibc-2.3.2 - <liquidx@gentoo.org> + export CXX="g++" + export CC="g++" + + # bug #19894 + export C_INCLUDE_PATH="${C_INCLUDE_PATH}:/usr/include/freetype2" + export CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/include/freetype2" + + 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 +} |