Name: gst-omx
Summary: GStreamer plug-in that allows communication with OpenMAX IL components
Version: 1.16.2
-Release: 7
+Release: 8
License: LGPL-2.1+
Group: Multimedia/Framework
Source0: %{name}-%{version}.tar.gz
export CFLAGS+=" -DTIZEN_FEATURE_OMX"
%if "%{target}" == "rpi"
-%configure --disable-static --prefix=/usr --with-omx-target=rpi --with-omx-header-path=/opt/vc/include/interface/vmcs_host/khronos/IL
+%configure \
+ --disable-static \
+ --prefix=/usr \
+ --with-omx-target=rpi \
+ --with-omx-header-path=/opt/vc/include/interface/vmcs_host/khronos/IL \
+ sysconfdir=%{_hal_sysconfdir}
%else
%ifarch aarch64
-%configure --disable-static --prefix=/usr --with-omx-target=exynos64
+%configure \
+ --disable-static \
+ --prefix=/usr \
+ --with-omx-target=exynos64 \
+ sysconfdir=%{_hal_sysconfdir}
%else
-%configure --disable-static --prefix=/usr --with-omx-target=exynos --enable-vp9
+%configure \
+ --disable-static \
+ --prefix=/usr \
+ --with-omx-target=exynos \
+ --enable-vp9 \
+ sysconfdir=%{_hal_sysconfdir}
%endif
%endif