* [gentoo-commits] repo/gentoo:master commit in: x11-misc/albert/files/, x11-misc/albert/
@ 2018-10-11 12:13 Michael Palimaka
0 siblings, 0 replies; 3+ messages in thread
From: Michael Palimaka @ 2018-10-11 12:13 UTC (permalink / raw
To: gentoo-commits
commit: adf34e8306457defbc95512c3c42836a5a7b7f65
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 11 12:13:14 2018 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Oct 11 12:13:33 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adf34e83
x11-misc/albert: fix build with Qt 5.11
Closes: https://bugs.gentoo.org/666998
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
x11-misc/albert/albert-0.14.22.ebuild | 4 +++-
x11-misc/albert/files/albert-0.14.22-qt-5.11.patch | 26 ++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/x11-misc/albert/albert-0.14.22.ebuild b/x11-misc/albert/albert-0.14.22.ebuild
index 3eb4aa9e5eb..7c672bb96f3 100644
--- a/x11-misc/albert/albert-0.14.22.ebuild
+++ b/x11-misc/albert/albert-0.14.22.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -34,6 +34,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
src_prepare() {
mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins/ || die
diff --git a/x11-misc/albert/files/albert-0.14.22-qt-5.11.patch b/x11-misc/albert/files/albert-0.14.22-qt-5.11.patch
new file mode 100644
index 00000000000..1fa8a2fa712
--- /dev/null
+++ b/x11-misc/albert/files/albert-0.14.22-qt-5.11.patch
@@ -0,0 +1,26 @@
+Bug: https://bugs.gentoo.org/666998
+
+From 97fdca06dc7f82c92e5bb71e05f4fd7e74bbc616 Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensington@gentoo.org>
+Date: Thu, 11 Oct 2018 23:09:51 +1100
+Subject: [PATCH] Add missing include.
+
+---
+ lib/albertcore/src/core/telemetry.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/albertcore/src/core/telemetry.cpp b/lib/albertcore/src/core/telemetry.cpp
+index 1fd6b06..09b7713 100644
+--- a/lib/albertcore/src/core/telemetry.cpp
++++ b/lib/albertcore/src/core/telemetry.cpp
+@@ -2,6 +2,7 @@
+
+ #include <QApplication>
+ #include <QDateTime>
++#include <QDebug>
+ #include <QJsonDocument>
+ #include <QMessageBox>
+ #include <QNetworkAccessManager>
+--
+2.18.1
+
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/albert/files/, x11-misc/albert/
@ 2022-09-04 16:11 Joonas Niilola
0 siblings, 0 replies; 3+ messages in thread
From: Joonas Niilola @ 2022-09-04 16:11 UTC (permalink / raw
To: gentoo-commits
commit: 5697fab06d40fc2c70352708de9469de237fbed2
Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
AuthorDate: Sun Aug 21 03:09:14 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Sep 4 16:11:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5697fab0
x11-misc/albert: version bump to 0.17.3
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
Closes: https://github.com/gentoo/gentoo/pull/26937
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
x11-misc/albert/Manifest | 5 ++
x11-misc/albert/albert-0.17.3.ebuild | 94 ++++++++++++++++++++++
...find-and-use-python-libraries-and-headers.patch | 33 ++++++++
3 files changed, 132 insertions(+)
diff --git a/x11-misc/albert/Manifest b/x11-misc/albert/Manifest
index 1c8475d3735a..6fa10387b2e4 100644
--- a/x11-misc/albert/Manifest
+++ b/x11-misc/albert/Manifest
@@ -4,3 +4,8 @@ DIST albert-0.17.2-pybind11-2.6.1.tar.gz 634179 BLAKE2B 33f057e88e45985a0475783b
DIST albert-0.17.2-python-extensions.tar.gz 483617 BLAKE2B 34a1b8626c17d0297294be5cd77fe3f9b4abd985541bd995d1665e5e4a3a9dd64b393c5aba6f00347e0a4c031df2a04672246caff1038858df286c271dd33975 SHA512 13e14ce180787cde9abd0c06970109d9217f67e0b4596d73768efb1a183f6493552766e89bea6fc83703a4c0cc1b4961459cbbf5953c530d2c09d53e686ccc53
DIST albert-0.17.2-xkcd-python-extension.tar.gz 729219 BLAKE2B f3c571bf2bf97f43a5aee7d8201f16732e12b589c8f7bfd58fe1ce138d728ba7416fed7eb203813922a5be5b3066f0c1d4bff136c61d480146fcf5da87dceb35 SHA512 0cdedb94bc82c2db8f3006efe43a084c098414aa711ebd88a011db6f1ef892f8114a73761d8b2f2a1d1be4603177f957eeb41ee642e1c31460d1507bca6fd402
DIST albert-0.17.2.tar.gz 72652 BLAKE2B af5398307bf4dce928cfe92766551c761c407d9d98cc0a4b730cc8e95509d15c5b8ccfaef6e19d3dd2ded5e56403b14c3ac08fce90845abdfdb74ce7b3ff8b71 SHA512 ce2e32fa0018b210196e09cda8a3cce0a2cafecfdef5edae4610c621c39b66e3b4b039449d1900deb9689b5fa14178d079f7f0a7917cc1019d26b48a0a3ca415
+DIST albert-0.17.3.tar.gz 73536 BLAKE2B 21755a9dfa2532ad43b812bb7de70d381c8ad75b815520f51ca7b2afd98c78bb83ec55b715c7f5cfdf065b4e0db51f4e645d7c21d22a128d8337a01ec9029959 SHA512 2734eb2a05067883c9e55bd6533928256240bfc7fd10be2bf0c2fa80da60cf19f62e23843ae4a1a009c5f8d937e791bbb5af9db30f7b0741e28c34b7780e8cf9
+DIST albert-jetbrains-python-extension-b7157473cc923fe4f15023c85a032eeab3627652.tar.gz 17062 BLAKE2B fa5da8a7df5e1bb337af75a30b7fbb2584eaa49745d14e88eeea18037d70c55e9885fdbeaeab8aaaa94531e73286c69e14b4864011875d59dcb790a10fd91e88 SHA512 53b9a0d9f972dd495648dd563df8d3b1c973aa02dce99ce7bb8a9da3bcf43174094d5a03035fbaf132072d834ccf918b17076d4f522265bea77c4220140b31de
+DIST albert-plugins-ee55048e138028b4889d71e0574e85b2c4d69541.tar.gz 548351 BLAKE2B 6433ccf690cc57a649e6bfabe378c4458e005306529c6f3a143c0e7c0fb64e2c4216a9f17b7283a69684b36f676c5a9e27bcba8a76fc04f5ea4d7d4812f62d1d SHA512 85c6c6cabbdad91b926c446e44c02684cc2f619ca041faf3a23b432046db1f02413fc82dea9eba9aece560ac442a3202d2e9246b98fd36bdadf47470ff160c5a
+DIST albert-python-extensions-7f571aceaf8e60eee8bb21e1ec4efa0e95523d13.tar.gz 483617 BLAKE2B 34a1b8626c17d0297294be5cd77fe3f9b4abd985541bd995d1665e5e4a3a9dd64b393c5aba6f00347e0a4c031df2a04672246caff1038858df286c271dd33975 SHA512 13e14ce180787cde9abd0c06970109d9217f67e0b4596d73768efb1a183f6493552766e89bea6fc83703a4c0cc1b4961459cbbf5953c530d2c09d53e686ccc53
+DIST albert-xkcd-python-extension-bf88a964473d65b39c9e09eb48dabb847206f06f.tar.gz 729219 BLAKE2B f3c571bf2bf97f43a5aee7d8201f16732e12b589c8f7bfd58fe1ce138d728ba7416fed7eb203813922a5be5b3066f0c1d4bff136c61d480146fcf5da87dceb35 SHA512 0cdedb94bc82c2db8f3006efe43a084c098414aa711ebd88a011db6f1ef892f8114a73761d8b2f2a1d1be4603177f957eeb41ee642e1c31460d1507bca6fd402
diff --git a/x11-misc/albert/albert-0.17.3.ebuild b/x11-misc/albert/albert-0.17.3.ebuild
new file mode 100644
index 000000000000..eab6ec58d30e
--- /dev/null
+++ b/x11-misc/albert/albert-0.17.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake python-single-r1 xdg-utils
+
+DESCRIPTION="A fast and flexible keyboard launcher"
+HOMEPAGE="https://albertlauncher.github.io/"
+
+PLUGINS_HASH="ee55048e138028b4889d71e0574e85b2c4d69541"
+PYTHON_EXTENSIONS_COMMIT="7f571aceaf8e60eee8bb21e1ec4efa0e95523d13"
+JETBRAINS_PYTHON_EXTENSION_COMMIT="b7157473cc923fe4f15023c85a032eeab3627652"
+XKCD_PYTHON_EXTENSION_COMMIT="bf88a964473d65b39c9e09eb48dabb847206f06f"
+
+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 -> ${PN}-plugins-${PLUGINS_HASH}.tar.gz
+ python-extensions? (
+ https://github.com/albertlauncher/python/archive/${PYTHON_EXTENSIONS_COMMIT}.tar.gz -> ${PN}-python-extensions-${PYTHON_EXTENSIONS_COMMIT}.tar.gz
+ https://github.com/mqus/jetbrains-albert-plugin/archive/${JETBRAINS_PYTHON_EXTENSION_COMMIT}.tar.gz -> ${PN}-jetbrains-python-extension-${JETBRAINS_PYTHON_EXTENSION_COMMIT}.tar.gz
+ https://github.com/bergercookie/xkcd-albert-plugin/archive/${XKCD_PYTHON_EXTENSION_COMMIT}.tar.gz -> ${PN}-xkcd-python-extension-${XKCD_PYTHON_EXTENSION_COMMIT}.tar.gz
+ )
+"
+
+LICENSE="all-rights-reserved" # unclear licensing #766129
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug +python +python-extensions +statistics virtualbox"
+RESTRICT="mirror bindist"
+
+REQUIRED_USE="
+ python-extensions? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+RDEPEND="
+ dev-cpp/muParser
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgraphicaleffects: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
+ python? ( ${PYTHON_DEPS} )
+ statistics? (
+ dev-qt/qtcharts:5
+ dev-qt/qtxml:5
+ )
+ virtualbox? ( app-emulation/virtualbox[sdk,vboxwebsrv] )
+"
+DEPEND="${RDEPEND}
+ python? ( $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') )"
+
+PATCHES=("${FILESDIR}/${P}-find-and-use-python-libraries-and-headers.patch")
+
+src_prepare() {
+ mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins || die
+ if use python-extensions; then
+ mv "${WORKDIR}"/python-${PYTHON_EXTENSIONS_COMMIT}/* "${S}"/plugins/python/share/modules || die
+ mv "${WORKDIR}"/jetbrains-albert-plugin-${JETBRAINS_PYTHON_EXTENSION_COMMIT}/* "${S}"/plugins/python/share/modules/jetbrains_projects || die
+ mv "${WORKDIR}"/xkcd-albert-plugin-${XKCD_PYTHON_EXTENSION_COMMIT}/* "${S}"/plugins/python/share/modules/xkcd || die
+ fi
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DEBUG=$(usex debug)
+ -DBUILD_PYTHON=$(usex python)
+ -DBUILD_VIRTUALBOX=$(usex virtualbox)
+ -DBUILD_WITH_QTCHARTS=$(usex statistics)
+ )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
diff --git a/x11-misc/albert/files/albert-0.17.3-find-and-use-python-libraries-and-headers.patch b/x11-misc/albert/files/albert-0.17.3-find-and-use-python-libraries-and-headers.patch
new file mode 100644
index 000000000000..943e5d8acf2d
--- /dev/null
+++ b/x11-misc/albert/files/albert-0.17.3-find-and-use-python-libraries-and-headers.patch
@@ -0,0 +1,33 @@
+From aa89c47db62163eddea623beb48f7ffd8d76062c Mon Sep 17 00:00:00 2001
+From: Buchan Milne <bgmilne@gmail.com>
+Date: Thu, 14 Jun 2018 08:10:31 +0200
+Subject: [PATCH] Find and use python libraries and headers
+
+---
+ plugins/python/CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/plugins/python/CMakeLists.txt b/plugins/python/CMakeLists.txt
+index 2dd085d..0dc9b91 100644
+--- a/plugins/python/CMakeLists.txt
++++ b/plugins/python/CMakeLists.txt
+@@ -5,7 +5,8 @@ PROJECT(python)
+ FILE(GLOB_RECURSE SRC src/*)
+
+ find_package(Qt5 5.5.0 REQUIRED COMPONENTS Widgets)
+-add_subdirectory(pybind11)
++find_package(PythonLibs)
++include_directories(${PYTHON_INCLUDE_DIRS})
+
+ add_library(${PROJECT_NAME} SHARED ${SRC} ${PROJECT_NAME}.qrc metadata.json)
+
+@@ -14,8 +15,8 @@ target_include_directories(${PROJECT_NAME} PRIVATE src/)
+ target_link_libraries(${PROJECT_NAME}
+ PUBLIC
+ Qt5::Widgets
++ ${PYTHON_LIBRARIES}
+ PRIVATE
+- pybind11::embed
+ albert::lib
+ xdg
+ )
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/albert/files/, x11-misc/albert/
@ 2023-10-06 17:05 Joonas Niilola
0 siblings, 0 replies; 3+ messages in thread
From: Joonas Niilola @ 2023-10-06 17:05 UTC (permalink / raw
To: gentoo-commits
commit: d93d529b5d1005ecf4e0bdf0992c5a787b9ab38d
Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
AuthorDate: Tue Aug 15 00:26:21 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct 6 17:05:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d93d529b
x11-misc/albert: version bump to 0.22.12
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
Closes: https://github.com/gentoo/gentoo/pull/32312
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
x11-misc/albert/Manifest | 3 +
x11-misc/albert/albert-0.22.12.ebuild | 79 ++++++++++++++++++++++
...-use-system-qhotkey-libraries-and-headers.patch | 13 ++++
3 files changed, 95 insertions(+)
diff --git a/x11-misc/albert/Manifest b/x11-misc/albert/Manifest
index fdca6a3ac58e..376bcb3135b1 100644
--- a/x11-misc/albert/Manifest
+++ b/x11-misc/albert/Manifest
@@ -10,8 +10,10 @@ DIST albert-0.17.6.tar.gz 71453 BLAKE2B 7c39e1cdc0c6245269088b28b8aefab1e6c727be
DIST albert-0.20.13.tar.gz 99022 BLAKE2B 14c0dee7690442ca9f587b275c904c01db50479bdb407bdbfaa88eaa6da7a0f2b43783c424dbc775d1525f64aacaf3a81c66929a23830071649756d07b5275d4 SHA512 36bebce820ebcf75ef56e9ff5cd94e6131335681070a267c9d5bfa39fbddcad3f426580c9346a56b36a247eb57348b8c749c687037174b07290571fcc59f5ac8
DIST albert-0.20.14.tar.gz 99167 BLAKE2B e2d42c49fd76d24174d80bc2ddb1346af0390f7c45101b951387fa5a115d0eb4776cf24603d145362f66c34b8f98a2ab553339be4ef39aa48edbbbc840eeff17 SHA512 2a46c183690c187b93849ec436e95a5a2c229a8c994c0fb10adcff61415f86ac6123d7f991726945d5eb1f52cc6104e24e8e547a1cff90d26df8d1272fde0b24
DIST albert-0.21.1.tar.gz 103593 BLAKE2B 47eaed729023bdbf1021f1a14eb633bb6be1eaa1e99047a5cd2df09a665410e733935fc820a30b99fff23abab22d15339e76e1f8f27345c4f6a35fc8bfdd2284 SHA512 3031c718fd7f8a6036461d418d4d8fa5403a48788447e806b11b8c21e91adfcb58d127f4db7081ec74f3cf0bd226b0d9ca6c8ab4eb487ec2343d4474611d50e5
+DIST albert-0.22.12.tar.gz 158573 BLAKE2B 7dccd361bfdf56c6c2b531b866fbc91fb3d56f7f7c152b7da1ed1d97abe8d7aca1cbe7adfc43a19332532145a5bf3b6790499ab74cb8ee3ce58b9b4025b3b246 SHA512 339e8d96901e23adbcdfbfadc97496ef37bef683ffdbe8fb66ef4b48a6f4c843df201a0016f8d409b8fe99bf50bc21e6d1ace33e3bc569ed81cddbfd81584705
DIST albert-jetbrains-python-extension-b7157473cc923fe4f15023c85a032eeab3627652.tar.gz 17062 BLAKE2B fa5da8a7df5e1bb337af75a30b7fbb2584eaa49745d14e88eeea18037d70c55e9885fdbeaeab8aaaa94531e73286c69e14b4864011875d59dcb790a10fd91e88 SHA512 53b9a0d9f972dd495648dd563df8d3b1c973aa02dce99ce7bb8a9da3bcf43174094d5a03035fbaf132072d834ccf918b17076d4f522265bea77c4220140b31de
DIST albert-plugins-1bc69826f8eabc215cdeb1765bb4750f84133d1b.tar.gz 548693 BLAKE2B 98e2f19fa51d8fd422b4f0258ab9c08eced946239002cedbfd73fc37ff49c638ddcd4e7591ea8b27d575ac5940452f6d0bc18062d1e3b6624e366ac9a4724d21 SHA512 376e5dac161a4f69d3ab7efed9216e7ad186d92d911627b2fdff7dbf600498ee5effcd47f6393e1c8b172d590527cb24f3f507e0bf690c69f3563d79309c424f
+DIST albert-plugins-1cff4d010745e7cb34fdab0f1459175099e3359a.tar.gz 360873 BLAKE2B d5422f0a7bcd0c5503c543704d062748f09876056e1818a7b8726bb9a4ddd42581b8136e2d02e2e8cb585625620e8186303d98055b45f2895fbfcc0a008d8869 SHA512 fa9a61dd842b1226b7e4f7741b8b53ffb7a878ea276d5655cae781f2be78a08723eb1e63c9ce1487ee5c3097906573c266fabe128604443ec7a7168f4410e2c5
DIST albert-plugins-22881af568d70a3d4c16a901cd49c0e233c14a7a.tar.gz 548330 BLAKE2B 780bd1ff7d71a6f0c4c921d637d064c765d3052591af2e2c371b1763b366dd1340de2a7d5f3eb5cebecc1d611ae86bc626ee62b7545b01d7275b9e3478d05c00 SHA512 eb7e7ed9b24471422e7a7cdf319276071d6ff9613b9932d0752488c5992478dedcab96230359031f50ea1826d8b15dc0eba1edb205e1e9779690f1a973d4060d
DIST albert-plugins-41bd173e688f8be6d6aab2f8574fab975dcb04b8.tar.gz 439780 BLAKE2B 0865c196ecffb0532593634e81ad9c09e432d53f37f2c6a2b67a8d3d0070f16446a19535c51e69973d440d876b414ce6b69e7c329d3886fe382e15f9d2096d44 SHA512 78a8c76e80a515e9deb7aa8c8e0d09838f2d0dfe2616a22e63b9db3795e672dd80841fb6ec381debcdc99ed18c2fbdab48330988950430fa14c6e69aa951b139
DIST albert-plugins-6da6e51a1173e7b8eaa1de26475401bf7984ecdd.tar.gz 796106 BLAKE2B 0556baa4f7e82deeed2ae522e6778741ffc5f352495bbb15588db77001541be401477503d9fd4b03f92abd814ce37fd8024b996d32c7a2b05abbdc70a86259e4 SHA512 02e06b6291eee2b33dc65445eca75944a73b60590130649f2dc620382039021616896f2474555defa49cc78aa602b45651eb6fec902151229a0d9dfebcb558c0
@@ -21,4 +23,5 @@ DIST albert-python-extensions-29582644bfc992f66d306ff91057b7fdb9d0682e.tar.gz 12
DIST albert-python-extensions-7f571aceaf8e60eee8bb21e1ec4efa0e95523d13.tar.gz 483617 BLAKE2B 34a1b8626c17d0297294be5cd77fe3f9b4abd985541bd995d1665e5e4a3a9dd64b393c5aba6f00347e0a4c031df2a04672246caff1038858df286c271dd33975 SHA512 13e14ce180787cde9abd0c06970109d9217f67e0b4596d73768efb1a183f6493552766e89bea6fc83703a4c0cc1b4961459cbbf5953c530d2c09d53e686ccc53
DIST albert-python-extensions-874af6469607b5cafd45e424d2e27d0efd66231b.tar.gz 1295866 BLAKE2B 65d4f4dc1ace46e6d6a766d45280c3e44e06c28e3455d00c07f76c9043bc39c5dea12015f67ae9eee3a38a98dfc5ffd417810fef5c418a46c5d9e38e289e93de SHA512 db893476997bc0830ee5d654017a0333c13d7db1460d8826abce331200cc7108aa302b2d8277ddbfd8a1a1bbc0008e92e45ecaf67145aca6455e4642255f3e04
DIST albert-python-extensions-962a832cc35377d5c719147800368a3e83703646.tar.gz 1234952 BLAKE2B bb1329344c96e9a0bcbb89884d89b103ca620fc4baad59b4376017f535888a3f1cfdf3c8fd2979b455a701d9b88684951cfb0209169ffa73590a191a23c2ae2d SHA512 4a609dde39bdad9542b1af52684af796f55519bf3c5e4fcec428db0e2962389fbb9f7092352dcf778b56112bc475d38650834f61e299dfa120dd7b95241d295d
+DIST albert-python-extensions-f1e3cf96b263df519b9d30984eb99b4850fc1976.tar.gz 1127881 BLAKE2B 2a3c8c2b370473623443d49cef9160218dfd789b621a64f3a8a5f6acbdcaa2415ce60d1495c59dd49d4444b665d1263a3d4b6330eaefe8fe5bcb74f911e6db38 SHA512 c13067a46a213f8ecb7ba53ce0dc82883fd9fd446bdc210996c6f9993010a74f5dc645124b7bbd650e12e9b72392123f09ba642ead441d01f54949aff9778197
DIST albert-xkcd-python-extension-bf88a964473d65b39c9e09eb48dabb847206f06f.tar.gz 729219 BLAKE2B f3c571bf2bf97f43a5aee7d8201f16732e12b589c8f7bfd58fe1ce138d728ba7416fed7eb203813922a5be5b3066f0c1d4bff136c61d480146fcf5da87dceb35 SHA512 0cdedb94bc82c2db8f3006efe43a084c098414aa711ebd88a011db6f1ef892f8114a73761d8b2f2a1d1be4603177f957eeb41ee642e1c31460d1507bca6fd402
diff --git a/x11-misc/albert/albert-0.22.12.ebuild b/x11-misc/albert/albert-0.22.12.ebuild
new file mode 100644
index 000000000000..ca4351b5573d
--- /dev/null
+++ b/x11-misc/albert/albert-0.22.12.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10,11,12} )
+
+inherit cmake python-single-r1 xdg-utils
+
+DESCRIPTION="A fast and flexible keyboard launcher"
+HOMEPAGE="https://albertlauncher.github.io/"
+
+PLUGINS_HASH="1cff4d010745e7cb34fdab0f1459175099e3359a"
+PYTHON_EXTENSIONS_COMMIT="f1e3cf96b263df519b9d30984eb99b4850fc1976"
+
+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 -> ${PN}-plugins-${PLUGINS_HASH}.tar.gz
+ python-extensions? ( https://github.com/albertlauncher/python/archive/${PYTHON_EXTENSIONS_COMMIT}.tar.gz -> ${PN}-python-extensions-${PYTHON_EXTENSIONS_COMMIT}.tar.gz )
+"
+
+LICENSE="all-rights-reserved" # unclear licensing #766129
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug +python +python-extensions"
+
+REQUIRED_USE="
+ python-extensions? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="mirror"
+
+RDEPEND="
+ app-arch/libarchive:=
+ dev-cpp/muParser
+ dev-libs/qhotkey[qt6]
+ dev-qt/qt5compat:6
+ dev-qt/qtbase:6[concurrent,dbus,gui,network,sql,sqlite,widgets]
+ dev-qt/qtscxml:6
+ dev-qt/qtsvg:6
+ sci-libs/libqalculate:=
+ python? (
+ $(python_gen_cond_dep 'dev-python/urllib3[${PYTHON_USEDEP}]')
+ ${PYTHON_DEPS}
+ )
+"
+DEPEND="${RDEPEND}
+ dev-qt/qtdeclarative:6
+ python? ( $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') )
+ x11-base/xorg-proto"
+
+PATCHES=("${FILESDIR}/${PN}-0.22.4-use-system-qhotkey-libraries-and-headers.patch")
+
+src_prepare() {
+ mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins || die
+ if use python-extensions; then
+ mv "${WORKDIR}"/python-${PYTHON_EXTENSIONS_COMMIT}/* "${S}"/plugins/python/plugins
+ fi
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DEBUG=$(usex debug)
+ -DBUILD_PYTHON=$(usex python)
+ )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
diff --git a/x11-misc/albert/files/albert-0.22.4-use-system-qhotkey-libraries-and-headers.patch b/x11-misc/albert/files/albert-0.22.4-use-system-qhotkey-libraries-and-headers.patch
new file mode 100644
index 000000000000..d50cb0f156a2
--- /dev/null
+++ b/x11-misc/albert/files/albert-0.22.4-use-system-qhotkey-libraries-and-headers.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 35ed2cd..f550e04 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -47,8 +47,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+ set(QT_DEFAULT_MAJOR_VERSION 6)
+ set(BUILD_SHARED_LIBS FALSE)
+ set(QHOTKEY_INSTALL OFF CACHE BOOL "" FORCE)
+-add_subdirectory(lib/QHotkey EXCLUDE_FROM_ALL)
+-target_compile_options(qhotkey PRIVATE -Wno-unused-parameter -Wno-shadow)
+
+ ### Lib ######################################################################
+
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-06 17:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-04 16:11 [gentoo-commits] repo/gentoo:master commit in: x11-misc/albert/files/, x11-misc/albert/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2023-10-06 17:05 Joonas Niilola
2018-10-11 12:13 Michael Palimaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox