From f14bfc1cf604baa2159311ea80d00eda52ca8aaf Mon Sep 17 00:00:00 2001 From: Siddhartha Menon Date: Wed, 8 Feb 2023 17:33:56 +0000 Subject: [PATCH 1/2] btdu: update to 0.5.0. --- srcpkgs/btdu/template | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template index e2c173e49344..bf7751069262 100644 --- a/srcpkgs/btdu/template +++ b/srcpkgs/btdu/template @@ -1,6 +1,6 @@ # Template file for 'btdu' pkgname=btdu -version=0.4.1 +version=0.5.0 revision=1 # fails to build on musl due to different argument types for ioctl # struct packing seems to differ on i686 archs and therefore d-btrfs fails @@ -12,14 +12,9 @@ maintainer="Siddhartha Menon " license="GPL-2.0-only" homepage="https://github.com/CyberShadow/btdu" distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz" -checksum=265c63ee82067f6b5dc44b47c9ec58be5e13c654f31035c60a7e375ffa4082c9 +checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606 nocross="dmd compilation fails on cross" -pre_configure() { - vsed -e 's/dependency "ae" version="==0.0.3184"/dependency "ae" version="==0.0.3228"/g' -i dub.sdl - vsed -e 's/"ae": "0.0.3184"/"ae": "0.0.3228"/g' -i dub.selections.json -} - do_build() { dub build -b release } From c8b87f720a8e0c945a11c686bbf7e7a1fd1949cc Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sun, 19 Feb 2023 11:14:46 -0500 Subject: [PATCH 2/2] fixup! btdu: update to 0.5.0. --- srcpkgs/btdu/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template index bf7751069262..67e9f8ca20e3 100644 --- a/srcpkgs/btdu/template +++ b/srcpkgs/btdu/template @@ -4,8 +4,8 @@ version=0.5.0 revision=1 # fails to build on musl due to different argument types for ioctl # struct packing seems to differ on i686 archs and therefore d-btrfs fails -archs=x86_64 -hostmakedepends="dmd dub" +#archs=x86_64 +hostmakedepends="ldc dub" makedepends="zlib-devel ncurses-devel" short_desc="Sampling disk usage profiler for btrfs" maintainer="Siddhartha Menon " @@ -13,10 +13,10 @@ license="GPL-2.0-only" homepage="https://github.com/CyberShadow/btdu" distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz" checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606 -nocross="dmd compilation fails on cross" +# nocross="dmd compilation fails on cross" do_build() { - dub build -b release + dub --vverbose build --compiler=ldc2 -b release } do_install() {