summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-05-27 06:20:35 +0000
committerJustin Lecher <jlec@gentoo.org>2011-05-27 06:20:35 +0000
commit3ed91cb64056b74bb85be0636757f5a7e403a1eb (patch)
tree2e780ad64d53644a7f83effc82cc5d0528f46bba /x11-libs/fltk
parentppc stable wrt #359259 (diff)
downloadhistorical-3ed91cb64056b74bb85be0636757f5a7e403a1eb.tar.gz
historical-3ed91cb64056b74bb85be0636757f5a7e403a1eb.tar.bz2
historical-3ed91cb64056b74bb85be0636757f5a7e403a1eb.zip
Version Bump
Package-Manager: portage-2.2.0_alpha37/cvs/Linux x86_64
Diffstat (limited to 'x11-libs/fltk')
-rw-r--r--x11-libs/fltk/ChangeLog7
-rw-r--r--x11-libs/fltk/Manifest10
-rw-r--r--x11-libs/fltk/fltk-1.3.0_rc6.ebuild154
3 files changed, 166 insertions, 5 deletions
diff --git a/x11-libs/fltk/ChangeLog b/x11-libs/fltk/ChangeLog
index ee5d7b72b1bf..a7a26fd3eb3a 100644
--- a/x11-libs/fltk/ChangeLog
+++ b/x11-libs/fltk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/fltk
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.178 2011/05/21 11:08:52 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.179 2011/05/27 06:20:35 jlec Exp $
+
+*fltk-1.3.0_rc6 (27 May 2011)
+
+ 27 May 2011; Justin Lecher <jlec@gentoo.org> +fltk-1.3.0_rc6.ebuild:
+ Version Bump
21 May 2011; Justin Lecher <jlec@gentoo.org> fltk-1.3.0_rc5.ebuild:
Remove bundled libs to be on the save side
diff --git a/x11-libs/fltk/Manifest b/x11-libs/fltk/Manifest
index 834c71928f77..3fed39812b11 100644
--- a/x11-libs/fltk/Manifest
+++ b/x11-libs/fltk/Manifest
@@ -32,6 +32,7 @@ DIST fltk-1.1.10-source.tar.bz2 2214382 RMD160 f8fc4371811efcc0d6fc73edd0525d8ff
DIST fltk-1.1.9-source.tar.bz2 2206178 RMD160 f22e83fc9fd5e8bc10f0eea55e1a4df2ba132d91 SHA1 6f21903dc53c829ec71e8e49655eb19e624c8247 SHA256 facba5a97a20ca92b32504174474775c6b12fb67a6f646fa0de18db709c3edde
DIST fltk-1.3.0rc3-source.tar.gz 3783896 RMD160 716b9a91bc362125eb0a8356e176cd8b50f5fb94 SHA1 d7a31ab154f54a686a629f385ea5f5e2b71fd310 SHA256 4221ade5df9872e29d94f203c2eb69d778dcfd82beb39b781cb4036d993fcd6c
DIST fltk-1.3.0rc5-source.tar.gz 4111870 RMD160 c1016f09ec1c6d085895a867428ac2566d0b1231 SHA1 986279403844d3b06e4ba0d59aaedd24b4e02ee2 SHA256 dbbfc47256e31d5d1388e0d3d920386b984fd4b66a4261ee903c29ad080325b9
+DIST fltk-1.3.0rc6-source.tar.gz 4117530 RMD160 7884b1c5db78fb3bad5c40e7fb64406fada64538 SHA1 2b4b4dd233ccacdfaf58ffb33899f5220100f6a5 SHA256 a4c7127e70ecfb644e8bccf4082ecbe628c7da7933d839535848127922f81a4a
DIST fltk-2.0.x-r6970.tar.bz2 2529193 RMD160 5d114b5861807a15638d2b0f7ac55a909c1b6870 SHA1 0aaa688786a858b7af84e992d5438aab4ba84b0e SHA256 0d88c16967ca40b26a70736b0d6874046c31a9e74816806816252e4eb72a84a3
EBUILD fltk-1.1.10-r1.ebuild 3841 RMD160 b3fa34cc3d752ba49cdcbacd26b08dec2146d3a0 SHA1 a3233e8a45f04173acf6bd600d881fab4ecaf918 SHA256 caf5f38d646dc34f71d198327697946aca480537b5dddad931ac9de19f6a0b0f
EBUILD fltk-1.1.10-r2.ebuild 3910 RMD160 4e85a0cc4563cf47b9ccdbb961dba9c46d8f8d7e SHA1 8a7d43b54efa23976f0d38b424af6e06da12dc91 SHA256 c3529044c3ad76eec275fc3172a9404cbc981146ec4758d2056767c7d6860882
@@ -39,14 +40,15 @@ EBUILD fltk-1.1.9-r1.ebuild 3619 RMD160 2bd5e83b47f77db7c566dd2e3c353a63f74d5117
EBUILD fltk-1.1.9-r2.ebuild 3671 RMD160 fd9068342e3e985426620855bda5bbb3cd8f8dfe SHA1 49ecf5a53c331ec2db09a6102594fb5cb617b045 SHA256 11ad1beed24ddf4e6c2626534973ae7d3151f59ad46efaffba18d42d0d480298
EBUILD fltk-1.3.0_rc3-r1.ebuild 3809 RMD160 c8bf979b6c8600db2f79154f67530b38b782c58d SHA1 4a3ed4201ce7723b02c58c6908d3fcc2d82cb4d6 SHA256 a3e2303b13b7d592208aa18ad0494a9aace2b586f225fea1b891f2f403c4df14
EBUILD fltk-1.3.0_rc5.ebuild 3885 RMD160 e1fdb5b51051c22bf17192117d906c62fa9405be SHA1 3462dfeaea11b0ab6649c050ba4adf9bdd80a2cd SHA256 c95612d59fb1511ad6ef313914f6b2d0a19633c8432054549d15c4c38542f512
+EBUILD fltk-1.3.0_rc6.ebuild 3907 RMD160 e639f13fc8c0c8f5d36599078dfdbb95552c83d3 SHA1 026af3b93df7d7519364c7b97ce60b3126f1eac5 SHA256 a94679c27496ae888e978fadf9b495ee48c9711fe3239f39faaa84777d6eb49c
EBUILD fltk-2.0_pre6970-r1.ebuild 2643 RMD160 3f2586e399d6d8d528458de6290474c6d8f71745 SHA1 231219d7b2a21b5f19fae8c1381add0c3d44b61c SHA256 30bcdb648e978978ea3f6e183efac6f02f008fbe345cde19c3257ad95e50a2d6
EBUILD fltk-2.0_pre6970.ebuild 2499 RMD160 473e33748481ede77d977856375059b48994667e SHA1 d4b27ae1b48a9573104cd62ca106ad2ff9359acb SHA256 9151a4aaf72a4d22301cd16c8cf06461410a5121939162347da14c3106c4bffd
-MISC ChangeLog 24880 RMD160 eab6ccdee7010cc0fd4e2921dd9d816e2d60e64b SHA1 f0123a7179a6ff73192f0ce5ce020dbe12b9a7ab SHA256 294af663cf4206e7df583582e451f767ae6debae95ce4199f2f7ae5b2679f995
+MISC ChangeLog 24998 RMD160 01b1e9ecc690ed5df423b390e5b2f41a76e08b90 SHA1 e76b95b7eee69a9ee7b3e441d50a5f18744814ba SHA256 3d9b785b06c5684bd6a3a2e7f10405582700dba55f199dc789385a5f2b8f0ae3
MISC metadata.xml 657 RMD160 24969ef07785738fc34d10c79dcc854d2a895ec3 SHA1 8afd06ddc3b01090acf0333f2ac41fc4a692f504 SHA256 f37b711686e55a32ab4a1e050ee6e98fbfd7e6d7839c53926b6103fff61c44b1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk3XnV0ACgkQgAnW8HDreRYjtgCfZsL8x5J+LPQfOxWBP4pIH6ct
-vbQAoIzwYKfq1K7ZNGWrckSniUFkJluq
-=nxeN
+iEYEARECAAYFAk3fQrgACgkQgAnW8HDreRYGIQCfRZ8WNurTlX32CBYoa3ruvxa/
+IMQAn0IToBBPGfVP3e+HTOGuLwrQm5Mt
+=EWtY
-----END PGP SIGNATURE-----
diff --git a/x11-libs/fltk/fltk-1.3.0_rc6.ebuild b/x11-libs/fltk/fltk-1.3.0_rc6.ebuild
new file mode 100644
index 000000000000..8c20f8ae1fc0
--- /dev/null
+++ b/x11-libs/fltk/fltk-1.3.0_rc6.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.3.0_rc6.ebuild,v 1.1 2011/05/27 06:20:35 jlec Exp $
+
+EAPI=3
+
+inherit eutils autotools versionator fdo-mime
+
+MY_P=${P/_}
+
+DESCRIPTION="C++ user interface toolkit for X and OpenGL"
+HOMEPAGE="http://www.fltk.org/"
+SRC_URI="mirror://easysw/${PN}/${PV/_}/${P/_}-source.tar.gz"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+LICENSE="FLTK LGPL-2"
+
+SLOT="1"
+
+IUSE="cairo debug doc examples games opengl pdf threads xft xinerama"
+
+#RESTRICT="strip"
+
+RDEPEND="x11-libs/libXext
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXt
+ virtual/jpeg
+ media-libs/libpng
+ sys-libs/zlib
+ opengl? ( virtual/opengl )
+ xinerama? ( x11-libs/libXinerama )
+ xft? ( x11-libs/libXft )"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ doc? (
+ app-doc/doxygen
+ pdf? ( dev-texlive/texlive-latex )
+ )
+ xinerama? ( x11-proto/xineramaproto )"
+
+INCDIR=${EPREFIX}/usr/include/fltk-${SLOT}
+LIBDIR=${EPREFIX}/usr/$(get_libdir)/fltk-${SLOT}
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ rm -rf zlib jpeg png || die
+ epatch \
+ "${FILESDIR}"/${PN}-1.3.0_rc5-as-needed.patch \
+ "${FILESDIR}"/${PN}-1.3.0_rc5-share.patch \
+ "${FILESDIR}"/${PN}-1.3.0_rc3-conf-tests.patch
+ sed \
+ -e 's:@HLINKS@::g' -i FL/Makefile.in || die
+ sed -i \
+ -e '/C\(XX\)\?FLAGS=/s:@C\(XX\)\?FLAGS@::' \
+ -e '/^LDFLAGS=/d' \
+ "${S}/fltk-config.in" || die
+ # some fixes introduced because slotting
+ sed -i \
+ -e '/RANLIB/s:$(libdir)/\(.*LIBNAME)\):$(libdir)/`basename \1`:g' \
+ src/Makefile || die
+ # docs in proper docdir
+ sed -i \
+ -e "/^docdir/s:fltk:${PF}/html:" \
+ -e "/SILENT:/d" \
+ makeinclude.in || die
+ sed -e "s/7/$(get_version_component_range 3)/" \
+ "${FILESDIR}"/FLTKConfig.cmake > CMake/FLTKConfig.cmake
+ sed -e 's:-Os::g' -i configure.in || die
+ eautoconf
+}
+
+src_configure() {
+ econf \
+ --includedir=${INCDIR}\
+ --libdir=${LIBDIR} \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ --enable-largefile \
+ --enable-shared \
+ --enable-xdbe \
+ --disable-localjpeg \
+ --disable-localpng \
+ --disable-localzlib \
+ $(use_enable debug) \
+ $(use_enable cairo) \
+ $(use_enable opengl gl) \
+ $(use_enable threads) \
+ $(use_enable xft) \
+ $(use_enable xinerama)
+}
+
+src_compile() {
+ emake || die "emake failed"
+ if use doc; then
+ cd "${S}"/documentation
+ emake html || die "emake doc failed"
+ if use pdf; then
+ emake pdf || die "emake doc failed"
+ fi
+ fi
+ if use games; then
+ cd "${S}"/test
+ emake blocks checkers sudoku || die "emake games failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ emake -C fluid \
+ DESTDIR="${D}" install-linux || die "emake install fluid failed"
+ if use doc; then
+ emake -C documentation \
+ DESTDIR="${D}" install || die "emake install doc failed"
+ fi
+ local apps="fluid"
+ if use games; then
+ emake -C test \
+ DESTDIR="${D}" install-linux || die "emake install games failed"
+ emake -C documentation \
+ DESTDIR="${D}" install-linux || die "emake install doc games failed"
+ apps="${apps} sudoku blocks checkers"
+ fi
+ for app in ${apps}; do
+ dosym /usr/share/icons/hicolor/32x32/apps/${app}.png \
+ /usr/share/pixmaps/${app}.png
+ done
+ dodoc CHANGES README CREDITS ANNOUNCEMENT || die
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins test/*.{h,cxx,fl} test/demo.menu
+ fi
+
+ insinto /usr/share/cmake/Modules
+ doins CMake/FLTK*.cmake
+
+ echo "LDPATH=${LIBDIR}" > 99fltk-${SLOT}
+ echo "FLTK_DOCDIR=/usr/share/doc/${PF}/html" >> 99fltk-${SLOT}
+ doenvd 99fltk-${SLOT}
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ echo
+ ewarn "PLEASE PLEASE take note of this"
+ ewarn "Please make *sure* to run revdep-rebuild now"
+ ewarn "You must recompile everything that depend on fltk!"
+ echo
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}