mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
561e0e911f
While using devtool to check available versions, I noticed a 301 http error.
Specifically :
$ devtool latest-version libxfce4ui
Resolving archive.xfce.org (archive.xfce.org)... 217.70.191.87
Connecting to archive.xfce.org (archive.xfce.org)|217.70.191.87|:80... connected
.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://archive.xfce.org/src/xfce/libxfce4ui/4.20/ [following]
With this patch, we change to make the SRC_URI an https request.
A similar patch is already in master - commit 8089168196
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
15 lines
474 B
Plaintext
15 lines
474 B
Plaintext
def xfce_verdir(v):
|
|
import re
|
|
m = re.match(r"^([0-9]+)\.([0-9]+)", v)
|
|
return "%s.%s" % (m.group(1), m.group(2))
|
|
|
|
HOMEPAGE = "http://www.xfce.org"
|
|
SRC_URI = "https://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"
|
|
|
|
inherit autotools gettext gtk-icon-cache pkgconfig
|
|
|
|
DEPENDS += "intltool-native"
|
|
|
|
FILES:${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
|
|
FILES:${PN}-doc += "${datadir}/xfce4/doc"
|