Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/girara/
Date: Sun, 28 Jan 2018 16:19:23
Message-Id: 1517156335.42f9e5e91a5d5736cb4e0394e0f4f6d00b8e88b0.xmw@gentoo
1 commit: 42f9e5e91a5d5736cb4e0394e0f4f6d00b8e88b0
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 28 15:51:54 2018 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 28 16:18:55 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f9e5e9
7
8 dev-libs/girara: Version bump.
9
10 Package-Manager: Portage-2.3.20, Repoman-2.3.6
11
12 dev-libs/girara/Manifest | 1 +
13 dev-libs/girara/girara-0.2.8.ebuild | 68 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/dev-libs/girara/Manifest b/dev-libs/girara/Manifest
17 index 7557afc5873..1d57a50e6f3 100644
18 --- a/dev-libs/girara/Manifest
19 +++ b/dev-libs/girara/Manifest
20 @@ -1 +1,2 @@
21 DIST girara-0.2.7.tar.gz 76723 BLAKE2B 7438709e15b9272260cfa9f5419b40672a2c33b2cdeed1d915b51b4d53b301a4347cb0c051155a9a20b09b61efb0ee13df7eb0fdc3a94d1a428a7cb1e296f0d2 SHA512 4229565b8a5fad1ecbf42e4f3f852644964a7d5c90154dab9b7dcb5ccd5f25731911452472bbeb28927d1e30d4df6ed066926e11c6a73f0fd5740570493a036f
22 +DIST girara-0.2.8.tar.gz 73646 BLAKE2B 08a3fea194922cfb84793d14905f15aac6e73daf3c4304842b88e7f517046daa287deaef770176bc06358b37c52418f1e42204df302c2c7d4f82c2f4a10a44a9 SHA512 d853f8337a63ae2ed319547a2daa2ccd3ce6f31b3dbb52522705c78dbbb94da1dc1efc4ac62d3c2af94531d4dea309323b878619ea0c9778c37960791ca0cb4e
23
24 diff --git a/dev-libs/girara/girara-0.2.8.ebuild b/dev-libs/girara/girara-0.2.8.ebuild
25 new file mode 100644
26 index 00000000000..6b885251d86
27 --- /dev/null
28 +++ b/dev-libs/girara/girara-0.2.8.ebuild
29 @@ -0,0 +1,68 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=5
34 +
35 +inherit multilib toolchain-funcs virtualx
36 +[[ ${PV} == 9999* ]] && inherit git-2
37 +
38 +DESCRIPTION="UI library that focuses on simplicity and minimalism"
39 +HOMEPAGE="http://pwmt.org/projects/girara/"
40 +if ! [[ ${PV} == 9999* ]]; then
41 +SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
42 +fi
43 +EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
44 +EGIT_BRANCH="develop"
45 +
46 +LICENSE="ZLIB"
47 +SLOT="3"
48 +if ! [[ ${PV} == 9999* ]]; then
49 +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
50 +fi
51 +IUSE="libnotify static-libs test"
52 +
53 +RDEPEND=">=dev-libs/glib-2.28
54 + >=x11-libs/gtk+-3.4:3
55 + dev-libs/json-c
56 + !<${CATEGORY}/${PN}-0.1.6
57 + libnotify? ( >=x11-libs/libnotify-0.7 )"
58 +DEPEND="${RDEPEND}
59 + sys-devel/gettext
60 + virtual/pkgconfig
61 + test? ( x11-apps/xhost
62 + dev-libs/check )"
63 +
64 +pkg_setup() {
65 + mygiraraconf=(
66 + WITH_LIBNOTIFY=$(usex libnotify 1 0)
67 + PREFIX="${EPREFIX}"/usr
68 + LIBDIR='${PREFIX}'/$(get_libdir)
69 + CC="$(tc-getCC)"
70 + SFLAGS=''
71 + VERBOSE=1
72 + DESTDIR="${D}"
73 + )
74 +}
75 +
76 +src_prepare() {
77 + # Remove 'static' and 'install-static' targets
78 + if ! use static-libs; then
79 + sed -i \
80 + -e '/^${PROJECT}:/s:static::' \
81 + -e '/^install:/s:install-static::' \
82 + Makefile || die
83 + fi
84 +}
85 +
86 +src_compile() {
87 + emake "${mygiraraconf[@]}"
88 +}
89 +
90 +src_test() {
91 + virtx default
92 +}
93 +
94 +src_install() {
95 + emake "${mygiraraconf[@]}" install
96 + dodoc AUTHORS
97 +}