%description devel
Development package of Wayland Compositor Library for Tizen
+## libds-tizen-allocator-tbm
+%package allocator-tbm
+Summary: Allocator Library with TBM
+Group: Development/Libraries
+
+%description allocator-tbm
+Allocator Library with TBM
+
+%package allocator-tbm-devel
+Summary: TBM Allocator Development package
+Group: Development/Libraries
+
+%description allocator-tbm-devel
+TBM Allocator Development package
+
## libds-tizen-backend-tdm
%package backend-tdm
Summary: Display Backend Library with TDM
%{_bindir}/tinyds-tdm-libinput
%{_bindir}/input-generator
+%files allocator-tbm
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license LICENSE
+%{_libdir}/libds-tizen-allocator-tbm.so.*
+
+%files allocator-tbm-devel
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license LICENSE
+%{_includedir}/libds-tizen/allocator/tbm.h
+%{_libdir}/pkgconfig/libds-tizen-allocator-tbm.pc
+%{_libdir}/libds-tizen-allocator-tbm.so
+
%files backend-tdm
%manifest %{name}.manifest
%defattr(-,root,root,-)
-libds_tizen_files += files('tbm.c')
-libds_tizen_deps += dependency('libtbm', required: true)
+subdir('tbm')
--- /dev/null
+libds_tizen_allocator_tbm_files = files(
+ 'tbm.c',
+)
+
+libds_tizen_allocator_tbm_deps = [
+ dep_libds_tizen,
+ dependency('libtbm', required: true)
+]
+
+lib_libds_tizen_allocator_tbm = shared_library('ds-tizen-allocator-tbm', libds_tizen_allocator_tbm_files,
+ dependencies: libds_tizen_allocator_tbm_deps,
+ include_directories: [ include_directories('/usr/include'), common_inc, include_directories('.'), include_directories('..')],
+ version: meson.project_version(),
+ install: true
+)
+
+dep_libds_tizen_allocator_tbm = declare_dependency(
+ link_with: lib_libds_tizen_allocator_tbm,
+ dependencies: libds_tizen_allocator_tbm_deps,
+ include_directories: [ common_inc, include_directories('.') ],
+)
+
+pkgconfig = import('pkgconfig')
+pkgconfig.generate(lib_libds_tizen_allocator_tbm,
+ version: meson.project_version(),
+ filebase: 'libds-tizen-allocator-tbm',
+ name: 'libds-tizen-allocator-tbm',
+ description: 'tbm allocator of libds-tizen for tizen platform',
+)
\ No newline at end of file
#include <assert.h>
#include <stdlib.h>
-#include <drm_fourcc.h>
#include <wayland-server.h>
#include <tbm_bufmgr.h>
#include <tbm_surface.h>
libds_tizen_backend_tdm_deps = [
dep_libds_tizen,
+ dep_libds_tizen_allocator_tbm,
dependency('libtdm', required: true),
dependency('libtbm', required: true)
]
#include <assert.h>
#include <stdlib.h>
-
#include <tbm_surface.h>
#include <libds/log.h>
-#include "libds-tizen/allocator/tbm.h"
+#include "libds-tizen/allocator/tbm.h"
#include "tdm_internal.h"
#include "tdm_output_hwc.h"
#include "tdm_buffer_queue.h"
dependency('tizen-dpms-server', required: true),
]
-subdir('allocator')
subdir('util')
lib_libds_tizen = shared_library('ds-tizen', libds_tizen_files,
description: 'extension of libds for tizen platform',
)
+subdir('allocator')
subdir('backend')
subdir('keyrouter')
subdir('input-devicemgr')