Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libgxps/
Date: Wed, 16 Jan 2019 04:00:41
Message-Id: 1547611222.40c31717808ebdf9a44f147fca9e572413b27455.leio@gentoo
1 commit: 40c31717808ebdf9a44f147fca9e572413b27455
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 16 03:59:59 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 16 04:00:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c31717
7
8 app-text/libgxps: bump to 0.3.1
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 app-text/libgxps/Manifest | 1 +
14 app-text/libgxps/libgxps-0.3.1.ebuild | 50 +++++++++++++++++++++++++++++++++++
15 2 files changed, 51 insertions(+)
16
17 diff --git a/app-text/libgxps/Manifest b/app-text/libgxps/Manifest
18 index 01f2d697f2d..500f78e73ec 100644
19 --- a/app-text/libgxps/Manifest
20 +++ b/app-text/libgxps/Manifest
21 @@ -1 +1,2 @@
22 DIST libgxps-0.3.0.tar.xz 93000 BLAKE2B 8e04ae281aa8ee637d597265992a5bf6df3592b7d251d657dae3833c8cca848f7142f926964d96586f50ce9987dee94841be15554a733816a3b4f0acef282f12 SHA512 283ce3041f0238ef1dcae30ce2adbc3f843677e00ae22f20ed3459828f3edaab6d05d87c20dddb613925ab248ed0b29855a94198b982606c3dcb2e59f800b013
23 +DIST libgxps-0.3.1.tar.xz 93132 BLAKE2B 63af298ef1dc345ef7c40fae4006ba73aa7529381cc6cbc8cf86f4d5b69c8c5617b902bef833ed7d3fa968d927b441e888889179f598b06e2ca13084d3b199af SHA512 80401bd3c9753c74e425c5c08510cac314ad255ebeda9676bd5396a217770c7f5d8733c64b649cc6fdaa43423bb1a4ad21e1e0e3f7903f486e75a1d678850239
24
25 diff --git a/app-text/libgxps/libgxps-0.3.1.ebuild b/app-text/libgxps/libgxps-0.3.1.ebuild
26 new file mode 100644
27 index 00000000000..bd2e88b54d1
28 --- /dev/null
29 +++ b/app-text/libgxps/libgxps-0.3.1.ebuild
30 @@ -0,0 +1,50 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit gnome.org meson xdg-utils
37 +
38 +DESCRIPTION="Library for handling and rendering XPS documents"
39 +HOMEPAGE="https://wiki.gnome.org/Projects/libgxps"
40 +
41 +LICENSE="LGPL-2.1"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
44 +IUSE="gtk-doc +introspection jpeg lcms tiff"
45 +
46 +RDEPEND="
47 + >=app-arch/libarchive-2.8
48 + >=dev-libs/glib-2.36:2
49 + media-libs/freetype:2
50 + media-libs/libpng:0
51 + >=x11-libs/cairo-1.10[svg]
52 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
53 + jpeg? ( virtual/jpeg:0 )
54 + lcms? ( media-libs/lcms:2 )
55 + tiff? ( media-libs/tiff:0[zlib] )
56 +"
57 +DEPEND="${RDEPEND}
58 + app-text/docbook-xsl-stylesheets
59 + dev-libs/libxslt
60 + gtk-doc? ( dev-util/gtk-doc )
61 + virtual/pkgconfig
62 +"
63 +
64 +# There is no automatic test suite, only an interactive test application
65 +RESTRICT="test"
66 +
67 +src_configure() {
68 + local emesonargs=(
69 + -Denable-test=false
70 + $(meson_use gtk-doc enable-gtk-doc)
71 + -Denable-man=true
72 + -Ddisable-introspection=$(usex introspection false true)
73 + $(meson_use lcms with-liblcms2)
74 + $(meson_use jpeg with-libjpeg)
75 + $(meson_use tiff with-libtiff)
76 + )
77 +
78 + xdg_environment_reset
79 + meson_src_configure
80 +}