Change install path for HAL image 91/257291/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.093446 accepted/tizen/7.0/unified/20221110.062055 accepted/tizen/7.0/unified/hotfix/20221116.104432 accepted/tizen/unified/20210428.040510 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:40:24 +0000 (14:40 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Mon, 26 Apr 2021 09:23:21 +0000 (18:23 +0900)
- The path is changed from /usr/lib to /hal/lib.

[Version] 1.0.4-2
[Issue Type] HAL path

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

index 1bf44acdc79bb9dfe88732c7140af6531c5c3ea5..3e446ef22905fa2581ecddd68305318ea99a1846 100644 (file)
@@ -1,6 +1,6 @@
 Name:    gst-plugins-video-enc
 Version: 1.0.4
-Release: 1
+Release: 2
 License: LGPL-2.1+
 Summary: nexell video encoder gstreamer plugin
 Group: Development/Libraries
@@ -28,13 +28,15 @@ Nexell video encoder 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
@@ -42,5 +44,6 @@ find %{buildroot} -type f -name "*.la" -delete
 %files
 %manifest gst-plugins-video-enc.manifest
 %defattr(-,root,root,-)
-%{_libdir}/gstreamer-1.0/libgstnxvideoenc.so*
-%license LICENSE.LGPLv2+
+%{_hal_libdir}/gstreamer-1.0/libgstnxvideoenc.so*
+%{_hal_licensedir}/%{name}/*
+
index 8859d18bbf7f270ce0d48b0f3073baa71390dd1d..742470684b1ba7e88b2e361cf6654bcfae6764c6 100644 (file)
@@ -31,7 +31,7 @@ libgstnxvideoenc_la_LIBADD = \
        -ldrm                           \
        -lnx_video_api
 
-libgstnxvideoenc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -L$(libdir)
+libgstnxvideoenc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -L$(libdir) -Wl,-rpath,${libdir}
 libgstnxvideoenc_la_LIBTOOLFLAGS = --tag=disable-static
 
 # headers we need but don't want installed