x11-misc/albert: version bump 0.14.7
authorMichael Palimaka <kensington@gentoo.org>
Sat, 4 Nov 2017 05:34:01 +0000 (16:34 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 4 Nov 2017 05:35:41 +0000 (16:35 +1100)
Package-Manager: Portage-2.3.8, Repoman-2.3.4

x11-misc/albert/Manifest
x11-misc/albert/albert-0.14.7.ebuild [new file with mode: 0644]

index 879e47d4429f774ce04e37c1b1114d14c9cf8da4..fd12b9992250ad59d4a7fd094af152dc3f370626 100644 (file)
@@ -7,3 +7,5 @@ DIST albert-0.14.4-plugins.tar.gz 537929 SHA256 1b19f231738a84480abef1f80cecf910
 DIST albert-0.14.4.tar.gz 83284 SHA256 fc89736a1ac34bb8a6e0db75dc9186fc266bdb63ce0cdbd699f94b373ea58d3e SHA512 c30430ac7255830781e27dbdf24a0aed90e509454feaff3ff1c95839cf05b3de641021a255087ac66bda051f34243e4a79eb6e08d8f6027ee1b8bc6564ee9d93 WHIRLPOOL 5934bcf0a87aa8232f8b10b2c74320fa0d11837d75b2472dc921924b7956c645d4a1bd8a0fa5c7b142c3e73f2944ccb74b8ec05c55564c3240f1a9c800798b77
 DIST albert-0.14.6-plugins.tar.gz 538025 SHA256 b00acc7b8b9dab47fad9dc24d768eec91d406aeba86c72516833ee1721bf92d3 SHA512 42f96495876611fedf60bb6a2793bda7f48ea2b4cf67c23f864d74ce201d0af861a93bd904c58699b5b7c23f0121f9e6009953530750cc002133d148f3a32f79 WHIRLPOOL 07fc95c61668ab2aab5e294cb2d14b6f0654960a9c141350ff15375848f5886327e24e3005599f0c51ede06aec8a7bff11093a409b9edd80dabb68097dce4335
 DIST albert-0.14.6.tar.gz 83749 SHA256 1160699c2dcd3648f265e313aec063e900597e3c4c1b748328750c2b76f0aa2a SHA512 ea0504bee62e022ad90f25b3752f3668e31463741ceb0392ad70c9ae586986cc55a99d92cd4b8e252acb4aea3324798a91a185fbc9a47577b703d98e891b195f WHIRLPOOL 7dadb3ec1c6b1c005bd1aea97d40b4cb2e1211ccd73266c4d05d526ec57637fcf230bbf1cd56f8887fb9c1e15c0cfb8c327250296600ddc4e61d8bbf2ad101c8
+DIST albert-0.14.7-plugins.tar.gz 538087 SHA256 64513ca6bbbc6bfa005e7dfe3c1af3266eff1981afc9e312318b658b9d0e15d3 SHA512 20150c12f8b9f12a260702a812ba2641a1121c12167b3a0035d52538a463e86ccc4188c714bb452d2d864d048a288900e3e868c585f5309fa08b3dc6cb53e928 WHIRLPOOL 4f348f9eb7d025eb6291b89b025d638186ac37845eb7adf808075b7dde6eb803689af54cdb77d1322bee2cf15873fc4b3f791b90113a03249ea1b80075f53a33
+DIST albert-0.14.7.tar.gz 84556 SHA256 5097de64e052a22cc5258a3e937508c49f8b7bc541d4ca1b62e8fcb547991a87 SHA512 10d33a21faf37c0ce9cc5bbdbf5a607c187eab68b2e9bcf6feff8d8811fe4e6163ac84504548ac249cdbc7c7f6b804a2756583b7a5d70b826b92e1871b474095 WHIRLPOOL 9789174477d61c2db45665b56d1a50adf5eae292f4770ffda9af6419661f09e24d9c9bb6ea287c7fd23a1e94c59c766504bd33c0e2a8bbbf5c766d87554d898b
diff --git a/x11-misc/albert/albert-0.14.7.ebuild b/x11-misc/albert/albert-0.14.7.ebuild
new file mode 100644 (file)
index 0000000..638f652
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLUGINS_HASH="c871f186631f96a87e851a0dd7a91230e3527fff"
+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
+
+       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
+}