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: Fri, 29 Sep 2017 11:33:34
Message-Id: 1506684797.1968c34dcfb4d616f33717f477c9a4bebbb83109.kensington@gentoo
1 commit: 1968c34dcfb4d616f33717f477c9a4bebbb83109
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 11:30:32 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 29 11:33:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1968c34d
7
8 x11-misc/albert: version bump 0.13.0
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 x11-misc/albert/Manifest | 2 ++
13 x11-misc/albert/albert-0.13.0.ebuild | 63 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 65 insertions(+)
15
16 diff --git a/x11-misc/albert/Manifest b/x11-misc/albert/Manifest
17 index 5cfc8f32199..2e5fd2840bc 100644
18 --- a/x11-misc/albert/Manifest
19 +++ b/x11-misc/albert/Manifest
20 @@ -1 +1,3 @@
21 DIST albert-0.12.0.tar.gz 404748 SHA256 e1ec7783b6cc22e5ed28d2f1ac6148528cb3eb734f139945b49d44e07770d9c8 SHA512 56d141a2c6b98744c0b34a7adbbca8b6af93545a7b067263acf59fc63d99ec7d9f19f2f3c73f477e5f35448ae8a563c9f132bed87be135467f8f0c1462f9b031 WHIRLPOOL 328fe6efdcce988e37bf30448ea147d0aac5a69aaee267e3453c4b0abd621a58f8b29f11727ecaf199129d9d11bc03b2fea71651c17aaf22f06e51ba582beaaa
22 +DIST albert-0.13.0-plugins.tar.gz 462749 SHA256 23ce66637609ca035809f2461f0d56c31347504e5562f0290703be4639e5f4ca SHA512 1ac4ddc3360d95a4cd60200ad4b67a8959a5d05304c3851c4cd9a194acb896f56ebe59e50373d6c2733fe10642a517d4262a85f6a1436524d917abf9c47dfd52 WHIRLPOOL 171d198f113b96d0389742b1e723909f6069b6f4b252f71534ecfdb7f3f45a3f1fe061abc483e8cc3ec466e173218bba70f47cabc6f4f9e7a0f9b4dcc8f8c71e
23 +DIST albert-0.13.0.tar.gz 80758 SHA256 d0897be526696232345174a80e770859df1c7ff42ea007c12492a9d3360627a3 SHA512 297f54bc3506a8143ed522be1044e2212e724fbc9309822860c409b3260ba8735fbb2569e539a3a57640f7c2165b09c306d8e48b5180dd74f8b7442723f6695c WHIRLPOOL ae5dc3bc929fdaebe959812c6c145266988b6f758cb5d4e657d75dd8a4613dbd106410a43e1172bdd79ed821f8204985bfbd3830dc5469770118bd1a1d0871f4
24
25 diff --git a/x11-misc/albert/albert-0.13.0.ebuild b/x11-misc/albert/albert-0.13.0.ebuild
26 new file mode 100644
27 index 00000000000..f1eab3bcefd
28 --- /dev/null
29 +++ b/x11-misc/albert/albert-0.13.0.ebuild
30 @@ -0,0 +1,63 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PLUGINS_HASH="bcca6aad60aa784cf61b8730e7865b399f163cc2"
37 +inherit cmake-utils gnome2-utils
38 +
39 +DESCRIPTION="Desktop agnostic launcher"
40 +HOMEPAGE="https://albertlauncher.github.io/"
41 +# plugins is a git submodule. the hash is taken from the submodule reference in the ${PV} tag.
42 +SRC_URI="https://github.com/albertlauncher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
43 +https://github.com/albertlauncher/plugins/archive/${PLUGINS_HASH}.tar.gz -> ${P}-plugins.tar.gz"
44 +
45 +LICENSE="GPL-3+"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="debug"
49 +
50 +RDEPEND="
51 + dev-cpp/muParser
52 + dev-qt/qtconcurrent:5
53 + dev-qt/qtcore:5
54 + dev-qt/qtdbus:5
55 + dev-qt/qtdeclarative:5
56 + dev-qt/qtgui:5
57 + dev-qt/qtnetwork:5
58 + dev-qt/qtsql:5[sqlite]
59 + dev-qt/qtsvg:5
60 + dev-qt/qtwidgets:5
61 + dev-qt/qtx11extras:5
62 + x11-libs/libX11
63 +"
64 +DEPEND="${RDEPEND}"
65 +
66 +src_prepare() {
67 + mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins/ || die
68 +
69 + sed -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" \
70 + -i plugins/*/CMakeLists.txt \
71 + -i src/lib/*/CMakeLists.txt || die
72 +
73 + # plugin needs virtualbox installed to build, untested
74 + sed -i -e "/add_subdirectory(virtualbox)/s/^/#/" plugins/CMakeLists.txt || die
75 +
76 + cmake-utils_src_prepare
77 +}
78 +
79 +src_configure() {
80 + local mycmakeargs=(
81 + -DBUILD_DEBUG_EXTENSIONS=$(usex debug)
82 + )
83 +
84 + cmake-utils_src_configure
85 +}
86 +
87 +pkg_postinst() {
88 + gnome2_icon_cache_update
89 +}
90 +
91 +pkg_postrm() {
92 + gnome2_icon_cache_update
93 +}