Skip to content
Snippets Groups Projects
Commit dd712a9c authored by Rasmus Thomsen's avatar Rasmus Thomsen
Browse files

community/glibd: fix sonames, otherwise things link against libglibd.so

...Which belongs to -dev
parent 5b465731
No related branches found
No related tags found
1 merge request!6917testing/gnome-software-plugin-apk: new aport
......@@ -2,14 +2,15 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=glibd
pkgver=2.1.0
pkgrel=2
pkgrel=3
pkgdesc="D bindings for the GLib C Utility Library"
url="https://github.com/gtkd-developers/GlibD"
arch="x86 x86_64 aarch64" # ldc
license="GPL-3.0-or-later"
makedepends="meson gobject-introspection-dev glib-dev ldc ldc-runtime gir-to-d"
subpackages="$pkgname-dev"
source="https://github.com/gtkd-developers/GlibD/archive/v$pkgver/glibd-$pkgver.tar.gz"
source="https://github.com/gtkd-developers/GlibD/archive/v$pkgver/glibd-$pkgver.tar.gz
fix-sonames.patch"
builddir="$srcdir/GlibD-$pkgver"
build() {
......@@ -31,4 +32,5 @@ package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="2e00933e666f213ef5e38d3df5695966a76cdac067603e39d09f7ac8a5a4cab48ea498044de1d9daa2920609b7f8d6d5c090a666a6507a563bb896be2cc8c32f glibd-2.1.0.tar.gz"
sha512sums="2e00933e666f213ef5e38d3df5695966a76cdac067603e39d09f7ac8a5a4cab48ea498044de1d9daa2920609b7f8d6d5c090a666a6507a563bb896be2cc8c32f glibd-2.1.0.tar.gz
d97413d6615788f456eaa762e0f384ac9f3a1739d669013cf07631719783b24b4db89cdbb9f8b58bb4e49ce71a7783cf3f0cd9f9bd2879aa739d140b9b0d1c40 fix-sonames.patch"
diff --git a/meson.build b/meson.build
index 5fd81ac..140a8ce 100644
--- a/meson.build
+++ b/meson.build
@@ -3,8 +3,6 @@ project('GlibD', 'd',
version: '2.1.0'
)
-project_soversion = 0
-
pkg_conf = import('pkgconfig')
source_root = meson.current_source_dir()
@@ -46,7 +44,6 @@ glibd = library('glibd-2.0',
include_directories: [gir_bind_dir],
dependencies: [glib_dep, gmodule_dep, gobject_dep, gio_dep],
install: true,
- soversion: project_soversion,
version: meson.project_version())
install_subdir(join_paths(build_root, gen_dir, 'glib'), install_dir: 'include/d/glibd-2/')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment