swaybg: convert to git

This commit is contained in:
Markus Volk 2021-06-02 17:36:25 +02:00
parent 5a733abfd2
commit 9a5f87b25a
2 changed files with 32 additions and 4 deletions

View File

@ -17,12 +17,12 @@ DEPENDS = " \
"
SRC_URI = " \
https://github.com/swaywm/swaybg/archive/refs/tags/${PV}.tar.gz \
git://github.com/swaywm/swaybg.git;protocol=https \
"
SRC_URI[sha256sum] = "a23f1cde07138b865630172eff83db916d2f0989b75fb318def85dcfc3120fbd"
S = "${WORKDIR}/${PN}-${PV}"
S = "${WORKDIR}/git"
PV = "1.0"
SRCREV = "${PV}"
inherit meson pkgconfig features_check

View File

@ -0,0 +1,28 @@
SUMMARY = "Font Awesome"
HOMEPAGE = "https://fontawesome.com/"
SECTION = "base/fonts"
LICENSE = "OFL-1.1"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e3494502db283e8891d4886fe445912"
SRC_URI = " \
git://github.com/FortAwesome/Font-Awesome.git;protocol=https \
"
S = "${WORKDIR}/git"
PV = "5.15.3"
SRCREV = "${PV}"
do_install () {
install -d ${D}${datadir}/fonts/opentype
for font in ${S}/otfs/*.otf; do
install -m 0644 "$font" ${D}${datadir}/fonts/opentype
done
}
FILES_${PN} = " \
${datadir}/fonts \
"