x11-misc/albert: treeclean

Bug: https://bugs.gentoo.org/766129
Closes: https://github.com/gentoo/gentoo/pull/35211
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2024-02-07 12:05:17 +02:00
parent 9e7339f170
commit 5435f071fc
7 changed files with 0 additions and 218 deletions

View File

@@ -1,21 +0,0 @@
Copyright 2021 Manuel Schneider
Albert license v1.0
Albert is freeware, i.e. proprietary and source available. You may redistribute compiled packages with an explicit written permission. You are permitted to use the code or prebuilt packages for your personal usage, provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Binary distribution is explicitly permitted for the following distributions/platforms:
- Arch and its derivates
- Debian and its derivates
- Fedora and its derivates
- FreeBSD and its derivates
- Gentoo and its derivates
- Mandriva and its derivates
- Slackware and its derivates
- openSUSE and its derivates

View File

@@ -135,11 +135,6 @@ dev-python/pytest-shutil
dev-python/pytest-verbose-parametrize
dev-python/pytest-virtualenv
# Viorel Munteanu <ceamac@gentoo.org> (2024-01-08)
# Masked for removal due to licensing issues and possible GPL infringement.
# Removal: 2024-02-07. Bug #766129.
x11-misc/albert
# Michał Górny <mgorny@gentoo.org> (2024-01-07)
# A Gentoo fork of an abandoned library that was historically used
# by app-office/libreoffice. No revdeps left.

View File

@@ -1,6 +0,0 @@
DIST albert-0.22.12.tar.gz 158573 BLAKE2B 7dccd361bfdf56c6c2b531b866fbc91fb3d56f7f7c152b7da1ed1d97abe8d7aca1cbe7adfc43a19332532145a5bf3b6790499ab74cb8ee3ce58b9b4025b3b246 SHA512 339e8d96901e23adbcdfbfadc97496ef37bef683ffdbe8fb66ef4b48a6f4c843df201a0016f8d409b8fe99bf50bc21e6d1ace33e3bc569ed81cddbfd81584705
DIST albert-0.22.17.tar.gz 160559 BLAKE2B d381f98e273940a3e1b954657f7dd0a80429f355b25aec2b64a81ae35b3903d5007e5d4634dbbc8eb286fff26aed5b16daaa10bde27e4abbcc1b2cbe29d82bf0 SHA512 404c593088aaae8c13b658e813ae81658174417b3260c90a42084c5c3158a5d2480699c7448cc5925fffa72fb64530d4aaad44018d21417ec1562b1c23141c12
DIST albert-plugins-02755dfa0ef3f17c28a813355eb7db60642ee797.tar.gz 360526 BLAKE2B ceedf1fb78c171a70862fb61bc57abf446fca1dfe1d3444963ecf2690d4ddf8dc22c2dd8c8e2d129e3f55105fe5a28af974e73369d387381a1f483c36a4a6890 SHA512 c4a14a3ac1089ac7b26182840ffe712bfb8c0907804374d43f32dd85effa7521aea7f8d315b71daaea2086bd862ff5dd117788ab252522e07a28d87ef965123e
DIST albert-plugins-1cff4d010745e7cb34fdab0f1459175099e3359a.tar.gz 360873 BLAKE2B d5422f0a7bcd0c5503c543704d062748f09876056e1818a7b8726bb9a4ddd42581b8136e2d02e2e8cb585625620e8186303d98055b45f2895fbfcc0a008d8869 SHA512 fa9a61dd842b1226b7e4f7741b8b53ffb7a878ea276d5655cae781f2be78a08723eb1e63c9ce1487ee5c3097906573c266fabe128604443ec7a7168f4410e2c5
DIST albert-python-extensions-2067bbb3d8fa5cfa5df2be9cada29a7e6715f07a.tar.gz 1127255 BLAKE2B 4d9562101fa6438fbc5a32273ac701403022cd509549d8b96dd430edda118e1a1a1bb77c7fe835a34b76e66b2166b7a4f0eebb8582f93a039973ab396a378d2a SHA512 2f0e727c21a7c0552ecc21b781d9f5b793202ce338069e02547664964f0c99e7f4d4ec716d1a2178c985fd00f648aa65b24775530a051b81272eb2355273ebcf
DIST albert-python-extensions-f1e3cf96b263df519b9d30984eb99b4850fc1976.tar.gz 1127881 BLAKE2B 2a3c8c2b370473623443d49cef9160218dfd789b621a64f3a8a5f6acbdcaa2415ce60d1495c59dd49d4444b665d1263a3d4b6330eaefe8fe5bcb74f911e6db38 SHA512 c13067a46a213f8ecb7ba53ce0dc82883fd9fd446bdc210996c6f9993010a74f5dc645124b7bbd650e12e9b72392123f09ba642ead441d01f54949aff9778197

View File

@@ -1,82 +0,0 @@
# Copyright 1999-2024 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="Albert-1.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug +python +python-extensions"
REQUIRED_USE="
python-extensions? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
"
RESTRICT="mirror bindist"
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
}

View File

@@ -1,72 +0,0 @@
# Copyright 1999-2024 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
DESCRIPTION="A fast and flexible keyboard launcher"
HOMEPAGE="https://albertlauncher.github.io/"
PLUGINS_HASH="02755dfa0ef3f17c28a813355eb7db60642ee797"
PYTHON_EXTENSIONS_COMMIT="2067bbb3d8fa5cfa5df2be9cada29a7e6715f07a"
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="Albert-1.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug +python +python-extensions"
RESTRICT="mirror bindist"
REQUIRED_USE="
python-extensions? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
"
RDEPEND="
app-arch/libarchive:=
dev-libs/qhotkey[qt6]
dev-qt/qt5compat:6[qml]
dev-qt/qtbase:6[concurrent,dbus,gui,network,sql,sqlite,widgets]
dev-qt/qtdeclarative:6
dev-qt/qtscxml:6[qml]
dev-qt/qtsvg:6
sci-libs/libqalculate:=
python? (
$(python_gen_cond_dep 'dev-python/urllib3[${PYTHON_USEDEP}]')
${PYTHON_DEPS}
)
"
DEPEND="${RDEPEND}
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 || die
fi
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_DEBUG=$(usex debug)
-DBUILD_PYTHON=$(usex python)
)
cmake_src_configure
}

View File

@@ -1,13 +0,0 @@
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 ######################################################################

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>gentoo@retornaz.com</email>
<name>Quentin Retornaz</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">albertlauncher/albert</remote-id>
</upstream>
<use>
<flag name="debug">Enable debugging informations</flag>
<flag name="python-extensions">Install default python extensions system-wide</flag>
</use>
</pkgmetadata>