Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tcltk/tkimg: ChangeLog tkimg-1.3.20100510.ebuild
Date: Tue, 11 May 2010 16:42:53
Message-Id: 20100511164247.28C222C04D@corvid.gentoo.org
1 jlec 10/05/11 16:42:47
2
3 Modified: ChangeLog
4 Added: tkimg-1.3.20100510.ebuild
5 Log:
6 Version Bump #312695
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.13 dev-tcltk/tkimg/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tkimg/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tkimg/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tkimg/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 1 Apr 2010 19:58:54 -0000 1.12
23 +++ ChangeLog 11 May 2010 16:42:46 -0000 1.13
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-tcltk/tkimg
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.12 2010/04/01 19:58:54 jlec Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.13 2010/05/11 16:42:46 jlec Exp $
29 +
30 +*tkimg-1.3.20100510 (11 May 2010)
31 +
32 + 11 May 2010; Justin Lecher <jlec@g.o> +tkimg-1.3.20100510.ebuild,
33 + +files/tkimg-1.3.20100510-gentoo.patch:
34 + Version Bump #312695
35
36 *tkimg-1.3.20081202-r1 (01 Apr 2010)
37
38
39
40
41 1.1 dev-tcltk/tkimg/tkimg-1.3.20100510.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tkimg/tkimg-1.3.20100510.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tkimg/tkimg-1.3.20100510.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tkimg-1.3.20100510.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.3.20100510.ebuild,v 1.1 2010/05/11 16:42:47 jlec Exp $
51
52 EAPI="3"
53 inherit eutils prefix
54
55 DESCRIPTION="Adds a lot of image formats to Tcl/Tk"
56 HOMEPAGE="http://sourceforge.net/projects/tkimg/"
57 # src built with:
58 # svn export https://tkimg.svn.sourceforge.net/svnroot/tkimg/trunk tkimg-1.3.YYYYMMDD
59 # tar cvfj tkimg-1.3.YYYYMMDD.tar.bz2 tkimg-1.3.YYYYMMDD
60 SRC_URI="mirror://gentoo/${P}.tar.bz2"
61
62 IUSE="doc"
63 SLOT="0"
64 LICENSE="BSD"
65 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
66
67 DEPEND="dev-lang/tk
68 >=dev-tcltk/tcllib-1.11
69 media-libs/libpng
70 media-libs/jpeg
71 media-libs/tiff"
72 RDEPEND="${DEPEND}"
73
74 src_prepare() {
75 epatch "${FILESDIR}"/${P}-gentoo.patch
76 eprefixify \
77 libjpeg/jpegtclDecls.h \
78 libpng/pngtclDecls.h \
79 libtiff/tifftclDecls.h \
80 zlib/zlibtclDecls.h
81 }
82
83 src_install() {
84 emake \
85 DESTDIR="${D}" \
86 INSTALL_ROOT="${D}" \
87 install || die "emake install failed"
88 # Make library links
89 for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do
90 bl=$(basename $l)
91 dosym Img1.4/${bl} /usr/$(get_libdir)/${bl}
92 done
93
94 dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE || die
95 if use doc; then
96 insinto /usr/share/doc/${PF}
97 doins demo.tcl || die
98 insinto /usr/share/doc/${PF}/html
99 doins -r doc/* || die
100 fi
101 }