mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
shortwave: update to 4.0.1
This commit is contained in:
parent
e7e523c975
commit
c88ada578a
2 changed files with 11 additions and 19 deletions
|
@ -1,12 +0,0 @@
|
||||||
diff -ru a/meson.build b/meson.build
|
|
||||||
--- a/meson.build 2023-02-07 02:12:17.000000000 +0300
|
|
||||||
+++ b/meson.build 2023-04-27 23:57:14.057890647 +0300
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
base_id = 'de.haeckerfelix.Shortwave'
|
|
||||||
path_id = '/de/haeckerfelix/Shortwave'
|
|
||||||
app_id = base_id
|
|
||||||
-vcs_tag = run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip()
|
|
||||||
+vcs_tag = 'none'
|
|
||||||
profile = get_option('profile')
|
|
||||||
datadir = join_paths(get_option('prefix'), get_option('datadir'))
|
|
||||||
localedir = join_paths(get_option('prefix'), get_option('localedir'))
|
|
|
@ -1,23 +1,27 @@
|
||||||
# Template file for 'shortwave'
|
# Template file for 'shortwave'
|
||||||
pkgname=shortwave
|
pkgname=shortwave
|
||||||
version=3.2.0
|
version=4.0.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper=rust
|
build_helper=rust
|
||||||
hostmakedepends="pkg-config cargo gettext desktop-file-utils glib-devel
|
hostmakedepends="cargo desktop-file-utils gettext glib-devel
|
||||||
gtk-update-icon-cache"
|
gtk4-update-icon-cache pkg-config"
|
||||||
makedepends="libadwaita-devel libshumate-devel rust-std"
|
makedepends="lcms-devel libadwaita-devel libseccomp-devel libshumate-devel
|
||||||
|
rust-std"
|
||||||
depends="gst-plugins-good1"
|
depends="gst-plugins-good1"
|
||||||
short_desc="Listen to internet radio"
|
short_desc="Listen to internet radio"
|
||||||
maintainer="chrysos349 <chrysostom349@gmail.com>"
|
maintainer="chrysos349 <chrysostom349@gmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://gitlab.gnome.org/World/Shortwave"
|
homepage="https://gitlab.gnome.org/World/Shortwave"
|
||||||
distfiles="https://gitlab.gnome.org/World/Shortwave/-/archive/${version}/${pkgname}-${version}.tar.gz"
|
distfiles="https://gitlab.gnome.org/World/Shortwave/-/archive/${version}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=b1d5272d41bf6dd2d7b578e3c352a0f3ca3e502cd3ec0c28ba8153c8887d08b9
|
checksum=2233ccb845be1b104dbf637ef1db99b2a2f29a51270b47d0894c03048ac0637c
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
|
# remove git dep
|
||||||
|
ln -sf /bin/false ${XBPS_WRAPPERDIR}/git
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
vsed -i src/meson.build \
|
vsed -i src/meson.build \
|
||||||
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
-e "s%rust_target /%'${RUST_TARGET}' / &%"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue