mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/tracker to 2.1.6-2
This commit is contained in:
parent
7dec7209b7
commit
4f1d16c536
2 changed files with 76 additions and 3 deletions
|
@ -0,0 +1,70 @@
|
|||
From 5c018575301e44547706963d98c91df50a395e58 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <5c018575301e44547706963d98c91df50a395e58.1541488496.git.jan.steffens@gmail.com>
|
||||
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||
Date: Tue, 6 Nov 2018 07:11:37 +0000
|
||||
Subject: [PATCH] build: Restore right soversion to libraries
|
||||
|
||||
The previous change did not leave the expected .0 symlinks.
|
||||
|
||||
'soversion' is the actual version linked against. To match the scheme
|
||||
used by libtool, we need to give the libraries a 'version' as well.
|
||||
---
|
||||
meson.build | 3 ++-
|
||||
src/libtracker-control/meson.build | 1 +
|
||||
src/libtracker-miner/meson.build | 1 +
|
||||
src/libtracker-sparql-backend/meson.build | 1 +
|
||||
4 files changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 6ab39956d..51eb8687e 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -15,7 +15,8 @@ tracker_interface_age = 0
|
||||
tracker_binary_age = 100 * tracker_minor_version + tracker_micro_version - tracker_interface_age
|
||||
|
||||
# This the .Z used in libtracker-sparql-2.0.so.Z
|
||||
-soversion = '0.@0@.@1@'.format(tracker_binary_age - tracker_interface_age, tracker_interface_age)
|
||||
+soversion = '0'
|
||||
+libversion = '@0@.@1@.@2@'.format(soversion, tracker_binary_age - tracker_interface_age, tracker_interface_age)
|
||||
|
||||
libdir = join_paths(get_option('prefix'), get_option('libdir'))
|
||||
datadir = join_paths(get_option('prefix'), get_option('datadir'))
|
||||
diff --git a/src/libtracker-control/meson.build b/src/libtracker-control/meson.build
|
||||
index 81578e306..533ac538e 100644
|
||||
--- a/src/libtracker-control/meson.build
|
||||
+++ b/src/libtracker-control/meson.build
|
||||
@@ -10,6 +10,7 @@ libtracker_control = library('tracker-control-' + tracker_api_version,
|
||||
tracker_common_enum_header,
|
||||
c_args: tracker_c_args,
|
||||
soversion: soversion,
|
||||
+ version: libversion,
|
||||
install: true,
|
||||
install_rpath: tracker_internal_libs_dir,
|
||||
# This doesn't depend on tracker_common_dep because of
|
||||
diff --git a/src/libtracker-miner/meson.build b/src/libtracker-miner/meson.build
|
||||
index e53b21cf9..49c879057 100644
|
||||
--- a/src/libtracker-miner/meson.build
|
||||
+++ b/src/libtracker-miner/meson.build
|
||||
@@ -60,6 +60,7 @@ libtracker_miner = library(
|
||||
miner_enums[0], miner_enums[1], miner_sources,
|
||||
c_args: tracker_c_args,
|
||||
soversion: soversion,
|
||||
+ version: libversion,
|
||||
install: true,
|
||||
install_rpath: tracker_internal_libs_dir,
|
||||
# This doesn't depend on tracker_common_dep because of
|
||||
diff --git a/src/libtracker-sparql-backend/meson.build b/src/libtracker-sparql-backend/meson.build
|
||||
index c8415efb8..e54333bec 100644
|
||||
--- a/src/libtracker-sparql-backend/meson.build
|
||||
+++ b/src/libtracker-sparql-backend/meson.build
|
||||
@@ -8,6 +8,7 @@ libtracker_sparql = library('tracker-sparql-' + tracker_api_version,
|
||||
'tracker-backend.vala',
|
||||
|
||||
soversion: soversion,
|
||||
+ version: libversion,
|
||||
|
||||
install: true,
|
||||
install_rpath: tracker_internal_libs_dir,
|
||||
--
|
||||
2.19.1
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=tracker
|
||||
pkgver=2.1.6
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Desktop-neutral user information store, search tool and indexer"
|
||||
url="https://wiki.gnome.org/Projects/Tracker"
|
||||
arch=(x86_64)
|
||||
|
@ -17,8 +17,10 @@ makedepends=(gobject-introspection intltool vala git gtk-doc bash-completion mes
|
|||
checkdepends=(python2-gobject python2-dbus)
|
||||
groups=(gnome)
|
||||
_commit=c2d3289a13092642ec9735e0b2d508592532483d # tags/2.1.6^0
|
||||
source=("git+https://gitlab.gnome.org/GNOME/tracker.git#commit=$_commit")
|
||||
sha256sums=('SKIP')
|
||||
source=("git+https://gitlab.gnome.org/GNOME/tracker.git#commit=$_commit"
|
||||
0001-build-Restore-right-soversion-to-libraries.patch)
|
||||
sha256sums=('SKIP'
|
||||
'13dbef758222723729a55de04a98488b5b943e565e6cbde25eb4f5598a6729c3')
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
|
@ -27,6 +29,7 @@ pkgver() {
|
|||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
patch -Np1 -i ../0001-build-Restore-right-soversion-to-libraries.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in a new issue