commit:     ce7e1fd768f07ba40048f1ef7f987e42935c6550
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 30 14:19:03 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Oct 30 14:21:47 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce7e1fd7

media-libs/zimg: Initial import. Ebuild by me.

Package-Manager: portage-2.2.23

 media-libs/zimg/Manifest          |  1 +
 media-libs/zimg/metadata.xml      |  8 ++++++++
 media-libs/zimg/zimg-2.0.1.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 media-libs/zimg/zimg-9999.ebuild  | 37 +++++++++++++++++++++++++++++++++++++
 4 files changed, 83 insertions(+)

diff --git a/media-libs/zimg/Manifest b/media-libs/zimg/Manifest
new file mode 100644
index 0000000..0bd2aca
--- /dev/null
+++ b/media-libs/zimg/Manifest
@@ -0,0 +1 @@
+DIST zimg-2.0.1.tar.gz 174318 SHA256 
be2557bf944dad07edbaf37d3fd5f1911627294b8d0992a8530048e84df082d8 SHA512 
213952b2e51fad2f92d989104be188ff6cdc71b0910a1201a5f772e45b1fa90f522a62e85d8725037560e4505f40958a5497d731f3d03f7b890bfdaa5d0ae13c
 WHIRLPOOL 
4918e22cc76a613a1641aba55f5f2d652186ef84a5719d250dfb499d0c8be8c7dd688dcf95d18e93f152479fad4a8543addf5c9a149fc030f354a090e741bcbb

diff --git a/media-libs/zimg/metadata.xml b/media-libs/zimg/metadata.xml
new file mode 100644
index 0000000..c572c7d
--- /dev/null
+++ b/media-libs/zimg/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <herd>video</herd>
+  <maintainer>
+    <email>[email protected]</email>
+  </maintainer>
+</pkgmetadata>

diff --git a/media-libs/zimg/zimg-2.0.1.ebuild 
b/media-libs/zimg/zimg-2.0.1.ebuild
new file mode 100644
index 0000000..73b4cb9
--- /dev/null
+++ b/media-libs/zimg/zimg-2.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 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"
+       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)
+}

diff --git a/media-libs/zimg/zimg-9999.ebuild b/media-libs/zimg/zimg-9999.ebuild
new file mode 100644
index 0000000..73b4cb9
--- /dev/null
+++ b/media-libs/zimg/zimg-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 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"
+       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)
+}

Reply via email to