Change install path for HAL image 82/257282/2 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_unified tizen tizen_6.5 tizen_7.0 tizen_7.0_hotfix accepted/tizen/6.5/unified/20211028.093526 accepted/tizen/7.0/unified/20221110.063642 accepted/tizen/7.0/unified/hotfix/20221116.104430 accepted/tizen/unified/20210428.040516 submit/tizen/20210428.002733 submit/tizen_6.5/20211028.161501 tizen_6.5.m2_release tizen_7.0_m2_release
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 22 Apr 2021 05:31:17 +0000 (14:31 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Mon, 26 Apr 2021 09:23:41 +0000 (18:23 +0900)
- The path is changed from /usr/lib to /hal/lib.

[Version] 1.1.0-1
[Issue Type] HAL path

Change-Id: Ided61a0073856ee96c199593e9f661ef88c9243d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/gst-plugins-video-dec.spec
src/Makefile.am

index 4cb280e0d8fea2039e881f6affbefdd0f2a86879..a0f9d0d205abd88c5eb2073df3a7131a6f4bfc6d 100644 (file)
@@ -1,6 +1,6 @@
 Name:    gst-plugins-video-dec
 Version: 1.1.0
-Release: 0
+Release: 1
 License: LGPL-2.1+
 Summary: nexell video decoder gstreamer plugin
 Group: Development/Libraries
@@ -27,13 +27,15 @@ Nexell video decoder gstreamer plugin
 
 %build
 autoreconf -v --install || exit 1
-%configure
+%configure --libdir=%{_hal_libdir}
 make %{?_smp_mflags}
 
 %postun -p /sbin/ldconfig
 
 %install
 rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_hal_licensedir}/%{name}
+cp LICENSE.LGPLv2+ %{buildroot}%{_hal_licensedir}/%{name}
 make install DESTDIR=%{buildroot}
 
 find %{buildroot} -type f -name "*.la" -delete
@@ -41,5 +43,5 @@ find %{buildroot} -type f -name "*.la" -delete
 %files
 %manifest gst-plugins-video-dec.manifest
 %defattr(-,root,root,-)
-%{_libdir}/gstreamer-1.0/libgstnxvideodec.so*
-%license LICENSE.LGPLv2+
+%{_hal_libdir}/gstreamer-1.0/libgstnxvideodec.so*
+%{_hal_licensedir}/%{name}/*
index e829796f4b306fe0f8bfc232122b6b2fe74c9636..da624688f8d82aec5d83556ea27ba9a3c805e707 100644 (file)
@@ -30,7 +30,7 @@ libgstnxvideodec_la_LIBADD = \
        -lnxgstmeta                     \
        -lnx_video_api
 
-libgstnxvideodec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -L$(libdir)
+libgstnxvideodec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -L$(libdir) -Wl,-rpath,${libdir}
 libgstnxvideodec_la_LIBTOOLFLAGS = --tag=disable-static
 
 # headers we need but don't want installed