-%define PLUGIN_LIBDIR %{_libdir}/plugin
+%define PLUGIN_LIBDIR %{_libdir}/system/plugin
Name: resourced-generic
-Summary: Resourced plugin backend for rpi targets
+Summary: Resourced plugin backend for generic profile
Version: 0.1.0
Release: 0
Group: System/Libraries
BuildRequires: pkgconfig(plugin-api-resourced)
%description
-Resourced plugin backend for rpi targets
+Resourced plugin backend for generic profile
%prep
%setup -q
%build
%cmake . -DPLUGIN_NAME=%{name} \
-DPLUGIN_LIB_DIR=%{PLUGIN_LIBDIR} \
- -DPLUGIN_BACKEND_RESOURCED_MEMORY_LMK_ENABLE_DLOG=1
+ -DPLUGIN_RESOURCED_MEMORY_LMK_ENABLE_DLOG=1
make %{?jobs:-j%jobs}
%defattr(-,root,root,-)
%manifest %{name}.manifest
%license LICENSE.Apache-2.0
-%{PLUGIN_LIBDIR}/libplugin-backend-resourced-memory-lmk.so
+%{PLUGIN_LIBDIR}/libplugin-resourced-memory-lmk.so
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(plugin-backend-resourced-memory-lmk C)
+PROJECT(plugin-resourced-memory-lmk C)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
-if (${PLUGIN_BACKEND_RESOURCED_MEMORY_LMK_ENABLE_DLOG})
+if (${PLUGIN_RESOURCED_MEMORY_LMK_ENABLE_DLOG})
SET(PKG_MODULES
libsyscommon
plugin-api-resourced
glib-2.0)
ADD_DEFINITIONS("-DENABLE_DLOG")
- ADD_DEFINITIONS("-DLOG_TAG=\"PLUGIN_BACKEND_RESOURCED_MEMORY_LMK\"")
+ ADD_DEFINITIONS("-DLOG_TAG=\"PLUGIN_RESOURCED_MEMORY_LMK\"")
else()
SET(PKG_MODULES
libsyscommon