-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package fretboard #427
base: master
Are you sure you want to change the base?
Package fretboard #427
Changes from 10 commits
c566023
7903792
11b4716
2fcc773
7dee914
3ca5520
271b0b4
6ac8146
057ba15
4d58732
8a49b2a
9cce8d0
cf07cc4
143983b
0f9ad00
bd05eb6
47e45b0
1b672db
cbcbfd1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ faustlive | |
fluida.lv2 | ||
fogpad | ||
freemajor | ||
fretboard | ||
glasscoder | ||
gnome-shell-extension-gsjackctl | ||
hpklinux | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/fretboard |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio> | ||
# Contributor: Florian Hülsmann <[email protected]> | ||
|
||
pkgname=fretboard | ||
pkgver=7.0 | ||
pkgrel=1 | ||
pkgdesc='Simple guitar chord lookup tool' | ||
arch=(aarch64 x86_64) | ||
url='https://apps.gnome.org/Fretboard/' | ||
license=(GPL-3.0-or-later) | ||
groups=(pro-audio) | ||
depends=(gtk4) | ||
makedepends=(blueprint-compiler git libadwaita meson rust) | ||
source=("git+https://github.com/bragefuglseth/$pkgname#tag=v$pkgver-fixed") | ||
sha256sums=('1125cbfc343c05a1cd2ca91c6cbeda6cb2e3f237e77ee841f500fe8c252b65e4') | ||
|
||
build() { | ||
export RUSTUP_TOOLCHAIN=stable | ||
# https://github.com/bragefuglseth/fretboard/issues/51 | ||
arch-meson --reconfigure -Dsandboxed=true -Dprofile=development $pkgname build | ||
Comment on lines
+26
to
+27
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here I'm configuring a debug build and relying on makepkg's binary optimizations just so the build is reproducible. This increases the package + install size by ~300 kB and ~1,3 MB, respectively but that's fine IMO until we find a way to make There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nvm, it just randomly worked for 1 run |
||
meson compile -C build | ||
} | ||
|
||
check() { | ||
meson test -C build --print-errorlogs | ||
} | ||
|
||
package() { | ||
depends+=(libadwaita-1.so) | ||
meson install -C build --destdir "$pkgdir" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if it makes sense to add
gnome-extra
since it's featured on https://apps.gnome.org/