mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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. Signed-off-by: Jason Schonberg <schonm@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 lines
583 B
Plaintext
19 lines
583 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 = "https://www.xfce.org"
|
|
XFCE_COMPRESS_TYPE ?= "bz2"
|
|
SRC_URI = "https://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.${XFCE_COMPRESS_TYPE}"
|
|
|
|
inherit gettext gtk-icon-cache pkgconfig
|
|
|
|
XFCEBASEBUILDCLASS ??= "autotools"
|
|
inherit_defer ${XFCEBASEBUILDCLASS}
|
|
|
|
DEPENDS += "intltool-native"
|
|
|
|
FILES:${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
|
|
FILES:${PN}-doc += "${datadir}/xfce4/doc"
|