summaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-panel-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xfce/recipes-panel-plugins')
-rw-r--r--meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.7.4.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.7.4.bb b/meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.7.4.bb
index d75d51e28..202078ee7 100644
--- a/meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.7.4.bb
+++ b/meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.7.4.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "Panel plugin to display current temperature and weather condition
2HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin" 2HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin"
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5PR = "r1"
5 6
6inherit xfce-panel-plugin 7inherit xfce-panel-plugin
7 8
@@ -9,4 +10,14 @@ SRC_URI += "file://port-to-libxfce4ui.patch"
9SRC_URI[md5sum] = "03c972d13eba5cd226432ff66e3ff282" 10SRC_URI[md5sum] = "03c972d13eba5cd226432ff66e3ff282"
10SRC_URI[sha256sum] = "3f76207b8a845d15bfec6825bd5300aedd086c455259c4dd8670a89a3c8ab382" 11SRC_URI[sha256sum] = "3f76207b8a845d15bfec6825bd5300aedd086c455259c4dd8670a89a3c8ab382"
11 12
13do_compile_prepend() {
14 # Switch to a working license key
15 # https://bugs.archlinux.org/task/26815
16 sed -i \
17 -e 's/^#define PARTNER_ID.*/#define PARTNER_ID "1003666583"/' \
18 -e 's/^#define LICENSE_KEY.*/#define LICENSE_KEY "4128909340a9b2fc"/' \
19 ${S}/panel-plugin/weather.h
20
21}
22
12FILES_${PN} += "${datadir}/xfce4/weather" 23FILES_${PN} += "${datadir}/xfce4/weather"