Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/zimg/
Date: Fri, 30 Oct 2015 14:22:05
Message-Id: 1446214907.ce7e1fd768f07ba40048f1ef7f987e42935c6550.aballier@gentoo
1 commit: ce7e1fd768f07ba40048f1ef7f987e42935c6550
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 30 14:19:03 2015 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 30 14:21:47 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce7e1fd7
7
8 media-libs/zimg: Initial import. Ebuild by me.
9
10 Package-Manager: portage-2.2.23
11
12 media-libs/zimg/Manifest | 1 +
13 media-libs/zimg/metadata.xml | 8 ++++++++
14 media-libs/zimg/zimg-2.0.1.ebuild | 37 +++++++++++++++++++++++++++++++++++++
15 media-libs/zimg/zimg-9999.ebuild | 37 +++++++++++++++++++++++++++++++++++++
16 4 files changed, 83 insertions(+)
17
18 diff --git a/media-libs/zimg/Manifest b/media-libs/zimg/Manifest
19 new file mode 100644
20 index 0000000..0bd2aca
21 --- /dev/null
22 +++ b/media-libs/zimg/Manifest
23 @@ -0,0 +1 @@
24 +DIST zimg-2.0.1.tar.gz 174318 SHA256 be2557bf944dad07edbaf37d3fd5f1911627294b8d0992a8530048e84df082d8 SHA512 213952b2e51fad2f92d989104be188ff6cdc71b0910a1201a5f772e45b1fa90f522a62e85d8725037560e4505f40958a5497d731f3d03f7b890bfdaa5d0ae13c WHIRLPOOL 4918e22cc76a613a1641aba55f5f2d652186ef84a5719d250dfb499d0c8be8c7dd688dcf95d18e93f152479fad4a8543addf5c9a149fc030f354a090e741bcbb
25
26 diff --git a/media-libs/zimg/metadata.xml b/media-libs/zimg/metadata.xml
27 new file mode 100644
28 index 0000000..c572c7d
29 --- /dev/null
30 +++ b/media-libs/zimg/metadata.xml
31 @@ -0,0 +1,8 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <herd>video</herd>
36 + <maintainer>
37 + <email>media-video@g.o</email>
38 + </maintainer>
39 +</pkgmetadata>
40
41 diff --git a/media-libs/zimg/zimg-2.0.1.ebuild b/media-libs/zimg/zimg-2.0.1.ebuild
42 new file mode 100644
43 index 0000000..73b4cb9
44 --- /dev/null
45 +++ b/media-libs/zimg/zimg-2.0.1.ebuild
46 @@ -0,0 +1,37 @@
47 +# Copyright 1999-2015 Gentoo Foundation
48 +# Distributed under the terms of the GNU General Public License v2
49 +# $Id$
50 +
51 +EAPI=5
52 +
53 +AUTOTOOLS_AUTORECONF=yes
54 +
55 +SCM=""
56 +
57 +if [ "${PV#9999}" != "${PV}" ] ; then
58 + SCM="git-r3"
59 + EGIT_REPO_URI="https://github.com/sekrit-twc/zimg"
60 +fi
61 +
62 +inherit autotools-multilib ${SCM}
63 +
64 +DESCRIPTION="Scaling, colorspace conversion, and dithering library"
65 +HOMEPAGE="https://github.com/sekrit-twc/zimg"
66 +
67 +if [ "${PV#9999}" = "${PV}" ] ; then
68 + SRC_URI="https://github.com/sekrit-twc/zimg/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
69 + KEYWORDS="~amd64"
70 + S="${WORKDIR}/${PN}-release-${PV}/"
71 +fi
72 +
73 +LICENSE="WTFPL-2"
74 +SLOT="0"
75 +IUSE="static-libs cpu_flags_x86_sse"
76 +
77 +DEPEND=""
78 +RDEPEND="${DEPEND}"
79 +
80 +src_configure() {
81 + autotools-multilib_src_configure \
82 + $(use_enable cpu_flags_x86_sse x86simd)
83 +}
84
85 diff --git a/media-libs/zimg/zimg-9999.ebuild b/media-libs/zimg/zimg-9999.ebuild
86 new file mode 100644
87 index 0000000..73b4cb9
88 --- /dev/null
89 +++ b/media-libs/zimg/zimg-9999.ebuild
90 @@ -0,0 +1,37 @@
91 +# Copyright 1999-2015 Gentoo Foundation
92 +# Distributed under the terms of the GNU General Public License v2
93 +# $Id$
94 +
95 +EAPI=5
96 +
97 +AUTOTOOLS_AUTORECONF=yes
98 +
99 +SCM=""
100 +
101 +if [ "${PV#9999}" != "${PV}" ] ; then
102 + SCM="git-r3"
103 + EGIT_REPO_URI="https://github.com/sekrit-twc/zimg"
104 +fi
105 +
106 +inherit autotools-multilib ${SCM}
107 +
108 +DESCRIPTION="Scaling, colorspace conversion, and dithering library"
109 +HOMEPAGE="https://github.com/sekrit-twc/zimg"
110 +
111 +if [ "${PV#9999}" = "${PV}" ] ; then
112 + SRC_URI="https://github.com/sekrit-twc/zimg/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
113 + KEYWORDS="~amd64"
114 + S="${WORKDIR}/${PN}-release-${PV}/"
115 +fi
116 +
117 +LICENSE="WTFPL-2"
118 +SLOT="0"
119 +IUSE="static-libs cpu_flags_x86_sse"
120 +
121 +DEPEND=""
122 +RDEPEND="${DEPEND}"
123 +
124 +src_configure() {
125 + autotools-multilib_src_configure \
126 + $(use_enable cpu_flags_x86_sse x86simd)
127 +}