diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-07-07 12:04:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-07-07 12:05:36 +0000 |
commit | ab5d769727ab365ddef31017d188d2e671a6a85c (patch) | |
tree | 1b8e2afb6f21f3113e29fb40ac2d077d1fb2f3c3 /community | |
parent | c042f80703b1642019cdfbb7cc25287cd6a4bfce (diff) | |
download | aports-ab5d769727ab365ddef31017d188d2e671a6a85c.tar.bz2 aports-ab5d769727ab365ddef31017d188d2e671a6a85c.tar.xz |
community/libgdata: fix soname/version
backport upstream fix for soname
https://github.com/GNOME/libgdata/commit/24aae504e2833e46f3808f38cea60c5e3178e175
Diffstat (limited to 'community')
-rw-r--r-- | community/libgdata/APKBUILD | 6 | ||||
-rw-r--r-- | community/libgdata/meson-fix-library-version.patch | 28 |
2 files changed, 32 insertions, 2 deletions
diff --git a/community/libgdata/APKBUILD b/community/libgdata/APKBUILD index e0457086f5..fd82aa4771 100644 --- a/community/libgdata/APKBUILD +++ b/community/libgdata/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Rasmus Thomsen <oss@cogitri.dev> pkgname=libgdata pkgver=0.17.10 -pkgrel=0 +pkgrel=1 pkgdesc="access library for gdata" url="https://wiki.gnome.org/Projects/libgdata" arch="all" @@ -15,6 +15,7 @@ subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/libgdata/${pkgver%.*}/libgdata-${pkgver}.tar.xz only-ipv4-tests.patch disable-perf-test.patch + meson-fix-library-version.patch " replaces="$pkgname-static $pkgname-doc" # Backwards compatiblity @@ -51,4 +52,5 @@ package() { sha512sums="01f8bb121c402fc0af8e9f12cafba326a87cef6756ced72652890c834fd4f497a060f6455ab66d4af92d9cd34b4d6fdf58033dca0f91bb806c80b60987955c22 libgdata-0.17.10.tar.xz 844d5d342e62e6237f48f574b1749c4e4216edc5bfb21bfd799e3ce4f7d88f63bf32b242f99df828bc56fb7fb9e42080ca803bcc404fe6422a8b569df85507e1 only-ipv4-tests.patch -177a0f1303f4b0204889fda3e643e02897f27f9b184a393339cc5271f57ce71b4cd0224e21641da75b777830f73d8e3c85072ca9559b75e0b1a1a615a4ab2b70 disable-perf-test.patch" +177a0f1303f4b0204889fda3e643e02897f27f9b184a393339cc5271f57ce71b4cd0224e21641da75b777830f73d8e3c85072ca9559b75e0b1a1a615a4ab2b70 disable-perf-test.patch +29548d6b73b98be93967ab4b4a81c8f7478b05b18ea9b7660b80aeb4e0da724a98e704bf52ee3a6a690f869d3dcef81836da19df0a5e91a79719766cf46c1c41 meson-fix-library-version.patch" diff --git a/community/libgdata/meson-fix-library-version.patch b/community/libgdata/meson-fix-library-version.patch new file mode 100644 index 0000000000..a839e65323 --- /dev/null +++ b/community/libgdata/meson-fix-library-version.patch @@ -0,0 +1,28 @@ +From 24aae504e2833e46f3808f38cea60c5e3178e175 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> +Date: Tue, 25 Jun 2019 22:31:39 +0200 +Subject: [PATCH] meson: Fix library version + +Setting soversion means the soname ends in '22.4.0' instead of the +expected '22'. So we want the *soversion* to be '22' and the *version* +to be '22.4.0'. + +We only need to set the version as meson can derive the soversion from +it. +--- + gdata/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gdata/meson.build b/gdata/meson.build +index 87cb702a..d221800c 100644 +--- a/gdata/meson.build ++++ b/gdata/meson.build +@@ -142,7 +142,7 @@ libgdata_lib = shared_library( + link_args: ldflags, + link_depends: symbol_map, + install: true, +- soversion: gdata_soversion, ++ version: gdata_soversion, + gnu_symbol_visibility: 'default', + ) + |