gplugin/gplugin

Update the packaging to install the vapi file
feature/vala
2019-07-17, Gary Kramlich
0c1ca81b05a1
Parents 147a92cc705e
Children cc4ea3b54f00
Update the packaging to install the vapi file
--- a/packaging/debian/control Wed Jul 17 10:50:21 2019 -0500
+++ b/packaging/debian/control Wed Jul 17 11:10:58 2019 -0500
@@ -7,7 +7,8 @@
gettext, help2man,
gobject-introspection, libgirepository1.0-dev,
liblua5.1-0-dev, lua-lgi,
- python3-dev, python-gi-dev, python3-gi
+ python3-dev, python-gi-dev, python3-gi,
+ valac
Homepage: https://bitbucket.org/gplugin/gplugin
Vcs-Browser: https://bitbucket.org/gplugin/gplugin/src
Vcs-Hg: https://bitbucket.org/gplugin/gplugin
--- a/packaging/debian/libgplugin-dev.install Wed Jul 17 10:50:21 2019 -0500
+++ b/packaging/debian/libgplugin-dev.install Wed Jul 17 11:10:58 2019 -0500
@@ -3,3 +3,5 @@
debian/tmp/usr/include/gplugin-1.0/gplugin-native.h
debian/tmp/usr/lib/*/libgplugin.so
debian/tmp/usr/lib/*/pkgconfig/gplugin.pc
+debian/tmp/usr/share/vala/vapi/gplugin.vapi
+
--- a/packaging/gplugin.spec.in Wed Jul 17 10:50:21 2019 -0500
+++ b/packaging/gplugin.spec.in Wed Jul 17 11:10:58 2019 -0500
@@ -22,6 +22,7 @@
BuildRequires: lua-lgi
BuildRequires: python3-devel
BuildRequires: python3-gobject
+BuildRequires: vala
BuildRequires: /usr/lib64/pkgconfig/pygobject-3.0.pc
%package -n libgplugin0
@@ -51,6 +52,9 @@
Summary: A GObject based library that implements a reusable plugin system
Group: Development/Libraries
+%package vala
+Summary: A GObject based library that implements a reusable plugin system
+Group: Development/Libraries
%description
GPlugin is a GObject based library that implements a reusable plugin system
@@ -134,6 +138,17 @@
This package contains Python 3 loader for %{name} library.
+%description vala
+GPlugin is a GObject based library that implements a reusable plugin system
+that supports loading plugins in other languages via loaders. GPlugin also
+implements dependencies among the plugins.
+
+It was started due to the infamous "Plugin Problem" for Guifications 3, which
+was that I needed plugins that could depend on each other, be able to be
+written in other languages, have plugins that are loaded before the main load
+phase, and allow plugins to register types into the GObject type system.
+
+This package contains the vapi bindings allowing GPlugin to be used from vala.
%build
mkdir -p build
@@ -219,6 +234,11 @@
%doc README
%{_libdir}/gplugin/gplugin-python.so
+%files vala
+%defattr(-,root,root)
+%doc README
+%license COPYING
+${_datadir}/vala/vapi/gplugin.vapi
%changelog
* Sun May 15 2016 Gary Kramlich <grim@reaperworld.com>