mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
gnome-podcasts: rebuild for libressl-2.9.2.
This commit is contained in:
parent
264d9d26de
commit
b0a92cc22d
2 changed files with 24 additions and 7 deletions
21
srcpkgs/gnome-podcasts/patches/fix-build.patch
Normal file
21
srcpkgs/gnome-podcasts/patches/fix-build.patch
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
--- podcasts-gtk/src/widgets/episode.rs.orig 2019-06-09 15:54:59.793451047 +0200
|
||||||
|
+++ podcasts-gtk/src/widgets/episode.rs 2019-06-09 15:55:19.191311512 +0200
|
||||||
|
@@ -559,7 +559,7 @@
|
||||||
|
.total_size
|
||||||
|
.get_text()
|
||||||
|
.as_ref()
|
||||||
|
- .map(|s| s.trim_right_matches(" MB"))
|
||||||
|
+ .map(|s| s.trim_end_matches(" MB"))
|
||||||
|
.and_then(|s| s.parse::<i32>().ok())
|
||||||
|
.is_none()
|
||||||
|
{
|
||||||
|
--- podcasts-gtk/src/widgets/shows_view.rs.orig 2019-06-09 15:54:00.320878867 +0200
|
||||||
|
+++ podcasts-gtk/src/widgets/shows_view.rs 2019-06-09 15:54:13.151786563 +0200
|
||||||
|
@@ -80,7 +80,6 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
fn on_child_activate(child: >k::FlowBoxChild, sender: &Sender<Action>) -> Result<(), Error> {
|
||||||
|
- use gtk::WidgetExt;
|
||||||
|
|
||||||
|
// This is such an ugly hack...
|
||||||
|
let id = WidgetExt::get_name(child)
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gnome-podcasts'
|
# Template file for 'gnome-podcasts'
|
||||||
pkgname=gnome-podcasts
|
pkgname=gnome-podcasts
|
||||||
version=0.4.6
|
version=0.4.6
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="podcasts-${version}"
|
wrksrc="podcasts-${version}"
|
||||||
build_style=meson
|
build_style=meson
|
||||||
hostmakedepends="cargo gettext-devel glib-devel pkg-config"
|
hostmakedepends="cargo gettext-devel glib-devel pkg-config"
|
||||||
|
@ -14,12 +14,8 @@ homepage="https://wiki.gnome.org/Apps/Podcasts"
|
||||||
distfiles="https://gitlab.gnome.org/World/podcasts/-/archive/${version}/podcasts-${version}.tar.gz"
|
distfiles="https://gitlab.gnome.org/World/podcasts/-/archive/${version}/podcasts-${version}.tar.gz"
|
||||||
checksum=953c63e8184ca1f748418d8a8262d40eaa41047f81e2d2c874a3035d9d9d0e4a
|
checksum=953c63e8184ca1f748418d8a8262d40eaa41047f81e2d2c874a3035d9d9d0e4a
|
||||||
nocross="rustc cant be crosscompiled as of now"
|
nocross="rustc cant be crosscompiled as of now"
|
||||||
broken="broken rust code in release"
|
|
||||||
|
|
||||||
export GETTEXT_BIN_DIR=/usr/bin
|
|
||||||
export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext"
|
|
||||||
export GETTEXT_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
cargo update --package openssl-sys --precise 0.9.39
|
cargo update --package openssl-sys --precise 0.9.46
|
||||||
|
cargo update --package openssl --precise 0.10.22
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue