From a5528fc85d4d15d54fa5026ace343fdedb71d7f7 Mon Sep 17 00:00:00 2001 From: subhransu mohanty Date: Tue, 31 Jul 2018 13:52:57 +0900 Subject: [PATCH] lottie: fixed pc file for linking issue of lottie library in tizen thanks to youngbok for the help Change-Id: Iff2cb41b58102892b8903cf17cc7847ff3c9163e --- lottie-player.pc.in | 11 ++++++----- packaging/lottie-player.spec | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lottie-player.pc.in b/lottie-player.pc.in index 52c5b4a..b56cc46 100644 --- a/lottie-player.pc.in +++ b/lottie-player.pc.in @@ -1,11 +1,12 @@ -prefix=@PREFIX@ -exec_prefix=@EXEC_DIR@ -libdir=@LIBDIR@ -includedir=@INCDIR@ +prefix=/usr +exec_prefix=/usr +apiversion=0.0.1 +libdir=/usr/lib +includedir=/usr/include Name: lottie-player Description: A lottie-player library Version: @VERSION@ Requires: Libs: -L${libdir} -llottie-player -Cflags: -I${includedir} +Cflags: -I${includedir} -std=c++14 diff --git a/packaging/lottie-player.spec b/packaging/lottie-player.spec index 6e343fa..b1e4acd 100644 --- a/packaging/lottie-player.spec +++ b/packaging/lottie-player.spec @@ -53,13 +53,14 @@ echo "INFO: System should be restarted or execute: systemctl --user daemon-reloa %files %defattr(-,root,root,-) -%{_libdir}/liblottie-player.so* +%{_libdir}/liblottie-player.so.* %{_datadir}/license/%{name} %manifest %{name}.manifest %files devel %defattr(-,root,root,-) %{_includedir}/*.h +%{_libdir}/liblottie-player.so %{_libdir}/cmake/lottie-player/*.cmake %{_libdir}/pkgconfig/lottie-player.pc -- 2.7.4