convert to new override syntax

This commit is contained in:
Markus Volk 2021-08-07 06:23:26 +02:00
parent 575ee7b8e6
commit c2ae986cbb
33 changed files with 56 additions and 57 deletions

View File

@ -8,10 +8,9 @@ BBFILE_COLLECTIONS += "wayland"
BBFILE_PATTERN_wayland = "^${LAYERDIR}/"
BBFILE_PRIORITY_wayland = "5"
LAYERSERIES_COMPAT_wayland = "hardknott"
LAYERSERIES_COMPAT_wayland = "hardknott honister"
LAYERDEPENDS_wayland = " \
core \
openembedded-layer \
"

View File

@ -17,5 +17,5 @@ inherit meson
EXTRA_OEMESON += "--buildtype release"
FILES_${PN} += "/usr"
FILES:${PN} += "/usr"

View File

@ -6,7 +6,7 @@ SRC_URI = " \
git://github.com/altdesktop/i3ipc-python.git;protocol=https \
"
RDEPENDS_${PN} = " \
RDEPENDS:${PN} = " \
python3 \
python-xlib \
"

View File

@ -11,7 +11,7 @@ DEPENDS = " \
python3-pip-native \
"
RDEPENDS_${PN} = " \
RDEPENDS:${PN} = " \
python3 \
python3-six \
"

View File

@ -8,7 +8,7 @@ SRC_URI = " \
DEPENDS = "python3-wheel-native"
RDEPENDS_${PN} = "python-i3ipc"
RDEPENDS:${PN} = "python-i3ipc"
inherit setuptools3

View File

@ -24,7 +24,7 @@ EXTRA_OECMAKE += " \
-DUSE_SYSTEM_TZ_DB=ON \
"
do_install_append() {
do_install:append() {
# source lacks pkgconfig support. Include a pc file, so 'date' can be found using pkgconfig
install -d ${D}${libdir}/pkgconfig
install -m 0644 ${WORKDIR}/date.pc ${D}${libdir}/pkgconfig

View File

@ -22,7 +22,7 @@ do_install () {
done
}
FILES_${PN} = " \
FILES:${PN} = " \
${datadir}/fonts \
"

View File

@ -27,7 +27,7 @@ PV = "0.6.0"
SRCREV = "v${PV}"
inherit meson pkgconfig features_check
FILES_${PN} = "${datadir} ${libdir}"
FILES:${PN} = "${datadir} ${libdir}"
BBCLASSEXTEND = ""

View File

@ -16,6 +16,6 @@ SRCREV = "jq-${PV}"
inherit autotools
do_configure_prepend() {
do_configure:prepend() {
autoreconf -f
}

View File

@ -4,8 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7f6b13e4480850c59e176edd427d996e"
SRC_URI = "git://github.com/NilsBrause/waylandpp.git;tag=${PV}"
DEPENDS_append_class-native = " pugixml-native"
DEPENDS_append_class-target = " waylandpp-native wayland virtual/egl"
DEPENDS:append:class-native = " pugixml-native"
DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl"
S = "${WORKDIR}/git"
PV = "0.2.8"
@ -13,7 +13,7 @@ PV = "0.2.8"
inherit cmake
EXTRA_OECMAKE_append_class-native = " \
EXTRA_OECMAKE:append:class-native = " \
-DBUILD_SCANNER=ON \
-DBUILD_LIBRARIES=OFF \
-DBUILD_DOCUMENTATION=OFF \
@ -21,7 +21,7 @@ EXTRA_OECMAKE_append_class-native = " \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
"
EXTRA_OECMAKE_append_class-target = " \
EXTRA_OECMAKE:append:class-target = " \
-DBUILD_SCANNER=OFF \
-DBUILD_LIBRARIES=ON \
-DBUILD_DOCUMENTATION=OFF \
@ -35,11 +35,11 @@ EXTRA_OECMAKE_append_class-target = " \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--enable-new-dtags" \
"
FILES_${PN} = " \
FILES:${PN} = " \
${libdir}/libwayland*.so* \
"
FILES_${PN}-dev = " \
FILES:${PN}-dev = " \
${includedir}/* \
${libdir}/pkgconfig/* \
${libdir}/cmake/waylandpp/* \
@ -47,7 +47,7 @@ FILES_${PN}-dev = " \
"
FILES_SOLIBSDEV = ""
INSANE_SKIP_${PN} += "dev-so"
INSANE_SKIP:${PN} += "dev-so"
BBCLASSEXTEND += "native nativesdk"

View File

@ -1,5 +1,5 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/xserver-xorg:"
FILESEXTRAPATHS:prepend := "${THISDIR}/xserver-xorg:"
# This backport is needed on hardknott to enable wlroots to create the xwayland backend
SRC_URI_append = " file://0001-xwayland-Add-a-pkg-config-file-for-Xwayland.patch"
SRC_URI:append = " file://0001-xwayland-Add-a-pkg-config-file-for-Xwayland.patch"

View File

@ -24,7 +24,7 @@ DEPENDS = " \
wayland-protocols \
"
RDEPENDS_${PN} = " \
RDEPENDS:${PN} = " \
fontconfig \
freetype \
wlroots \
@ -39,6 +39,6 @@ SRCREV = "${PV}"
EXTRA_OEMESON += "--buildtype release"
PACKAGES += "${PN}-zsh-completion"
FILES_${PN}-zsh-completion = "${datadir}/zsh"
FILES:${PN}-zsh-completion = "${datadir}/zsh"
BBCLASSEXTEND = ""

View File

@ -19,7 +19,7 @@ DEPENDS = " \
scdoc-native \
"
RRECOMMENDS_${PN} = "xdg-utils"
RRECOMMENDS:${PN} = "xdg-utils"
SRC_URI = " \
git://codeberg.org/dnkl/foot.git;protocol=https \
@ -38,7 +38,7 @@ PACKAGECONFIG ?= " \
inherit meson pkgconfig features_check
FILES_${PN} = " \
FILES:${PN} = " \
${bindir} \
${datadir} \
"

View File

@ -42,6 +42,6 @@ PACKAGECONFIG ?= " \
EXTRA_OEMESON += "--buildtype release"
PACKAGES += "${PN}-zsh-completion"
FILES_${PN}-zsh-completion = "${datadir}/zsh"
FILES:${PN}-zsh-completion = "${datadir}/zsh"
BBCLASSEXTEND = ""

View File

@ -21,9 +21,9 @@ DEPENDS = " \
wayland-protocols \
"
RDEPENDS_${PN} = "dbus"
RDEPENDS:${PN} = "dbus"
RRECOMMENDS_${PN} = "jq"
RRECOMMENDS:${PN} = "jq"
inherit meson pkgconfig features_check
@ -45,7 +45,7 @@ SRCREV = "v${PV}"
EXTRA_OEMESON += "--buildtype release"
FILES_${PN} += "${datadir}"
FILES:${PN} += "${datadir}"
BBCLASSEXTEND = ""

View File

@ -6,7 +6,7 @@ SRC_URI = " \
git://github.com/nwg-piotr/azote.git;protocol=https \
"
RDEPENDS_${PN} = " \
RDEPENDS:${PN} = " \
python3 \
gtk+3 \
python3-pygobject \
@ -26,7 +26,7 @@ S = "${WORKDIR}/git"
PV = "1.9.1"
SRCREV = "v${PV}"
do_install_append() {
do_install:append() {
install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications
install -m 755 ${S}/dist/azote ${D}${bindir}
install -m 644 ${S}/dist/azote.desktop ${D}${datadir}/applications
@ -35,7 +35,7 @@ do_install_append() {
install -m 644 ${S}/dist/indicator_attention.png ${D}${datadir}/azote
}
FILES_${PN}_append = " \
FILES:${PN}:append = " \
${datadir} \
${bindir} \
"

View File

@ -19,7 +19,7 @@ inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
do_install_append() {
do_install:append() {
# remove precompiled x86 binary
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
}

View File

@ -18,7 +18,7 @@ inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
do_install_append() {
do_install:append() {
# remove precompiled x86 binary
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
}

View File

@ -7,7 +7,7 @@ DEPENDS = " \
gtk-layer-shell \
"
RRECOMMENDS_${PN} = " \
RRECOMMENDS:${PN} = " \
thunar \
foot \
"
@ -23,7 +23,7 @@ inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
do_install_append() {
do_install:append() {
# remove precompiled x86 binary
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
}

View File

@ -9,7 +9,7 @@ DEPENDS = " \
gtk-layer-shell \
"
RRECOMMENDS_${PN} = " \
RRECOMMENDS:${PN} = " \
thunar \
foot \
"
@ -25,7 +25,7 @@ inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
do_install_append() {
do_install:append() {
# remove precompiled x86 binary
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
}

View File

@ -6,7 +6,7 @@ SRC_URI = " \
git://github.com/nwg-piotr/nwg-panel.git;protocol=https \
"
RDEPENDS_${PN} = "\
RDEPENDS:${PN} = "\
light \
python3 \
python3-pygobject \
@ -20,5 +20,5 @@ S = "${WORKDIR}/git"
PV = "0.3.3"
SRCREV = "v${PV}"
INSANE_SKIP_${PN} = "file-rdeps"
INSANE_SKIP:${PN} = "file-rdeps"

View File

@ -7,7 +7,7 @@ SRC_URI = " \
"
DEPENDS = "python3"
RDEPENDS_${PN} = "python3-pygobject"
RDEPENDS:${PN} = "python3-pygobject"
inherit setuptools3 gobject-introspection

View File

@ -33,7 +33,7 @@ PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
"
FILES_${PN} += "${datadir}"
FILES:${PN} += "${datadir}"
EXTRA_OEMESON += "--buildtype release"

View File

@ -37,7 +37,7 @@ inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
FILES_${PN} += "${datadir}"
FILES:${PN} += "${datadir}"
BBCLASSEXTEND = ""

View File

@ -44,7 +44,7 @@ PACKAGECONFIG ?= " \
date \
"
RRECOMMENDS_${PN} += " \
RRECOMMENDS:${PN} += " \
font-awesome-otf \
"
@ -58,7 +58,7 @@ inherit meson pkgconfig features_check
PACKAGES += "${PN}-systemd"
FILES_${PN}-systemd += "${libdir}/systemd"
FILES:${PN}-systemd += "${libdir}/systemd"
BBCLASSEXTEND = ""

View File

@ -28,7 +28,7 @@ inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
GIR_EXTRA_LIBS_PATH="${WORKDIR}"
FILES_${PN} += "${prefix}"
FILES:${PN} += "${prefix}"
BBCLASSEXTEND = ""

View File

@ -25,7 +25,7 @@ inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
FILES_${PN} += "${datadir}"
FILES:${PN} += "${datadir}"
BBCLASSEXTEND = ""

View File

@ -21,7 +21,7 @@ DEPENDS = " \
scdoc-native \
"
RRECOMMENDS_${PN} += " \
RRECOMMENDS:${PN} += " \
font-awesome-otf \
"
@ -45,7 +45,7 @@ PACKAGECONFIG ?= " \
EXTRA_OEMESON += "--buildtype release"
PACKAGES += "${PN}-zsh-completion"
FILES_${PN}-zsh-completion = "${datadir}/zsh"
FILES:${PN}-zsh-completion = "${datadir}/zsh"
BBCLASSEXTEND = ""

View File

@ -26,9 +26,9 @@ DEPENDS += " \
wayland-protocols \
"
# sways default config makes use of it
RDEPENDS_${PN} ?= "swaybg"
RDEPENDS:${PN} ?= "swaybg"
RRECOMMENDS_${PN} ?= " \
RRECOMMENDS:${PN} ?= " \
foot \
jq \
grim \
@ -62,11 +62,11 @@ PACKAGECONFIG ?= " \
EXTRA_OEMESON += "--buildtype release"
do_install_append() {
do_install:append() {
install -m 755 ${S}/contrib/grimshot ${D}${bindir}
}
FILES_${PN}_append = " \
FILES:${PN}:append = " \
${datadir} \
"

View File

@ -27,7 +27,7 @@ DEPENDS += " \
wayland-protocols \
"
RRECOMMENDS_${PN} += " \
RRECOMMENDS:${PN} += " \
wlroots \
wcm \
wf-config \

View File

@ -25,7 +25,7 @@ inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
FILES_${PN} += "${prefix}"
FILES:${PN} += "${prefix}"
BBCLASSEXTEND = ""

View File

@ -17,7 +17,7 @@ DEPENDS = " \
libnotify3 \
"
DEPENDS_append_class-target = " gobject-introspection-native qemu-native prelink-native"
DEPENDS:append:class-target = " gobject-introspection-native qemu-native prelink-native"
REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection-data"
@ -33,7 +33,7 @@ inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
FILES_${PN} += "${prefix}"
FILES:${PN} += "${prefix}"
BBCLASSEXTEND = ""

View File

@ -41,11 +41,11 @@ inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
FILES_${PN} = "${bindir} \
FILES:${PN} = "${bindir} \
${libdir} \
"
FILES_${PN}-dev = "${includedir} \
FILES:${PN}-dev = "${includedir} \
${libdir}/libwlroots.so \
"