diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-01-06 12:31:52 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-01-06 12:32:10 +0100 |
commit | 476ed9fbabac452f6be29c4444bc5b5b44bd9d28 (patch) | |
tree | 38d58bed02da5baeed3650602ac43578270a0cdb | |
parent | dev-python/python-xlib: Remove old (diff) | |
download | gentoo-476ed9fbabac452f6be29c4444bc5b5b44bd9d28.tar.gz gentoo-476ed9fbabac452f6be29c4444bc5b5b44bd9d28.tar.bz2 gentoo-476ed9fbabac452f6be29c4444bc5b5b44bd9d28.zip |
dev-tcltk/tkimg: version bump to 1.4.11
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
-rw-r--r-- | dev-tcltk/tkimg/Manifest | 2 | ||||
-rw-r--r-- | dev-tcltk/tkimg/tkimg-1.4.11.ebuild | 95 |
2 files changed, 97 insertions, 0 deletions
diff --git a/dev-tcltk/tkimg/Manifest b/dev-tcltk/tkimg/Manifest index 83f12e9da114..0d13fffd72d4 100644 --- a/dev-tcltk/tkimg/Manifest +++ b/dev-tcltk/tkimg/Manifest @@ -1,3 +1,5 @@ +DIST Img-1.4.11-Source.tar.gz 7610956 BLAKE2B f461ddb07681c15ca68f8a023808c1c9aec63eefe434c46e09b22f48025b3ec4b095fa44092e30799af3a0435562fd1917613a7ed3f9612d166014cd34834142 SHA512 792223fdb310370937669ef537662947f087131a001281e8923095892b585354690612a339d03f3939b91870016256c37e41aa6305db70e8db1b5ab590610751 DIST Img-1.4.9-Source.tar.gz 7702460 BLAKE2B 958956e786cea208f24a30532fa65914439d8289a4fce7dfa149e8202d1abe680bd8cb1cc5d8b3fb3e31d48bf5302db14977997f92ebaa786503138be872fa0b SHA512 c749a567de4eb2b9acc4d84344141ed8ba3703e4e22895d3fe0b292fe10bb0c09920cd765952fa1b95bfe8c0cb5e2955421c29bedaa07b7f3b36e7697a8f36c9 DIST Img-Source-1.4.7.tar.gz 7259144 BLAKE2B 48794a21564864c5b20953d1504acde5512be4aaa8db0834f63b15431af0bfa8bb2050f241e7b2d9b383480b59e17567f26f45c91e9f9a7fc58600cfe6ef6595 SHA512 6a395d6263e2f46151d0d3f5c6044d87a933617981200d2663328b8c7993b8a3aacba45568cee7aa2f5d8c8d020cb63956179aab5147d25d91b8834c0dfa4b9d +DIST tkimg-1.4.11-patchset-1.tar.gz 9864 BLAKE2B bee2ddd4b0ada51f9aeffc1e4ddcb9ea2d3fec37eccdaf9a1d26551e7e2dd01a466cad91ea33635ce674261d92fc1dc1fa80f3d19dffd92bb5f9bb5425820318 SHA512 013a70826c5a7b083479e6a4cb56421384400dda9ca05b7216b877b9a79d009ee0f80db25c0b0e51b05904b7d74f4d0220cdb92e819404422743c06a1199245f DIST tkimg-1.4.7-patchset-1.tar.xz 8208 BLAKE2B c2e6f5d6ef415c897cac33da4a003efec467312e844912e5a519cfb3ddf04ac5cac830eed05418ef74f931df2211c53c40669e53ce3bed219a7c2c714a398de5 SHA512 596c505db7f2ff40c786b83a018eba7f82718d350b6a601f8b93aa64fac238d6b8def603cd719f89fc526e5d2891a94b46de1a2ba628b8ff0ec80979892e28d8 diff --git a/dev-tcltk/tkimg/tkimg-1.4.11.ebuild b/dev-tcltk/tkimg/tkimg-1.4.11.ebuild new file mode 100644 index 000000000000..674cef238a5d --- /dev/null +++ b/dev-tcltk/tkimg/tkimg-1.4.11.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools eutils multilib prefix toolchain-funcs virtualx + +MYP=Img-${PV}-Source + +DESCRIPTION="Adds a lot of image formats to Tcl/Tk" +HOMEPAGE="http://tkimg.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}/1.4/${PN}%20${PV}/${MYP}.tar.gz + https://dev.gentoo.org/~tupone/distfiles/${P}-patchset-1.tar.gz" +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test static-libs" + +RDEPEND=" + dev-lang/tk:= + >=dev-tcltk/tcllib-1.11 + media-libs/tiff:0= + >=media-libs/libpng-1.6:0= + >=sys-libs/zlib-1.2.7:= + x11-libs/libX11 + virtual/jpeg:=" +DEPEND="${RDEPEND} + test? ( + x11-apps/xhost + media-fonts/font-misc-misc + media-fonts/font-cursor-misc )" + +# Fails tests +RESTRICT="test" + +S="${WORKDIR}/Img-${PV}" + +PATCHES=( "${WORKDIR}"/patchset-1 ) + +src_prepare() { + edos2unix \ + libjpeg/jpegtclDecls.h \ + libjpeg/Makefile.in \ + zlib/Makefile.in \ + zlib/zlibtcl.decls \ + zlib/zlibtclDecls.h \ + libpng/Makefile.in \ + libpng/pngtclDecls.h \ + libtiff/Makefile.in \ + libtiff/tifftclDecls.h \ + libtiff/tifftclStubInit.c \ + tiff/tiff.c \ + jpeg/jpeg.c + default + find . -name configure -delete + + find compat/{libjpeg,libpng,zlib,libtiff} -delete + + eautoreconf + for dir in zlib libpng libtiff libjpeg base bmp gif ico jpeg pcx pixmap png\ + ppm ps sgi sun tga tiff window xbm xpm dted raw flir ; do + (cd $dir; eautoreconf) + done + + eprefixify */*.h + tc-export AR +} + +src_install() { + local l bl + + emake \ + DESTDIR="${D}" \ + INSTALL_ROOT="${D}" \ + install + + if ! use static-libs; then + find "${ED}"/usr/$(get_libdir)/ -type f -name "*\.a" -delete || die + fi + + # Make library links + for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do + bl=$(basename $l) + dosym Img${PV}/${bl} /usr/$(get_libdir)/${bl} + done + + dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE + + if use doc; then + docompress -x usr/share/doc/${PF}/demo.tcl + dodoc demo.tcl + docinto html + dodoc -r doc/* + fi +} |