summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
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}/*