Name: libmm-camcorder
Summary: Camera and recorder library
Version: 0.10.6
-Release: 0
+Release: 1
Group: Multimedia/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
%files devel
%defattr(-,root,root,-)
%{_includedir}/mmf/mm_camcorder.h
+%if %{with wayland}
%{_includedir}/mmf/mm_camcorder_mused.h
+%endif
%{_libdir}/pkgconfig/mm-camcorder.pc
%{_libdir}/*.so
includelibmmfcamcorderdir = $(includedir)/mmf
-includelibmmfcamcorder_HEADERS = include/mm_camcorder.h \
- include/mm_camcorder_mused.h
+includelibmmfcamcorder_HEADERS = include/mm_camcorder.h
noinst_HEADERS = include/mm_camcorder_audiorec.h \
include/mm_camcorder_attribute.h \
include/mm_camcorder_util.h \
include/mm_camcorder_exifinfo.h\
include/mm_camcorder_exifdef.h \
- include/mm_camcorder_sound.h \
- include/mm_camcorder_mused.h
+ include/mm_camcorder_sound.h
libmmfcamcorder_la_SOURCES = mm_camcorder.c \
mm_camcorder_internal.c \
mm_camcorder_configure.c \
mm_camcorder_util.c \
mm_camcorder_exifinfo.c \
- mm_camcorder_sound.c \
- mm_camcorder_mused.c
+ mm_camcorder_sound.c
libmmfcamcorder_la_CFLAGS = -I$(srcdir)/include \
$(GST_CFLAGS) \
libmmfcamcorder_la_LIBADD += $(SYSTEMINFO_LIBS)
if WAYLAND_SUPPORT
+includelibmmfcamcorder_HEADERS += include/mm_camcorder_mused.h
+libmmfcamcorder_la_SOURCES += mm_camcorder_mused.c
libmmfcamcorder_la_CFLAGS += $(GST_WAYLAND_CFLAGS)
libmmfcamcorder_la_LIBADD += $(GST_WAYLAND_LIBS)
+else
+noinst_HEADERS += include/mm_camcorder_mused.h
endif
install-exec-hook: