I'm talking about the AUR package for that version of electron (https://aur.archlinux.org/packages/electron20). I'm pretty sure I'm not the only person that won't want that installed system-wide. Like I said, it's your package, do what you want, I'll maintain a binary version here (https://aur.archlinux.org/packages/expresslrs-configurator-bin) for anyone that wants it.
Search Criteria
Package Details: expresslrs-configurator 1.7.7-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/expresslrs-configurator.git (read-only, click to copy) |
---|---|
Package Base: | expresslrs-configurator |
Description: | Cross platform configuration & build tool for the ExpressLRS radio link |
Upstream URL: | https://github.com/ExpressLRS/ExpressLRS-Configurator |
Keywords: | 2400mhz 24ghz 900mhz configurator drone express expresslrs fpv lrs receiver transmitter update updater |
Licenses: | GPL-3.0-only |
Submitter: | moldtmann |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 8 |
Popularity: | 0.000762 |
First Submitted: | 2021-05-01 19:37 (UTC) |
Last Updated: | 2024-11-13 22:24 (UTC) |
Dependencies (9)
- electron27 (electron27-binAUR)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR)
- platformio-core-udev
- python (python37AUR, python311AUR, python310AUR)
- libxcrypt-compat (make)
- nodejs (nodejs-lts-fermiumAUR, nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogen, nodejs-lts-iron) (make)
- npm (corepackerAUR, python-nodejs-wheelAUR) (make)
- yarn (yarn-pnpm-corepackAUR, corepackerAUR, yarn-berryAUR) (make)
Required by (0)
Sources (4)
FryDay commented on 2023-09-11 13:47 (UTC) (edited on 2023-09-11 14:31 (UTC) by FryDay)
dpeukert commented on 2023-09-11 13:35 (UTC)
@FryDay: It's not compiled, but there is a build process and the package is using the Electron version used by upstream (see https://github.com/ExpressLRS/ExpressLRS-Configurator/blob/master/package.json#L267)
FryDay commented on 2023-09-11 13:33 (UTC)
If this was a compiled program, sure, maybe. But instead you have an outdated and unmaintained version of electron as a dependency instead of using the dependency versions the project is designed for? It's your package, so you can do whatever you want, but I really don't think this is the correct way to install this program.
dpeukert commented on 2023-09-11 13:11 (UTC)
@FryDay: Building from source and using system dependencies is preferred when possible.
FryDay commented on 2023-09-11 13:02 (UTC)
Why make the PKGBUILD so complex? The ExpressLRS project has already gone through the trouble of creating a pacman package for us, why reinvent the wheel?
dpeukert commented on 2023-08-11 07:50 (UTC)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/expresslrs-configurator
dpeukert commented on 2023-08-08 13:30 (UTC)
@Akholic: Until someone adopts and fixes the electron20 package, you can use electron20-bin.
Akholic commented on 2023-08-08 13:28 (UTC)
for everyone who got the "failed to build electron20 dependency"
Fryday's approach works. for those of us wondering how to rebuild a package:
$ cd ~/.cache/yay/expresslrs-configurator/
$ vim PKGBUILD
*replace content with @FryDay code snippet*
$ makepkg -si
*continue your day*
FryDay commented on 2023-08-04 20:39 (UTC)
@dpeukert Sounds good. Here is the PKGBUILD I've been using. Feel free to copy it if you want.
pkgname=expresslrs-configurator
pkgver=1.6.0
pkgrel=1
pkgdesc="Cross platform configuration & build tool for the ExpressLRS radio link"
arch=('x86_64')
url="https://github.com/ExpressLRS/ExpressLRS-Configurator"
license=('GPL')
source=(
"https://github.com/ExpressLRS/ExpressLRS-Configurator/releases/download/v$pkgver/expresslrs-configurator-$pkgver.pacman"
)
sha512sums=('cc421ed74ffcafa17222747ed58d8353e0286ff0f45c129b5d3864f71ec52edca202164906d0adf7e829b177ea3391c5b59297d4157b21fdd19c4ee91be3e89b')
package() {
# Install the application files in /opt
install -d "${pkgdir}/opt"
cp -R "${srcdir}/opt/ExpressLRS Configurator" "${pkgdir}/opt/"
# Install the .desktop file
install -D -m644 "${srcdir}/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
# Install the icons
for icon_size in 16 24 32 48 64 96 128 256 512; do
icons_dir="/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
install -d "${pkgdir}/${icons_dir}"
install -m644 "${srcdir}${icons_dir}/${pkgname}.png" \
"${pkgdir}${icons_dir}/${pkgname}.png"
done
# Make symlink in /usr/bin
install -d "${pkgdir}/usr/bin"
ln -s "/opt/ExpressLRS Configurator/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
dpeukert commented on 2023-08-04 20:35 (UTC)
@FryDay: Hi, I've adopted the package a couple of weeks ago and I've got the update almost ready, just need to test if everything works. I'll hopefully get around to that this weekend. Sorry for the delay :)
Pinned Comments
dpeukert commented on 2023-08-11 07:50 (UTC)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/expresslrs-configurator