classes/xfce-panel-plugin: Make download tarball extention type configurable
PATCH 1/2 classes/xfce-panel-plugin: Make download tarball extention type configurable
Default is still tar.bz2, but there is now option to use tar.xz which is some of new plugin releases are only xz compressed tarballs.
Signed-off-by Khem Raj <[email protected]>
--- meta-xfce/classes/xfce-panel-plugin.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-xfce/classes/xfce-panel-plugin.bbclass +3 -1
@@ -4,7 +4,9 @@ REQUIRED_DISTRO_FEATURES = "x11" DEPENDS += "libxfce4ui libxfce4util xfce4-panel" -SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" +XFCE_COMPRESS_TYPE ?= "bz2" + +SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.${XFCE_COMPRESS_TYPE}" FILES:${PN} += "${datadir}/xfce4/panel-plugins/" FILES:${PN} += "${datadir}/xfce4/panel/plugins/"
PATCH 2/2 xfce4-clipman-plugin: Upgrade to 1.7.0
Add dependency on wayland and glib-2.0 native versions, needed for configuring the plugins
Signed-off-by Khem Raj <[email protected]>
--- .../clipman/xfce4-clipman-plugin_1.6.7.bb | 16 -------------- .../clipman/xfce4-clipman-plugin_1.7.0.bb | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 16 deletions(-) delete mode 100644 meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.6.7.bb create mode 100644 meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.7.0.bb
meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.6.7.bb deleted +0 -16
@@ -1,16 +0,0 @@ -SUMMARY = "Clipman is a clipboard manager for Xfce" -HOMEPAGE = "https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin/start" -SECTION = "x11/application" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" - -inherit xfce-panel-plugin - -DEPENDS += "xfconf xorgproto libxtst" - -SRC_URI[sha256sum] = "9bae27808a50e959e0912b7202ea5d651ed7401a6fc227f811d9bdaf2e44178c" - -PACKAGECONFIG ??= "" -PACKAGECONFIG[qrencode] = "--enable-libqrencode,--disable-libqrencode,qrencode" - -FILES:${PN} += "${datadir}/metainfo"
meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.7.0.bb new file +21 -0
@@ -0,0 +1,21 @@ +SUMMARY = "Clipman is a clipboard manager for Xfce" +HOMEPAGE = "https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin/start" +SECTION = "x11/application" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +inherit xfce-panel-plugin + +DEPENDS += "xfconf xorgproto libxtst glib-2.0-native" + +XFCE_COMPRESS_TYPE = "xz" +SRC_URI[sha256sum] = "903302c3070a951d44ee17a84fa3cf21d36c6787678af8fbfc79e469fd00cb46" + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" +PACKAGECONFIG[qrencode] = "--enable-libqrencode,--disable-libqrencode,qrencode" +PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native wayland" + +EXTRA_OECONF += "WAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ + GLIB_COMPILE_RESOURCES=${STAGING_BINDIR_NATIVE}/glib-compile-resources" + +FILES:${PN} += "${datadir}/metainfo"