From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F023139085 for ; Sun, 15 Jan 2017 09:40:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9551821C081; Sun, 15 Jan 2017 09:40:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F3DF21C081 for ; Sun, 15 Jan 2017 09:40:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E9B4340C9D for ; Sun, 15 Jan 2017 09:40:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B7FA027C3 for ; Sun, 15 Jan 2017 09:40:00 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1484473199.0b6ec95cd4c8bc9f3915fedc7397847290957bc2.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/simage/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/simage/simage-1.7.0-r1.ebuild X-VCS-Directories: media-libs/simage/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 0b6ec95cd4c8bc9f3915fedc7397847290957bc2 X-VCS-Branch: master Date: Sun, 15 Jan 2017 09:40:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: febd822e-b54b-4be0-b263-df1eb6ede8d2 X-Archives-Hash: f4fec51196d2585ee903b473bfdf0a20 commit: 0b6ec95cd4c8bc9f3915fedc7397847290957bc2 Author: Justin Lecher gentoo org> AuthorDate: Sun Jan 15 09:39:38 2017 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Jan 15 09:39:59 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b6ec95c media-libs/simage: Bump to EAPI=6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher gentoo.org> media-libs/simage/simage-1.7.0-r1.ebuild | 77 ++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/media-libs/simage/simage-1.7.0-r1.ebuild b/media-libs/simage/simage-1.7.0-r1.ebuild new file mode 100644 index 00000000..8ffb8ed --- /dev/null +++ b/media-libs/simage/simage-1.7.0-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Image and video texturing library" +HOMEPAGE="https://bitbucket.org/Coin3D/simage" +SRC_URI="https://bitbucket.org/Coin3D/coin/downloads/${P}.tar.gz" + +LICENSE="public-domain mpeg2enc" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +SLOT="0" +IUSE="debug gif jpeg jpeg2k png sndfile static-libs tiff vorbis zlib" +RESTRICT="mirror bindist" #465086 + +RDEPEND=" + gif? ( media-libs/giflib ) + jpeg? ( virtual/jpeg:0= ) + jpeg2k? ( media-libs/jasper ) + png? ( media-libs/libpng:0= ) + sndfile? ( media-libs/libsndfile ) + tiff? ( media-libs/tiff:0= ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +DOCS=(AUTHORS ChangeLog NEWS README) + +PATCHES=( + "${FILESDIR}"/${PN}-1.7.0-pkgconfig-partial.patch + "${FILESDIR}"/${PN}-1.7.0-libpng15.patch +) + +# --with-pic, two defined (PIC and one for image format, sillyt), no not pass +# --enable-qimage, broken Qt checks, unable to locate FHS-compliant Qt install +# --with-x, not used anywhere +src_configure() { + econf \ + --disable-qimage \ + --disable-quicktime \ + --with-eps \ + --with-mpeg2enc \ + --with-rgb \ + --with-targa \ + --with-xwd \ + --without-x \ + $(use_with gif) \ + $(use_enable debug) \ + $(use_enable debug symbols) \ + $(use_with jpeg) \ + $(use_with jpeg2k jasper) \ + $(use_with png) \ + $(use_with sndfile libsndfile) \ + $(use_enable static-libs static) \ + $(use_with tiff) \ + $(use_with vorbis oggvorbis) \ + $(use_with zlib) +} + +src_install() { + # Remove simage from Libs.private + sed -e '/Libs.private/s/ -lsimage//' -i simage.pc || die + + default + + # Remove libtool files when not needed. + if use static-libs; then + rm -f "${ED}"/usr/lib*/*.la || die + fi +}