From fd0fde82540145f8525ba635e026e7a665da2f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 20 Jan 2020 22:09:50 +0700 Subject: [PATCH] libxfce4ui: split plugins for glade into subpackage libxfce4ui-glade is a plugin for glade, XFCE's developer said in their IRC channel, those plugins is being used only by their developers. Split them out. Ubuntu also split it this way, Xubuntu is pretty popular and well-tested distribution, follows their steps looks like a sensible choice. --- srcpkgs/libxfce4ui-glade | 1 + srcpkgs/libxfce4ui/template | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/libxfce4ui-glade diff --git a/srcpkgs/libxfce4ui-glade b/srcpkgs/libxfce4ui-glade new file mode 120000 index 0000000000..25d90dd6d9 --- /dev/null +++ b/srcpkgs/libxfce4ui-glade @@ -0,0 +1 @@ +libxfce4ui \ No newline at end of file diff --git a/srcpkgs/libxfce4ui/template b/srcpkgs/libxfce4ui/template index a3fa247157..25a5c47995 100644 --- a/srcpkgs/libxfce4ui/template +++ b/srcpkgs/libxfce4ui/template @@ -1,7 +1,7 @@ # Template file for 'libxfce4ui' pkgname=libxfce4ui version=4.14.1 -revision=3 +revision=4 build_style=gnu-configure build_helper="gir" configure_args="--disable-static" @@ -29,7 +29,15 @@ libxfce4ui-devel_package() { vmove "usr/lib/*.so" vmove usr/share/gtk-doc if [ "$build_option_gir" ]; then - vmove usr/share/gir-1.0 - fi + vmove usr/share/gir-1.0 + fi + } +} + +libxfce4ui-glade_package() { + short_desc+=" - glade plugins" + pkg_install() { + vmove usr/lib/glade + vmove usr/share/glade } }