media-libs/zimg: bump to 2.2.1
authorAlexis Ballier <aballier@gentoo.org>
Tue, 20 Sep 2016 09:52:17 +0000 (11:52 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 20 Sep 2016 12:48:26 +0000 (14:48 +0200)
Package-Manager: portage-2.3.1

media-libs/zimg/Manifest
media-libs/zimg/zimg-2.2.1.ebuild [new file with mode: 0644]

index 98cbb0e4571aa315c09cdbc611cdd801338c0b8e..3baa0cee73a95ac0f89229ea330a88dd27a868f7 100644 (file)
@@ -2,3 +2,4 @@ DIST zimg-2.0.1.tar.gz 174318 SHA256 be2557bf944dad07edbaf37d3fd5f1911627294b8d0
 DIST zimg-2.0.2.tar.gz 174415 SHA256 b9c7bac9e6ad53dfa94215c28440167d72d41109df10278673789f8e531f2142 SHA512 f638e19d898c2c60009447d26e7098c1ec2aeac1d71234c17fa32e9d14a8506b549dae68c994b6be88938355bcf4e0f1f4efd5db7273ff15fa776260c978c123 WHIRLPOOL 859b7bcde2d6d3672312c8202df89e9c6c0aea2037e2c5179261ea39c6f321c8c872e7e1605bb225b97d3f1ef1942cba32ab96433c96816eee67f78e90b9fe5b
 DIST zimg-2.0.3.tar.gz 174444 SHA256 521b109348d4570e5b9a313b8549caaf882062740f4a20acd036d033149ae125 SHA512 2029bb55345344195364d08d97c2f830be5034926c2506caba7b05493ce4f3053b3c7086b2cf860d5839a87fac18582dde07c089ba4792a002b980fe7829c29e WHIRLPOOL 04062ce2919900c69e878afb4bc8f3a64cbf0c9f1293d0cf8c4bafc4ffe39ee5a00d1047543e8621a1a557d334ec7c160cbebe54946c604be5fac607fa2c23c3
 DIST zimg-2.0.4.tar.gz 174469 SHA256 e3b1f5b9f8ce750f96b9bc9801ff5d6aa931d35300d67711826e397df43c5245 SHA512 2184df60fc870d901e2c039c4a944edae2a9153d879da1d89fbc59ea8af6830922347accd3b1aae85d6efaebc59bdb7e2c4f3cab1e554b85cb42abb3c83235ea WHIRLPOOL 6692a06866aef78631e61edbdd0f794950ae177fe051f2c48a5a00f66879ea276238435f4d3b1dcbfad23eb19473f3fafb3d8a7b858cdb8336e1afc00d2d5bc9
+DIST zimg-2.2.1.tar.gz 175873 SHA256 0ac3004f7612f91e2eda1aaaf170c2ceef4f90f881647b8e248f36b0e6954f54 SHA512 35dca56eb27bab4623dfddcaec21111e28ea33ed0092bce2c237b455731f94c3ab003f8ac507070c5330db32e1950ef56efcc33886a48a93411b14cad208f70e WHIRLPOOL a14400baf78a98012be627309748eb56f9e843419ab7705e3b3b2cf0a16f25ee68711512015faf33c8cd4336809330f775f5cf8739f15a1cf091c0ff9afe5f71
diff --git a/media-libs/zimg/zimg-2.2.1.ebuild b/media-libs/zimg/zimg-2.2.1.ebuild
new file mode 100644 (file)
index 0000000..a8a8647
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=yes
+
+SCM=""
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+       SCM="git-r3"
+       EGIT_REPO_URI="https://github.com/sekrit-twc/zimg"
+fi
+
+inherit autotools-multilib ${SCM}
+
+DESCRIPTION="Scaling, colorspace conversion, and dithering library"
+HOMEPAGE="https://github.com/sekrit-twc/zimg"
+
+if [ "${PV#9999}" = "${PV}" ] ; then
+       SRC_URI="https://github.com/sekrit-twc/zimg/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~ppc"
+       S="${WORKDIR}/${PN}-release-${PV}/"
+fi
+
+LICENSE="WTFPL-2"
+SLOT="0"
+IUSE="static-libs cpu_flags_x86_sse"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       autotools-multilib_src_configure \
+               $(use_enable cpu_flags_x86_sse x86simd)
+}