Autogenerated commit at 2024-04-08 10:35:53.625120

This commit is contained in:
ahriman 2024-04-08 10:35:53 +00:00
parent a1bb677ec7
commit 061a266abc
2 changed files with 58 additions and 85 deletions

View File

@ -1,36 +1,32 @@
pkgbase = albert pkgbase = albert
pkgdesc = A sophisticated standalone keyboard launcher pkgdesc = A sophisticated standalone keyboard launcher
pkgver = 0.17.6 pkgver = 0.23.0
pkgrel = 1 pkgrel = 3
url = https://github.com/albertlauncher url = https://github.com/albertlauncher
arch = x86_64 arch = x86_64
license = GPL license = custom
makedepends = cmake makedepends = cmake
makedepends = git makedepends = git
makedepends = muparser makedepends = libqalculate
makedepends = pybind11
makedepends = python makedepends = python
makedepends = qt5-declarative makedepends = qt6-tools
makedepends = virtualbox depends = hicolor-icon-theme
makedepends = virtualbox-sdk depends = qt6-5compat
depends = qt5-charts depends = qt6-declarative
depends = qt5-graphicaleffects depends = qt6-scxml
depends = qt5-quickcontrols depends = qt6-shadertools
depends = qt5-svg depends = qt6-svg
depends = qt5-x11extras optdepends = ddgr: duckduckgo search plugin
optdepends = muparser: Calculator plugin optdepends = libarchive: documentation plugin
optdepends = python: Python extension optdepends = libqalculate: calculator plugin
optdepends = virtualbox: VirtualBox plugin optdepends = python: python extension
source = mirrors/albert::git+https://github.com/albertlauncher/albert.git#tag=v0.17.6 optdepends = python-docker: docker plugin
source = mirrors/plugins::git+https://github.com/albertlauncher/plugins.git optdepends = python-googletrans: google translate plugin
source = mirrors/python::git+https://github.com/albertlauncher/python.git optdepends = python-pylatexenc: TeX plugin
source = mirrors/pybind11::git+https://github.com/pybind/pybind11.git optdepends = python-urllib3: python web plugins
source = mirrors/xkcd-plugin::git+https://github.com/bergercookie/xkcd-albert-plugin.git optdepends = python-virtualbox: virtualbox plugin
source = mirrors/jetbrains-plugin::git+https://github.com/mqus/jetbrains-albert-plugin.git source = https://github.com/albertlauncher/albert/releases/download/v0.23.0/v0.23.0.tar.gz
sha512sums = SKIP sha512sums = 8aae88d69081a1f24b52c682be9e16d8f13eac1136dfdca884ed55c7408a758fb571161c88422187070cdc05fb00a5846d6729b49a35f9c52db575a96cf87c15
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
pkgname = albert pkgname = albert

View File

@ -1,79 +1,56 @@
# Maintainer: Evgenii Alekseev
# Contributor: Felix Yan <felixonmars@archlinux.org> # Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Manuel Schneider <manuelschneid3r at googles mail> # Contributor: Manuel Schneider <manuelschneid3r at googles mail>
pkgname=albert pkgname=albert
pkgver=0.17.6 pkgver=0.23.0
pkgrel=1 pkgrel=3
pkgdesc="A sophisticated standalone keyboard launcher" pkgdesc="A sophisticated standalone keyboard launcher"
arch=('x86_64') arch=('x86_64')
url="https://github.com/albertlauncher" url="https://github.com/albertlauncher"
license=('GPL') license=('custom')
depends=('qt5-charts' 'qt5-graphicaleffects' 'qt5-quickcontrols' 'qt5-svg' 'qt5-x11extras') depends=('hicolor-icon-theme' 'qt6-5compat' 'qt6-declarative' 'qt6-scxml' 'qt6-shadertools' 'qt6-svg')
makedepends=('cmake' 'git' 'muparser' 'python' 'qt5-declarative' 'virtualbox' 'virtualbox-sdk') makedepends=('cmake' 'git' 'libqalculate' 'pybind11' 'python' 'qt6-tools')
optdepends=('muparser: Calculator plugin' optdepends=('ddgr: duckduckgo search plugin'
'python: Python extension' 'libarchive: documentation plugin'
'virtualbox: VirtualBox plugin') 'libqalculate: calculator plugin'
source=("mirrors/albert::git+https://github.com/albertlauncher/albert.git#tag=v${pkgver}" 'python: python extension'
"mirrors/plugins::git+https://github.com/albertlauncher/plugins.git" 'python-docker: docker plugin'
"mirrors/python::git+https://github.com/albertlauncher/python.git" 'python-googletrans: google translate plugin'
"mirrors/pybind11::git+https://github.com/pybind/pybind11.git" 'python-pylatexenc: TeX plugin'
"mirrors/xkcd-plugin::git+https://github.com/bergercookie/xkcd-albert-plugin.git" 'python-urllib3: python web plugins'
"mirrors/jetbrains-plugin::git+https://github.com/mqus/jetbrains-albert-plugin.git") 'python-virtualbox: virtualbox plugin')
sha512sums=('SKIP' source=("https://github.com/albertlauncher/albert/releases/download/v${pkgver}/v${pkgver}.tar.gz")
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
prepare() {
mkdir -p build
cd "$srcdir/albert"
git submodule init
git config submodule.plugins.url "$srcdir/plugins"
git -c protocol.file.allow=always submodule update plugins
cd "$srcdir/albert/plugins"
git submodule init
git config submodule.python/pybind11.url "$srcdir/pybind11"
git config submodule.python/share/modules.url "$srcdir/python"
git -c protocol.file.allow=always submodule update python/pybind11 python/share/modules
cd "$srcdir/albert/plugins/python/share/modules"
git submodule init
git config submodule.jetbrains_projects.url "$srcdir/jetbrains-plugin"
git config submodule.xkcd.url "$srcdir/xkcd-plugin"
# currently submodules are out-of-dated in upstream
# so we have to checkout them
git -c protocol.file.allow=always submodule update --remote --merge jetbrains_projects xkcd
}
build() { build() {
mkdir -p build
cd build cd build
cmake ../$pkgname \ cmake ../$pkgname \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
-Wno-dev \ -DCMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS=ON \
-DBUILD_WIDGETBOXMODEL=ON \ -DQHOTKEY_INSTALL=OFF \
-DBUILD_QMLBOXMODEL=ON \ -DBUILD_APPLICATIONS_XDG=ON \
-DBUILD_APPLICATIONS=ON \ -DBUILD_CALCULATOR_QALCULATE=ON \
-DBUILD_CALCULATOR=ON \ -DBUILD_CHROMIUM=ON \
-DBUILD_CHROMEBOOKMARKS=ON \ -DBUILD_CLIPBOARD=ON \
-DBUILD_DATETIME=ON \
-DBUILD_DICTIONARY=ON \
-DBUILD_DEBUG=OFF \ -DBUILD_DEBUG=OFF \
-DBUILD_FILES=ON \ -DBUILD_FILES=ON \
-DBUILD_FIREFOXBOOKMARKS=ON \ -DBUILD_HASH=ON \
-DBUILD_HASHGENERATOR=ON \
-DBUILD_MPRIS=ON \
-DBUILD_PYTHON=ON \ -DBUILD_PYTHON=ON \
-DBUILD_QMLBOXMODEL=ON \
-DBUILD_SNIPPETS=ON \
-DBUILD_SSH=ON \ -DBUILD_SSH=ON \
-DBUILD_SYSTEM=ON \ -DBUILD_SYSTEM=ON \
-DBUILD_TEMPLATE=OFF \ -DBUILD_TEMPLATE=OFF \
-DBUILD_TERMINAL=ON \ -DBUILD_TERMINAL=ON \
-DBUILD_VIRTUALBOX=ON -DBUILD_URLHANDLER=ON \
-DBUILD_WEBSEARCH=ON \
-DBUILD_WIDGETSBOXMODEL=ON
make make
} }
@ -82,8 +59,8 @@ build() {
package() { package() {
cd build cd build
make DESTDIR="$pkgdir/" install make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
} }
# vim:set ts=2 sw=2 et: sha512sums=('8aae88d69081a1f24b52c682be9e16d8f13eac1136dfdca884ed55c7408a758fb571161c88422187070cdc05fb00a5846d6729b49a35f9c52db575a96cf87c15')