mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-17 22:03:45 +00:00
Move the plugins into plugin-specific directories
This will allow us to add further documentation here in the future.
This commit is contained in:
parent
d8e8134bdf
commit
319a6bab12
@ -9,7 +9,8 @@ SUBDIRS = \
|
|||||||
data \
|
data \
|
||||||
docs \
|
docs \
|
||||||
policy \
|
policy \
|
||||||
src
|
src \
|
||||||
|
plugins
|
||||||
|
|
||||||
snapshot:
|
snapshot:
|
||||||
$(MAKE) dist distdir=$(PACKAGE)-$(VERSION)-`date +"%Y%m%d"`
|
$(MAKE) dist distdir=$(PACKAGE)-$(VERSION)-`date +"%Y%m%d"`
|
||||||
|
@ -327,7 +327,9 @@ docs/version.xml
|
|||||||
policy/Makefile
|
policy/Makefile
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/plugins/Makefile
|
plugins/Makefile
|
||||||
|
plugins/test/Makefile
|
||||||
|
plugins/steelseries/Makefile
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
@ -154,7 +154,8 @@ make check VERBOSE=1
|
|||||||
%dir %{_localstatedir}/cache/app-info/xmls
|
%dir %{_localstatedir}/cache/app-info/xmls
|
||||||
/usr/lib/udev/rules.d/*.rules
|
/usr/lib/udev/rules.d/*.rules
|
||||||
%dir %{_libdir}/fwupd-plugins-1
|
%dir %{_libdir}/fwupd-plugins-1
|
||||||
%{_libdir}/fwupd-plugins-1/*.so
|
%{_libdir}/fwupd-plugins-1/libfu_plugin_steelseries.so
|
||||||
|
%{_libdir}/fwupd-plugins-1/libfu_plugin_test.so
|
||||||
%ghost %{_localstatedir}/lib/fwupd/gnupg
|
%ghost %{_localstatedir}/lib/fwupd/gnupg
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
1
plugins/Makefile.am
Normal file
1
plugins/Makefile.am
Normal file
@ -0,0 +1 @@
|
|||||||
|
SUBDIRS = test steelseries
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
$(APPSTREAM_GLIB_CFLAGS) \
|
$(APPSTREAM_GLIB_CFLAGS) \
|
||||||
$(GUSB_CFLAGS) \
|
$(GUSB_CFLAGS) \
|
||||||
@ -8,16 +7,7 @@ AM_CPPFLAGS = \
|
|||||||
-I$(top_srcdir)/src
|
-I$(top_srcdir)/src
|
||||||
|
|
||||||
plugindir = $(libdir)/fwupd-plugins-1
|
plugindir = $(libdir)/fwupd-plugins-1
|
||||||
plugin_LTLIBRARIES = \
|
plugin_LTLIBRARIES = libfu_plugin_steelseries.la
|
||||||
libfu_plugin_steelseries.la \
|
|
||||||
libfu_plugin_test.la
|
|
||||||
|
|
||||||
libfu_plugin_test_la_SOURCES = \
|
|
||||||
fu-plugin-test.c
|
|
||||||
libfu_plugin_test_la_LIBADD = $(GLIB_LIBS)
|
|
||||||
libfu_plugin_test_la_LDFLAGS = -module -avoid-version
|
|
||||||
libfu_plugin_test_la_CFLAGS = $(WARN_CFLAGS) \
|
|
||||||
-DG_LOG_DOMAIN=\"FuPluginTest\"
|
|
||||||
|
|
||||||
libfu_plugin_steelseries_la_SOURCES = \
|
libfu_plugin_steelseries_la_SOURCES = \
|
||||||
fu-plugin-steelseries.c
|
fu-plugin-steelseries.c
|
||||||
@ -26,4 +16,6 @@ libfu_plugin_steelseries_la_LDFLAGS = -module -avoid-version
|
|||||||
libfu_plugin_steelseries_la_CFLAGS = $(WARN_CFLAGS) \
|
libfu_plugin_steelseries_la_CFLAGS = $(WARN_CFLAGS) \
|
||||||
-DG_LOG_DOMAIN=\"FuPluginSteelSeries\"
|
-DG_LOG_DOMAIN=\"FuPluginSteelSeries\"
|
||||||
|
|
||||||
|
EXTRA_DIST = README.md
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
9
plugins/steelseries/README.md
Normal file
9
plugins/steelseries/README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
SteelSeries Support
|
||||||
|
===================
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
------------
|
||||||
|
|
||||||
|
This plugin is used to get the correct version number on SteelSeries gaming
|
||||||
|
mice. These mice have updatable firmware but so far no updates are available
|
||||||
|
from the vendor.
|
20
plugins/test/Makefile.am
Normal file
20
plugins/test/Makefile.am
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
AM_CPPFLAGS = \
|
||||||
|
$(GUSB_CFLAGS) \
|
||||||
|
$(GLIB_CFLAGS) \
|
||||||
|
-I$(top_srcdir) \
|
||||||
|
-I$(top_srcdir)/libfwupd \
|
||||||
|
-I$(top_srcdir)/src
|
||||||
|
|
||||||
|
plugindir = $(libdir)/fwupd-plugins-1
|
||||||
|
plugin_LTLIBRARIES = libfu_plugin_test.la
|
||||||
|
|
||||||
|
libfu_plugin_test_la_SOURCES = \
|
||||||
|
fu-plugin-test.c
|
||||||
|
libfu_plugin_test_la_LIBADD = $(GLIB_LIBS)
|
||||||
|
libfu_plugin_test_la_LDFLAGS = -module -avoid-version
|
||||||
|
libfu_plugin_test_la_CFLAGS = $(WARN_CFLAGS) \
|
||||||
|
-DG_LOG_DOMAIN=\"FuPluginTest\"
|
||||||
|
|
||||||
|
EXTRA_DIST = README.md
|
||||||
|
|
||||||
|
-include $(top_srcdir)/git.mk
|
7
plugins/test/README.md
Normal file
7
plugins/test/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Test Support
|
||||||
|
============
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
------------
|
||||||
|
|
||||||
|
This plugin is used when running the self tests in the fwupd project.
|
@ -1,5 +1,3 @@
|
|||||||
SUBDIRS = plugins
|
|
||||||
|
|
||||||
introspectiondir = $(datadir)/dbus-1/interfaces
|
introspectiondir = $(datadir)/dbus-1/interfaces
|
||||||
dist_introspection_DATA = \
|
dist_introspection_DATA = \
|
||||||
org.freedesktop.fwupd.xml
|
org.freedesktop.fwupd.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user