mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +02:00
keypunch: build in release mode
This commit is contained in:
parent
85e34da17e
commit
a4650c3d4b
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'keypunch'
|
||||
pkgname=keypunch
|
||||
version=5.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_helper="rust"
|
||||
build_style=meson
|
||||
hostmakedepends="cargo rust gettext glib pkg-config blueprint-compiler
|
||||
|
@ -16,8 +16,11 @@ checksum=98e69f91150373eea2a9ffb9c175db19ce867e62825c74ebf921923c6ae79408
|
|||
|
||||
post_patch() {
|
||||
vsed -e 's/\(gtk_update_icon_cache: \)true/\1false/' \
|
||||
-e 's/\(update_desktop_database: \)true/\1false/' \
|
||||
-e 's/\(update_desktop_database: \)true/\1false/' \
|
||||
-e "s/\(get_option('buildtype') != \)'release'/\1'plain'/" \
|
||||
-i meson.build
|
||||
vsed -e "s/\(get_option('buildtype') == \)'release'/\1'plain'/" \
|
||||
-i src/meson.build
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
vsed -i src/meson.build \
|
||||
-e "s%rust_target /%'${RUST_TARGET}' / &%"
|
||||
|
|
Loading…
Add table
Reference in a new issue