From a0d8c5feb150b344d6ab60697e9568bdf3c8b75d Mon Sep 17 00:00:00 2001 From: Sertonix <sertonix@posteo.net> Date: Sat, 12 Oct 2024 13:43:35 +0200 Subject: [PATCH] community/gmni: fix requires name in pkgconfig Ref d7508086373 --- community/gmni/APKBUILD | 4 +++- community/gmni/pkgconfig.patch | 13 +++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 community/gmni/pkgconfig.patch diff --git a/community/gmni/APKBUILD b/community/gmni/APKBUILD index b9117ae36451..0a56df97e320 100644 --- a/community/gmni/APKBUILD +++ b/community/gmni/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Willow Barraco <contact@willowbarraco.fr> pkgname=gmni pkgver=1.0 -pkgrel=2 +pkgrel=3 pkgdesc="Gemini client" options="!check" # No testsuite url="https://git.sr.ht/~sircmpwn/gmni" @@ -12,6 +12,7 @@ subpackages="$pkgname-doc $pkgname-dev" source=" $pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/gmni/archive/$pkgver.tar.gz gcc14-werror-calloc-transposed-args.patch + pkgconfig.patch " build() { ./configure \ @@ -27,4 +28,5 @@ package() { sha512sums=" bfc5afb13e28fb360997a15660e22887c06e2c208580677a0b6a3c3cdb57a508277406ebf3ba2620a3c0b7d066296e77604d1cbc0473d3939bb6204c55850038 gmni-1.0.tar.gz bfb06d0a431db7c4661814d2b918b65ce6783b7ceb1809fc29cb95e9eb889ccc6ce15aeef9bf1de8168d0385003769611164e6ada5da2f60f7752ee1bad05213 gcc14-werror-calloc-transposed-args.patch +a7a8894f874e49cd34f81c6ca6f347263f2b4eddb783a4988a994d522f767f28cb147c069bab1dc45a0fe601e4cab37f6ac5286e60799894130a41b66c135c68 pkgconfig.patch " diff --git a/community/gmni/pkgconfig.patch b/community/gmni/pkgconfig.patch new file mode 100644 index 000000000000..73307dc1f338 --- /dev/null +++ b/community/gmni/pkgconfig.patch @@ -0,0 +1,13 @@ +The name of the bearssl pkgconfig has changed + +--- a/Makefile ++++ b/Makefile +@@ -29,7 +29,7 @@ libgmni.pc: + @printf 'Name: libgmni\n' >> $@ + @printf 'Version: %s\n' "$(VERSION)" >> $@ + @printf 'Description: The gmni client library\n' >> $@ +- @printf 'Requires: libbearssl\n' >> $@ ++ @printf 'Requires: bearssl\n' >> $@ + @printf 'Cflags: -I$${includedir}/gmni\n' >> $@ + @printf 'Libs: -L$${libdir} -lgmni\n' >> $@ + -- GitLab