summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2021-04-21 16:59:02 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2021-04-21 20:37:58 +0900
commit92f692748ffed4d33567d06395c35c9cb1a65044 (patch)
tree138f4fdc77edc81cf49ed317bb166ebf2ffc82a8 /packaging
parent1c6389c4ca1058345c1465f0f48d5763ef575573 (diff)
downloadlibomxil-e9110-v4l2-accepted/tizen_7.0_unified_hotfix.tar.gz
libomxil-e9110-v4l2-accepted/tizen_7.0_unified_hotfix.tar.bz2
libomxil-e9110-v4l2-accepted/tizen_7.0_unified_hotfix.zip
- The path is changed from /usr/lib to /hal/lib. - Minor change : Remove unnecessary devel package. [Version] 0.0.2-5 [Issue Type] HAL path Change-Id: Id5e875d706263ac6541913be466e8e46d1ba905d Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/libomxil-e9110-v4l2.spec46
1 files changed, 19 insertions, 27 deletions
diff --git a/packaging/libomxil-e9110-v4l2.spec b/packaging/libomxil-e9110-v4l2.spec
index cb4c6e3..85343c2 100755
--- a/packaging/libomxil-e9110-v4l2.spec
+++ b/packaging/libomxil-e9110-v4l2.spec
@@ -3,7 +3,7 @@ Summary: OpenMAX IL for e9110-v4l2
Version: 0.0.2
License: Apache-2.0
Group: Development/Libraries
-Release: 4
+Release: 5
ExclusiveArch: %arm
Source: %{name}-%{version}.tar.gz
Requires(post): /sbin/ldconfig
@@ -17,14 +17,6 @@ BuildRequires: pkgconfig(libtbm)
%description
implementation of OpenMAX IL for e9110-v4l2 for TW3
-%package devel
-Summary: OpenMAX IL for e9110-v4l2 (Developement)
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-
-%description devel
-development package for libomxil-e9110-v4l2
-
%prep
%setup -q
@@ -34,10 +26,12 @@ development package for libomxil-e9110-v4l2
export CFLAGS+=" -mfpu=neon\
-DUSE_DLOG\
-DTIZEN_OMXIL_COMMERCIAL_FEATURE\
+ -DTIZEN_FEATURE_NEW_HAL_PATH\
+ -DHAL_LIBDIR=\\\"%{_hal_libdir}\\\"\
-DGST_EXT_TIME_ANALYSIS"
LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--hash-style=both -Wl,--as-needed"; export LDFLAGS
-%configure --prefix=%{_prefix} --disable-static --enable-dlog --enable-exynos9110 --enable-tizen-allocator
+%configure --prefix=%{_prefix} --disable-static --enable-dlog --enable-exynos9110 --enable-tizen-allocator --libdir=%{_hal_libdir}
#make %{?jobs:-j%jobs}
make
@@ -45,7 +39,8 @@ make
%install
rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/license
+mkdir -p %{buildroot}%{_hal_licensedir}/%{name}
+cp COPYING %{buildroot}%{_hal_licensedir}/%{name}
%make_install
@@ -56,20 +51,17 @@ mkdir -p %{buildroot}/usr/share/license
%files
%manifest libomxil-e9110-v4l2.manifest
-/usr/lib/*.so*
-/usr/lib/omx/libOMX.Exynos.AVC.Decoder.so
-/usr/lib/omx/libOMX.Exynos.AVC.Encoder.so
-/usr/lib/omx/libOMX.Exynos.MPEG4.Decoder.so
-/usr/lib/omx/libOMX.Exynos.MPEG4.Encoder.so
-/usr/lib/omx/libOMX.Exynos.MPEG2.Decoder.so
-/usr/lib/omx/libOMX.Exynos.WMV.Decoder.so
-/usr/lib/omx/libOMX.Exynos.HEVC.Decoder.so
-/usr/lib/omx/libOMX.Exynos.HEVC.Encoder.so
-/usr/lib/omx/libOMX.Exynos.VP8.Decoder.so
-/usr/lib/omx/libOMX.Exynos.VP8.Encoder.so
-%license COPYING
-
-%files devel
-/usr/include/*
-/usr/lib/pkgconfig/*
+%{_hal_libdir}/*.so*
+%{_hal_libdir}/omx/libOMX.Exynos.AVC.Decoder.so
+%{_hal_libdir}/omx/libOMX.Exynos.AVC.Encoder.so
+%{_hal_libdir}/omx/libOMX.Exynos.MPEG4.Decoder.so
+%{_hal_libdir}/omx/libOMX.Exynos.MPEG4.Encoder.so
+%{_hal_libdir}/omx/libOMX.Exynos.MPEG2.Decoder.so
+%{_hal_libdir}/omx/libOMX.Exynos.WMV.Decoder.so
+%{_hal_libdir}/omx/libOMX.Exynos.HEVC.Decoder.so
+%{_hal_libdir}/omx/libOMX.Exynos.HEVC.Encoder.so
+%{_hal_libdir}/omx/libOMX.Exynos.VP8.Decoder.so
+%{_hal_libdir}/omx/libOMX.Exynos.VP8.Encoder.so
+%{_hal_licensedir}/%{name}/*
+%exclude %{_includedir}/*