Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/pixman/
Date: Sun, 07 Apr 2019 20:59:41
Message-Id: 1554670762.5c6e6be4932527d5f5bc3f52ef8b13174d88d067.mattst88@gentoo
1 commit: 5c6e6be4932527d5f5bc3f52ef8b13174d88d067
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 7 20:56:45 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 7 20:59:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c6e6be4
7
8 x11-libs/pixman: Version bump to 0.38.2
9
10 Closes: https://bugs.gentoo.org/680802
11 Closes: https://bugs.gentoo.org/681178
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 x11-libs/pixman/Manifest | 1 +
15 x11-libs/pixman/pixman-0.38.2.ebuild | 59 ++++++++++++++++++++++++++++++++++++
16 2 files changed, 60 insertions(+)
17
18 diff --git a/x11-libs/pixman/Manifest b/x11-libs/pixman/Manifest
19 index 776df0c874c..82ca1b7841b 100644
20 --- a/x11-libs/pixman/Manifest
21 +++ b/x11-libs/pixman/Manifest
22 @@ -1,2 +1,3 @@
23 DIST pixman-0.36.0.tar.bz2 739957 BLAKE2B 05834dbed8a5bfed607a20f78523e7441f5b78a7a01c7d302c48b8f15dcda37111a8a99e7119b84a0a8a26b55fa93db1c2af316359095cb7db0d8a9e263a1eb7 SHA512 ed99c85a8ce11f52659da61bff599c0405ae0069c30434bdef7238bc9f18e83e6d534cddf38c14d753943edbaeba580c5005ad7575f27e469ca7be7878678d21
24 DIST pixman-0.38.0.tar.gz 891291 BLAKE2B 8d057fba6d85ab4d2bb83903e8f1a6ac05659be4d0645782f5cf4c190e7b27fa0e7d6b2718ab111bd8ded9b617c7aad42dbfdf2169d49816b7eaf6e6673c6a5f SHA512 1b0205dbe9d9185c68813ce577a889f3c83e83fbd9955c3a72d411c3b476e6be93fc246b5b6ef4ee17e2bb8eb6fb5559e01dff7feb6a6c4c6314f980e960d690
25 +DIST pixman-0.38.2.tar.gz 897487 BLAKE2B 0e1dbd24d5510687ac17f15c32fb271c33e9c3f652e689d9ba2a01c9c806696e2020a94fa4fc0892f5b44e2f4b8cd1539142ce443b43d19f9155415033ce75ea SHA512 e809b7bcc81f53067dc70fceb1b8809d3b6b7166b9689ed4e9455f1eb94d61d90cc236aac19e330851f52c074e26a74a5c402a3bbcdef41fd3b6aebc57150539
26
27 diff --git a/x11-libs/pixman/pixman-0.38.2.ebuild b/x11-libs/pixman/pixman-0.38.2.ebuild
28 new file mode 100644
29 index 00000000000..58862e4166b
30 --- /dev/null
31 +++ b/x11-libs/pixman/pixman-0.38.2.ebuild
32 @@ -0,0 +1,59 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +EGIT_REPO_URI="https://gitlab.freedesktop.org/pixman/pixman.git"
39 +
40 +if [[ ${PV} = 9999* ]]; then
41 + GIT_ECLASS="git-r3"
42 +fi
43 +
44 +inherit ${GIT_ECLASS} meson multilib-minimal
45 +
46 +DESCRIPTION="Low-level pixel manipulation routines"
47 +HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/"
48 +if [[ ${PV} = 9999* ]]; then
49 + SRC_URI=""
50 +else
51 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
52 + SRC_URI="https://www.x.org/releases/individual/lib/${P}.tar.gz"
53 +fi
54 +
55 +LICENSE="MIT"
56 +SLOT="0"
57 +IUSE="altivec cpu_flags_arm_iwmmxt cpu_flags_arm_iwmmxt2 loongson2f cpu_flags_x86_mmxext neon cpu_flags_x86_sse2 cpu_flags_x86_ssse3"
58 +
59 +src_unpack() {
60 + default
61 + [[ $PV = 9999* ]] && git-r3_src_unpack
62 +}
63 +
64 +multilib_src_configure() {
65 + local emesonargs=(
66 + $(meson_feature cpu_flags_arm_iwmmxt iwmmxt)
67 + $(meson_use cpu_flags_arm_iwmmxt2 iwmmxt2)
68 + $(meson_feature cpu_flags_x86_mmxext mmx)
69 + $(meson_feature cpu_flags_x86_sse2 sse2)
70 + $(meson_feature cpu_flags_x86_ssse3 ssse3)
71 + $(meson_feature altivec vmx)
72 + $(meson_feature neon neon)
73 + $(meson_feature loongson2f loongson-mmi)
74 + -Dgtk=disabled
75 + -Dlibpng=disabled
76 + -Dopenmp=auto # only used in unit tests
77 + )
78 + meson_src_configure
79 +}
80 +
81 +multilib_src_compile() {
82 + meson_src_compile
83 +}
84 +
85 +multilib_src_test() {
86 + meson test -v -C "${BUILD_DIR}" -t 100
87 +}
88 +
89 +multilib_src_install() {
90 + meson_src_install
91 +}