diff options
author | Quentin Retornaz <gentoo@retornaz.com> | 2023-08-15 02:26:21 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-10-06 20:05:53 +0300 |
commit | d93d529b5d1005ecf4e0bdf0992c5a787b9ab38d (patch) | |
tree | 9f223b74026682d67d1d482398c80c6be6d61eef /x11-misc | |
parent | dev-python/google-auth: Stabilize 2.23.2 ALLARCHES, #915313 (diff) | |
download | gentoo-d93d529b5d1005ecf4e0bdf0992c5a787b9ab38d.tar.gz gentoo-d93d529b5d1005ecf4e0bdf0992c5a787b9ab38d.tar.bz2 gentoo-d93d529b5d1005ecf4e0bdf0992c5a787b9ab38d.zip |
x11-misc/albert: version bump to 0.22.12
Signed-off-by: Quentin Retornaz <gentoo@retornaz.com>
Closes: https://github.com/gentoo/gentoo/pull/32312
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/albert/Manifest | 3 | ||||
-rw-r--r-- | x11-misc/albert/albert-0.22.12.ebuild | 79 | ||||
-rw-r--r-- | x11-misc/albert/files/albert-0.22.4-use-system-qhotkey-libraries-and-headers.patch | 13 |
3 files changed, 95 insertions, 0 deletions
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 ###################################################################### + |