summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/albert')
-rw-r--r--x11-misc/albert/Manifest2
-rw-r--r--x11-misc/albert/albert-0.14.3.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/x11-misc/albert/Manifest b/x11-misc/albert/Manifest
index 92b973b9a6ea..7dc9a2999670 100644
--- a/x11-misc/albert/Manifest
+++ b/x11-misc/albert/Manifest
@@ -1,3 +1,5 @@
DIST albert-0.12.0.tar.gz 404748 SHA256 e1ec7783b6cc22e5ed28d2f1ac6148528cb3eb734f139945b49d44e07770d9c8 SHA512 56d141a2c6b98744c0b34a7adbbca8b6af93545a7b067263acf59fc63d99ec7d9f19f2f3c73f477e5f35448ae8a563c9f132bed87be135467f8f0c1462f9b031 WHIRLPOOL 328fe6efdcce988e37bf30448ea147d0aac5a69aaee267e3453c4b0abd621a58f8b29f11727ecaf199129d9d11bc03b2fea71651c17aaf22f06e51ba582beaaa
DIST albert-0.14.2-plugins.tar.gz 537751 SHA256 400613894457d8514e1a492726db9966384da26ebc6190467d71c3275b1b3bf5 SHA512 5e16f64ccf474546b1f9c6d665c29aa45b7238fc2fdbd1399c17171af0db95bb205501925621a8189186bece073377bc7e127961bf051941ec388fdfb00f289c WHIRLPOOL 2a5251cd382b44e12df8cfcca615ff8d4f55f3ca7e6efd977eabc98bf5f61487e19fc718bf8f6c817298553822727e59eccd6018b99879b242803cc3369d6055
DIST albert-0.14.2.tar.gz 83202 SHA256 80cd27259c74687d5d10c94593cca99075cf05d9e396ff4b58d8a9f583ef7c77 SHA512 81f2b7e618d9d1b11e6e765b6508e2976985e56ebac6232e2e17c58ca6a38c111020b23ee9963c71d2b80be0aa138ce7403e7f9b807e10131b06ad95eab19b43 WHIRLPOOL b1f42870b0050daf901aef02ee752154ff7cb76ef633844886f7fc3cfa0fb23663c1bd5feeda646d304138d4f56b1b491770aed126693c6ee1ace8f9e17228b2
+DIST albert-0.14.3-plugins.tar.gz 537751 SHA256 400613894457d8514e1a492726db9966384da26ebc6190467d71c3275b1b3bf5 SHA512 5e16f64ccf474546b1f9c6d665c29aa45b7238fc2fdbd1399c17171af0db95bb205501925621a8189186bece073377bc7e127961bf051941ec388fdfb00f289c WHIRLPOOL 2a5251cd382b44e12df8cfcca615ff8d4f55f3ca7e6efd977eabc98bf5f61487e19fc718bf8f6c817298553822727e59eccd6018b99879b242803cc3369d6055
+DIST albert-0.14.3.tar.gz 83217 SHA256 39a121098db261d7fd2f48ec0f5b7b3bfc8a032430d796a6dedc92713aef5fa2 SHA512 f9d137477c830c92b457480acd095617b4281e4f26e4c547a0bf208459fa11964485328f3c04d92aeadb9c6ca134834b2b216935ad8fb72e6538e02ad230aeb2 WHIRLPOOL 4db02ee5cdbdc5c5bdbfdcd61b8cdd2451fce95f8dfe77693bb651a61e2dfa9022934584eda00044dcd0ec0f06fae9b5e456144dc3c8589c24eb6ef91b62acfd
diff --git a/x11-misc/albert/albert-0.14.3.ebuild b/x11-misc/albert/albert-0.14.3.ebuild
new file mode 100644
index 000000000000..065d85200cb1
--- /dev/null
+++ b/x11-misc/albert/albert-0.14.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLUGINS_HASH="16b4f9c39b91ef0435dc8a0eeb714800b7b99d4b"
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="Desktop agnostic launcher"
+HOMEPAGE="https://albertlauncher.github.io/"
+# plugins is a git submodule. the hash is taken from the submodule reference in the ${PV} tag.
+SRC_URI="https://github.com/albertlauncher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+https://github.com/albertlauncher/plugins/archive/${PLUGINS_HASH}.tar.gz -> ${P}-plugins.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug"
+
+RDEPEND="
+ dev-cpp/muParser
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins/ || die
+
+ sed -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" \
+ -i plugins/*/CMakeLists.txt \
+ -i lib/*/CMakeLists.txt || die
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DEBUG=$(usex debug)
+ -DBUILD_PYTHON=OFF #plugin directory is empty causing build failure
+ -DBUILD_VIRTUALBOX=OFF #plugin needs virtualbox installed to build, untested
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}