Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/albert/
Date: Mon, 24 Sep 2018 12:17:09
Message-Id: 1537791413.e90b21f9b62c398311cad88ccbb69766ca74cbb1.kensington@gentoo
1 commit: e90b21f9b62c398311cad88ccbb69766ca74cbb1
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 24 12:16:41 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 24 12:16:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90b21f9
7
8 x11-misc/albert: version bump 0.14.22
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 x11-misc/albert/Manifest | 2 ++
13 x11-misc/albert/albert-0.14.22.ebuild | 59 +++++++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/x11-misc/albert/Manifest b/x11-misc/albert/Manifest
17 index d44f03b54f4..d8b801f8e05 100644
18 --- a/x11-misc/albert/Manifest
19 +++ b/x11-misc/albert/Manifest
20 @@ -1,2 +1,4 @@
21 DIST albert-0.14.21-plugins.tar.gz 538315 BLAKE2B 84c482bd2c9a7dfe38927da4531727a361014d0a8f6e4da923904253d5a322c37837f9eb7873621fd55581be7b0c1c7149b005f7729606444a9fc8b8e96b70fd SHA512 ae680b3ea8292c49858d029a16fb3ee6b5c33a96351afb9e962538ebb4d39fd5b862fe6da5592b03bfdc3c9622671a0d1140d6924e36ea2b67842490ffd102b0
22 DIST albert-0.14.21.tar.gz 85541 BLAKE2B c8ddf61f3f001e92b3c889c8a3b748cb45ccf06896c990f1937484917496cb78510c17b479e61af8fbfc13c2ddc84ede7f70de15e09246c7dca4876eb644b910 SHA512 dc1e1121abb3534d32775cd8c8e3b832c037e997588b7e0d7356d933f6a1d15c669c3f0362c9c2bfb37256d80cef4175c9c8d22a095b5191453a44e0f20f9cc6
23 +DIST albert-0.14.22-plugins.tar.gz 540446 BLAKE2B 22cf69698614a1b0e97fd1f5e3224b9097141c4a32c7999b9468c3c59b6af0d7a753de59a7abeb07f9ef9655abc05b8cb5e5079c9b41eb9f51dc09291b89b635 SHA512 4cce6ad717991a6a2293b491f17838a01ba51e4222deb78d5b793ab3390692131f4938027b96863c6cd61ec7a764fa6d52b3c3ef33cadd3183b2fe1498b6d344
24 +DIST albert-0.14.22.tar.gz 84925 BLAKE2B b009bd0420f2e5894e2e71e526361c6b177ceb0ed9339efd276228e3cb8aed52eba811b8f2f6ade8f39357017458f2cbfddec25f0df4de8d12397451bd98cb57 SHA512 91c131140f666dda665e07e617ce0d2af5c776233f9cf1430aedfc18299dcc22c6dcdec4d82f15fc2d81fa44679f9d3608a47128d33bfbddeb97481b430608c8
25
26 diff --git a/x11-misc/albert/albert-0.14.22.ebuild b/x11-misc/albert/albert-0.14.22.ebuild
27 new file mode 100644
28 index 00000000000..3eb4aa9e5eb
29 --- /dev/null
30 +++ b/x11-misc/albert/albert-0.14.22.ebuild
31 @@ -0,0 +1,59 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +PLUGINS_HASH="5dc169ce81002b4472cc55c0341f6ac52fe130f5"
38 +inherit cmake-utils gnome2-utils
39 +
40 +DESCRIPTION="Desktop agnostic launcher"
41 +HOMEPAGE="https://albertlauncher.github.io/"
42 +# plugins is a git submodule. the hash is taken from the submodule reference in the ${PV} tag.
43 +SRC_URI="https://github.com/albertlauncher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
44 +https://github.com/albertlauncher/plugins/archive/${PLUGINS_HASH}.tar.gz -> ${P}-plugins.tar.gz"
45 +
46 +LICENSE="GPL-3+"
47 +SLOT="0"
48 +KEYWORDS="~amd64"
49 +IUSE="debug"
50 +
51 +RDEPEND="
52 + dev-cpp/muParser
53 + dev-qt/qtconcurrent:5
54 + dev-qt/qtcore:5
55 + dev-qt/qtdbus:5
56 + dev-qt/qtdeclarative:5
57 + dev-qt/qtgui:5
58 + dev-qt/qtnetwork:5
59 + dev-qt/qtsql:5[sqlite]
60 + dev-qt/qtsvg:5
61 + dev-qt/qtwidgets:5
62 + dev-qt/qtx11extras:5
63 + x11-libs/libX11
64 + x11-libs/libXext
65 +"
66 +DEPEND="${RDEPEND}"
67 +
68 +src_prepare() {
69 + mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins/ || die
70 +
71 + cmake-utils_src_prepare
72 +}
73 +
74 +src_configure() {
75 + local mycmakeargs=(
76 + -DBUILD_DEBUG=$(usex debug)
77 + -DBUILD_PYTHON=OFF #plugin directory is empty causing build failure
78 + -DBUILD_VIRTUALBOX=OFF #plugin needs virtualbox installed to build, untested
79 + )
80 +
81 + cmake-utils_src_configure
82 +}
83 +
84 +pkg_postinst() {
85 + gnome2_icon_cache_update
86 +}
87 +
88 +pkg_postrm() {
89 + gnome2_icon_cache_update
90 +}