update
This commit is contained in:
2
builder/.gitignore
vendored
Normal file
2
builder/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
PKGBUILD
|
||||||
|
.SRCINFO
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
# Maintainer: sudacode <suda@sudacode.com>
|
|
||||||
pkgname=python-manga-ocr
|
|
||||||
_pkgname=manga_ocr
|
|
||||||
pkgver=0.1.14
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="A tool for extracting text from manga images using OCR"
|
|
||||||
arch=('x86_64')
|
|
||||||
url="https://github.com/kha-white/manga-ocr"
|
|
||||||
license=('Apache-2.0')
|
|
||||||
makedepends=('python-pip' 'python-installer' 'python-wheel')
|
|
||||||
depends=(
|
|
||||||
'python>=3.6'
|
|
||||||
'python-fire'
|
|
||||||
'python-fugashi'
|
|
||||||
'python-jaconv'
|
|
||||||
'python-loguru'
|
|
||||||
'python-numpy'
|
|
||||||
'python-pillow>=10.0.0'
|
|
||||||
'python-pyperclip'
|
|
||||||
'python-pytorch>=1.0'
|
|
||||||
'python-transformers>=4.25.0'
|
|
||||||
'python-unidic-lite'
|
|
||||||
)
|
|
||||||
optdepends=(
|
|
||||||
'python-pytorch: GPU acceleration'
|
|
||||||
'wl-clipboard: Read images from the clipboard in the command-line mode on Wayland'
|
|
||||||
'xclip: Read images from the clipbaord in the command-line mode on X11'
|
|
||||||
)
|
|
||||||
checkdepends=('python-pytest')
|
|
||||||
|
|
||||||
conflicts=('manga-ocr-git')
|
|
||||||
|
|
||||||
source=(
|
|
||||||
"https://github.com/kha-white/manga_ocr/archive/refs/tags/v${pkgver}.tar.gz"
|
|
||||||
"skip-example-run-on-boot.patch"
|
|
||||||
)
|
|
||||||
sha256sums=('f7d73bbf482cbefb6f91ff3c628a3131d6c7dc863612539fe5d03a4b7d640643'
|
|
||||||
'd287a2fbfa71d9753cdfd921ce67bd7bf1fcf1e36dd08fc00c8d142305d4da88')
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "${_pkgname//_/-}-$pkgver"
|
|
||||||
patch --forward --strip=0 --input=../skip-example-run-on-boot.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "${_pkgname//_/-}-$pkgver"
|
|
||||||
python -m pip wheel . --no-deps --wheel-dir dist
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
cd "${_pkgname//_/-}-$pkgver"
|
|
||||||
pytest -o addopts=""
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "${_pkgname//_/-}-$pkgver"
|
|
||||||
python -m pip install --no-deps --root="$pkgdir" --prefix=/usr --ignore-installed .
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,9 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
pkgbuilder:
|
pkgbuilder:
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
container_name: pkgbuilder
|
container_name: pkgbuilder
|
||||||
network_mode: host
|
network_mode: host
|
||||||
tty: true
|
tty: true
|
||||||
|
|||||||
47
waybar-cava-git/.SRCINFO
Normal file
47
waybar-cava-git/.SRCINFO
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
pkgbase = waybar-git
|
||||||
|
pkgdesc = Highly customizable Wayland bar for Sway and Wlroots based compositors (GIT)
|
||||||
|
pkgver = r2429.09142fa3
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/Alexays/Waybar/
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
makedepends = git
|
||||||
|
makedepends = cmake
|
||||||
|
makedepends = catch2
|
||||||
|
makedepends = meson
|
||||||
|
makedepends = scdoc
|
||||||
|
makedepends = wayland-protocols
|
||||||
|
makedepends = python-setuptools
|
||||||
|
makedepends = glib2-devel
|
||||||
|
depends = gtkmm3
|
||||||
|
depends = libjsoncpp.so
|
||||||
|
depends = libsigc++
|
||||||
|
depends = fmt
|
||||||
|
depends = jack
|
||||||
|
depends = libjack.so
|
||||||
|
depends = wayland
|
||||||
|
depends = libdate-tz.so
|
||||||
|
depends = libspdlog.so
|
||||||
|
depends = gtk-layer-shell
|
||||||
|
depends = libupower-glib.so
|
||||||
|
depends = upower
|
||||||
|
depends = libevdev
|
||||||
|
depends = libinput
|
||||||
|
depends = libpulse
|
||||||
|
depends = libnl
|
||||||
|
depends = libappindicator-gtk3
|
||||||
|
depends = libdbusmenu-gtk3
|
||||||
|
depends = libmpdclient
|
||||||
|
depends = libsndio.so
|
||||||
|
depends = libxkbcommon
|
||||||
|
depends = libwireplumber
|
||||||
|
depends = playerctl
|
||||||
|
optdepends = otf-font-awesome: Icons in the default configuration
|
||||||
|
provides = waybar
|
||||||
|
conflicts = waybar
|
||||||
|
backup = etc/xdg/waybar/config
|
||||||
|
backup = etc/xdg/waybar/style.css
|
||||||
|
source = waybar-git::git+https://github.com/Alexays/Waybar
|
||||||
|
sha1sums = SKIP
|
||||||
|
|
||||||
|
pkgname = waybar-git
|
||||||
86
waybar-cava-git/PKGBUILD
Normal file
86
waybar-cava-git/PKGBUILD
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
# Maintainer: Alexis Rouillard <contact@arouillard.fr>
|
||||||
|
|
||||||
|
pkgname=waybar-git
|
||||||
|
pkgver=r3845.0332d2eb
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based compositors (GIT)'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://github.com/Alexays/Waybar/'
|
||||||
|
license=('MIT')
|
||||||
|
provides=('waybar')
|
||||||
|
conflicts=('waybar')
|
||||||
|
depends=(
|
||||||
|
'gtkmm3'
|
||||||
|
'libjsoncpp.so'
|
||||||
|
'libsigc++'
|
||||||
|
'fmt'
|
||||||
|
'jack' 'libjack.so'
|
||||||
|
'wayland'
|
||||||
|
'libdate-tz.so'
|
||||||
|
'libspdlog.so'
|
||||||
|
'gtk-layer-shell'
|
||||||
|
'libupower-glib.so'
|
||||||
|
'upower'
|
||||||
|
'libevdev'
|
||||||
|
'libinput'
|
||||||
|
'libpulse'
|
||||||
|
'libnl'
|
||||||
|
'libappindicator-gtk3'
|
||||||
|
'libdbusmenu-gtk3'
|
||||||
|
'libmpdclient'
|
||||||
|
'libsndio.so'
|
||||||
|
'libxkbcommon'
|
||||||
|
'libwireplumber'
|
||||||
|
'playerctl'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'git'
|
||||||
|
'cmake'
|
||||||
|
'catch2'
|
||||||
|
'meson'
|
||||||
|
'scdoc' # For generating manpages
|
||||||
|
'wayland-protocols'
|
||||||
|
'python-setuptools'
|
||||||
|
'glib2-devel'
|
||||||
|
)
|
||||||
|
backup=(
|
||||||
|
etc/xdg/waybar/config
|
||||||
|
etc/xdg/waybar/style.css
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
'otf-font-awesome: Icons in the default configuration'
|
||||||
|
)
|
||||||
|
|
||||||
|
source=("${pkgname}::git+https://github.com/Alexays/Waybar")
|
||||||
|
options=('!lto')
|
||||||
|
|
||||||
|
sha1sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/${pkgname}"
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "${srcdir}/${pkgname}"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/${pkgname}"
|
||||||
|
rm -rf "${srcdir}/build"
|
||||||
|
meson setup --prefix=/usr \
|
||||||
|
--buildtype=plain \
|
||||||
|
--auto-features=enabled \
|
||||||
|
-Dexperimental=true \
|
||||||
|
-Dcava=disabled \
|
||||||
|
-Dtests=disabled \
|
||||||
|
-Dcava=enabled \
|
||||||
|
-Db_lto=false \
|
||||||
|
"${srcdir}/build"
|
||||||
|
ninja -C "${srcdir}/build"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="$pkgdir" ninja -C "${srcdir}/build" install
|
||||||
|
install -Dm644 "${srcdir}/${pkgname}/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user