add manpages support

This commit is contained in:
Markus Volk
2025-04-02 07:57:08 +02:00
parent b566ecc06d
commit 939242fcdf
11 changed files with 34 additions and 39 deletions

View File

@ -11,7 +11,7 @@ DEPENDS = " \
RRECOMMENDS:${PN} = "grim slurp"
inherit meson gtk-icon-cache mime-xdg pkgconfig
inherit meson gtk-icon-cache mime-xdg pkgconfig manpages
SRC_URI = " \
git://github.com/jtheoof/swappy.git;protocol=https;branch=master \
@ -21,7 +21,4 @@ S = "${WORKDIR}/git"
PV = "1.5.1"
SRCREV = "a996b2cec65aadd04ded780f141b02c5bdfbeb32"
PACKAGECONFIG[man-pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
PACKAGECONFIG ?= "man-pages"
PACKAGECONFIG[manpages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"

View File

@ -23,23 +23,21 @@ S = "${WORKDIR}/git"
PV = "0.10.1"
SRCREV = "4275fa3915c12ad2731ff78027188b4b7ceaad64"
PACKAGECONFIG[bash] = "-Dbash-completions=true,-Dbash-completions=false"
PACKAGECONFIG[fish] = "-Dfish-completions=true,-Dfish-completions=false"
PACKAGECONFIG[man-pages] = "-Dman-pages=true,-Dman-pages=false,scdoc-native"
PACKAGECONFIG[scripting] = "-Dscripting=true,-Dscripting=false"
PACKAGECONFIG[systemd] = "-Dsystemd-service=true,-Dsystemd-service=false"
PACKAGECONFIG[zsh] = "-Dzsh-completions=true,-Dzsh-completions=false"
PACKAGECONFIG ?= " \
bash \
"
inherit meson pkgconfig vala
inherit meson pkgconfig vala manpages
VALA_MESON_OPTION = ""
EXTRA_OEMESON += "--buildtype release"
PACKAGECONFIG[bash] = "-Dbash-completions=true,-Dbash-completions=false"
PACKAGECONFIG[fish] = "-Dfish-completions=true,-Dfish-completions=false"
PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,scdoc-native"
PACKAGECONFIG[scripting] = "-Dscripting=true,-Dscripting=false"
PACKAGECONFIG[systemd] = "-Dsystemd-service=true,-Dsystemd-service=false"
PACKAGECONFIG[zsh] = "-Dzsh-completions=true,-Dzsh-completions=false"
PACKAGECONFIG ?= "bash"
FILES:${PN} += "${datadir}"
BBCLASSEXTEND = ""

View File

@ -34,7 +34,7 @@ DEPENDS += " \
wayland-protocols \
"
inherit meson pkgconfig features_check
inherit meson pkgconfig features_check manpages
PACKAGECONFIG[libcxx] = "-Dlibcxx=true,-Dlibcxx=false,libcxx clang-tidy"
PACKAGECONFIG[dbusmenu-gtk] = "-Ddbusmenu-gtk=enabled,-Ddbusmenu-gtk=disabled,libdbusmenu-gtk"
@ -43,7 +43,7 @@ PACKAGECONFIG[experimental] = "-Dexperimental=true,-Dexperimental=false"
PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack"
PACKAGECONFIG[libinput] = "-Dlibinput=enabled,-Dlibinput=disabled,libinput"
PACKAGECONFIG[logind] = "-Dlogind=enabled,-Dlogind=disabled,systemd"
PACKAGECONFIG[man_pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
PACKAGECONFIG[manpages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
PACKAGECONFIG[mpd] = "-Dmpd=enabled,-Dmpd=disabled,libmpdclient"
PACKAGECONFIG[mpris] = "-Dmpris=enabled,-Dmpris=disabled,playerctl"
PACKAGECONFIG[network] = "-Dlibnl=enabled,-Dlibnl=disabled,libnl"