summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-11-19 17:42:29 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-11-19 17:42:29 +0000
commit58a45420712bfc0e8dcf55f09b9ee8d697b57d50 (patch)
treec38b1e59d5ad7d92b18de75ce1871c0664c2295c /dev-tcltk/tkimg
parentStable for HPPA (bug #345655). (diff)
downloadgentoo-2-58a45420712bfc0e8dcf55f09b9ee8d697b57d50.tar.gz
gentoo-2-58a45420712bfc0e8dcf55f09b9ee8d697b57d50.tar.bz2
gentoo-2-58a45420712bfc0e8dcf55f09b9ee8d697b57d50.zip
Non-dev version bump. Unfortunately the package is bundled with image libraries, needs more work to unbundle them if possible
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk/tkimg')
-rw-r--r--dev-tcltk/tkimg/ChangeLog9
-rw-r--r--dev-tcltk/tkimg/metadata.xml5
-rw-r--r--dev-tcltk/tkimg/tkimg-1.4.ebuild54
3 files changed, 62 insertions, 6 deletions
diff --git a/dev-tcltk/tkimg/ChangeLog b/dev-tcltk/tkimg/ChangeLog
index 38a740336528..499a27e56d1e 100644
--- a/dev-tcltk/tkimg/ChangeLog
+++ b/dev-tcltk/tkimg/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-tcltk/tkimg
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.18 2010/07/04 11:47:53 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.19 2010/11/19 17:42:29 bicatali Exp $
+
+*tkimg-1.4 (19 Nov 2010)
+
+ 19 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> +tkimg-1.4.ebuild,
+ metadata.xml:
+ Non-dev version bump. Unfortunately the package is bundled with image
+ libraries, needs more work to unbundle them if possible
04 Jul 2010; Justin Lecher <jlec@gentoo.org>
-files/tkimg-1.3.20081202-prefix.patch,
diff --git a/dev-tcltk/tkimg/metadata.xml b/dev-tcltk/tkimg/metadata.xml
index efad7846fd5d..a58d166a02f1 100644
--- a/dev-tcltk/tkimg/metadata.xml
+++ b/dev-tcltk/tkimg/metadata.xml
@@ -2,11 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>tcltk</herd>
-<maintainer>
- <email>bicatali@gentoo.org</email>
- <name>Sébastien Fabbro</name>
- <description>Feel free to take over</description>
-</maintainer>
<longdescription lang="en">
The "Img" package adds a lot of image formats to Tcl/Tk.
</longdescription>
diff --git a/dev-tcltk/tkimg/tkimg-1.4.ebuild b/dev-tcltk/tkimg/tkimg-1.4.ebuild
new file mode 100644
index 000000000000..0815ce7ab338
--- /dev/null
+++ b/dev-tcltk/tkimg/tkimg-1.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.4.ebuild,v 1.1 2010/11/19 17:42:29 bicatali Exp $
+
+EAPI="3"
+VIRTUALX_USE=test
+inherit eutils virtualx autotools
+
+MYP="${PN}${PV}"
+
+DESCRIPTION="Adds a lot of image formats to Tcl/Tk"
+HOMEPAGE="http://tkimg.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${MYP}.tar.bz2"
+
+IUSE="doc test"
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="dev-lang/tk
+ >=dev-tcltk/tcllib-1.11
+ >=media-libs/libpng-1.4
+ media-libs/jpeg
+ media-libs/tiff"
+DEPEND="${RDEPEND}
+ test? ( x11-apps/xhost
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc )"
+
+S="${WORKDIR}/${MYP}"
+
+src_test() {
+ Xmake test || die "Xmake failed"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ INSTALL_ROOT="${D}" \
+ install || die "emake install failed"
+ # Make library links
+ for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do
+ bl=$(basename $l)
+ dosym Img1.4/${bl} /usr/$(get_libdir)/${bl}
+ done
+
+ dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE || die
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins demo.tcl || die
+ insinto /usr/share/doc/${PF}/html
+ doins -r doc/* || die
+ fi
+}