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 D07881396D0 for ; Sun, 6 Aug 2017 22:47:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 251181FC002; Sun, 6 Aug 2017 22:47:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7C611FC002 for ; Sun, 6 Aug 2017 22:47:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1E793418AA for ; Sun, 6 Aug 2017 22:47:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A68B74A9 for ; Sun, 6 Aug 2017 22:47:40 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1502059647.4e9e5f05843e2b71276c826db1194eca3f93dc2c.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libwebp/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libwebp/Manifest media-libs/libwebp/libwebp-0.6.0.ebuild X-VCS-Directories: media-libs/libwebp/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 4e9e5f05843e2b71276c826db1194eca3f93dc2c X-VCS-Branch: master Date: Sun, 6 Aug 2017 22:47:40 +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: 03358c93-eb51-4059-af48-a15726045c2b X-Archives-Hash: 2b227d41642b521f8c746696275881e1 commit: 4e9e5f05843e2b71276c826db1194eca3f93dc2c Author: Sebastian Pipping gentoo org> AuthorDate: Sun Aug 6 22:41:30 2017 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sun Aug 6 22:47:27 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e9e5f05 media-libs/libwebp: 0.6.0 (bug #623398) Package-Manager: Portage-2.3.6, Repoman-2.3.3 media-libs/libwebp/Manifest | 1 + media-libs/libwebp/libwebp-0.6.0.ebuild | 69 +++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/media-libs/libwebp/Manifest b/media-libs/libwebp/Manifest index 7703086342e..e96cd57e892 100644 --- a/media-libs/libwebp/Manifest +++ b/media-libs/libwebp/Manifest @@ -1 +1,2 @@ DIST libwebp-0.5.2.tar.gz 1221153 SHA256 b75310c810b3eda222c77f6d6c26b061240e3d9060095de44b2c1bae291ecdef SHA512 f0d798e0ef8b58bc159c53214a62b29dff4309ced9efd7c5f0e6f837877906db8318c4c3453f92725ef6f2b069b931ce3e7961ca26db723a31eedc7b52988de2 WHIRLPOOL 9b1af454257315026b71d7faa7b1af560cced9387298c669cf3773802088f1865f0388c3776c895906ccff35ee20ac8e03a3505b8e13a0e4aea4aaaec970d0db +DIST libwebp-0.6.0.tar.gz 1302881 SHA256 c928119229d4f8f35e20113ffb61f281eda267634a8dc2285af4b0ee27cf2b40 SHA512 be8eb9a3ddd3dec57f9f573d076ef97b17ea18de7e58e08e3fcb26456262394e9bb663c883d34f1aee0a91f23568e61c5ec4a7d0429cc385c009bf088ce6a1a4 WHIRLPOOL c0ebbd89adf1e1f0b1da60a1864ef9a3cecf0012ba6828f9db1d4d94006571b6dd93e7a1b714a1a63b888475e84038e615b6d6711acf92495e8fc46573e56edf diff --git a/media-libs/libwebp/libwebp-0.6.0.ebuild b/media-libs/libwebp/libwebp-0.6.0.ebuild new file mode 100644 index 00000000000..a6d1b40ede5 --- /dev/null +++ b/media-libs/libwebp/libwebp-0.6.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils libtool multilib-minimal + +DESCRIPTION="A lossy image compression format" +HOMEPAGE="https://developers.google.com/speed/webp/download" +SRC_URI="http://downloads.webmproject.org/releases/webp/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/7" # subslot = libwebp soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~m68k-mint" +IUSE="cpu_flags_x86_avx2 cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 experimental gif +jpeg neon opengl +png static-libs swap-16bit-csp tiff" + +# TODO: dev-lang/swig bindings in swig/ subdirectory +RDEPEND="gif? ( media-libs/giflib:= ) + jpeg? ( virtual/jpeg:0= ) + opengl? ( + media-libs/freeglut + virtual/opengl + ) + png? ( media-libs/libpng:0= ) + tiff? ( media-libs/tiff:0= )" +DEPEND="${RDEPEND}" + +ECONF_SOURCE=${S} + +src_prepare() { + default + + # Fix libtool relinking, bug 499270. + #elibtoolize + eautoreconf +} + +multilib_src_configure() { + local args=( + --enable-libwebpmux + --enable-libwebpdemux + --enable-libwebpdecoder + $(use_enable static-libs static) + $(use_enable swap-16bit-csp) + $(use_enable experimental) + $(use_enable jpeg) + $(use_enable png) + $(use_enable opengl gl) + $(use_enable tiff) + + $(use_enable cpu_flags_x86_avx2 avx2) + $(use_enable cpu_flags_x86_sse2 sse2) + $(use_enable cpu_flags_x86_sse4_1 sse4.1) + $(use_enable neon) + + # Only used for gif2webp binary wrt #486646 + $(multilib_native_use_enable gif) + ) + + econf "${args[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + prune_libtool_files + dodoc AUTHORS ChangeLog doc/*.txt NEWS README{,.mux} +}