lottie: fixed pc file for linking issue of lottie library in tizen 81/185481/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Tue, 31 Jul 2018 04:52:57 +0000 (13:52 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Tue, 31 Jul 2018 04:52:57 +0000 (13:52 +0900)
thanks to youngbok for the help

Change-Id: Iff2cb41b58102892b8903cf17cc7847ff3c9163e

lottie-player.pc.in
packaging/lottie-player.spec

index 52c5b4a4ba43a7e1ecee08378e4c44329247c6a7..b56cc46a78236a61873296367aae0b7eb1c7aba5 100644 (file)
@@ -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
index 6e343fae8c0274650619be8e14be02ec101dcb5b..b1e4acd7d0125461fce06c6dc1908bcd6e27561e 100644 (file)
@@ -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