diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
commit | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (patch) | |
tree | 3cb05783d73b2c33589ba305144a31c718e123cd /dev-libs/sway | |
parent | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (diff) |
gentoo resync : 03.03.2019
Diffstat (limited to 'dev-libs/sway')
-rw-r--r-- | dev-libs/sway/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/sway/metadata.xml | 56 | ||||
-rw-r--r-- | dev-libs/sway/sway-1.0_rc1-r1.ebuild | 113 | ||||
-rw-r--r-- | dev-libs/sway/sway-1.0_rc2.ebuild | 109 | ||||
-rw-r--r-- | dev-libs/sway/sway-1.0_rc3.ebuild | 109 | ||||
-rw-r--r-- | dev-libs/sway/sway-9999.ebuild | 109 |
6 files changed, 0 insertions, 504 deletions
diff --git a/dev-libs/sway/Manifest b/dev-libs/sway/Manifest deleted file mode 100644 index 46d3dbca5242..000000000000 --- a/dev-libs/sway/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -DIST sway-1.0_rc1.tar.gz 5461910 BLAKE2B a9b3a14dfbb40a616b58fce896f0088dfc722e942129e12e7dae3f2121cb84ffcd565902ee49712275e01d6b6a344642d85d8cf394a35b151725dcc94d19b40d SHA512 6532bae679774fcdb1bcc3044740ff5c56f5f6a007a08e910f4d9ee43ac0488be7666a87106b493923432f975088c90ff47369fa1a01c5e1cb67d3a1f9b74bce -DIST sway-1.0_rc2.tar.gz 5462530 BLAKE2B 95868df3d03a61be33e04602d6891a2827cd1b5eab08644f74e04c3cbae39e686ee046be5ae9762595774fd22190e2460e246b564db92c50509ad61a16bb0835 SHA512 78c93f2326952d9e56ebf38f5d6b646934230b1bf5fac50cf35f16b2c1753ffa31dd9ec874a05025ed0d1d828b9a8643c78e739abbcfba55301255b3d0ed4a3e -DIST sway-1.0_rc3.tar.gz 5463453 BLAKE2B 2db52506e6f07f92ab02c48e0cc1b08bad55f355989226f07ed43392f3bfdc088cdd9183b76e349eb83eff331e5236456c1189208619748a9d78ed5ea8de7652 SHA512 95966bfc7431345a6c4c12bf4aa11980f56acc70fc902aa489bb88368bc5412953780ebaa9eae27908dbabf0ed96881ce3bf00cd51879815631b463801ce11cf -EBUILD sway-1.0_rc1-r1.ebuild 3019 BLAKE2B 4cdcf8fec26f9239093ddc4fefd7883190146f0ca0d0a618d6442a23ee4a0187c05f6a84a55a6defe9dc37a546c61b8e4c6e5fb017b12a159700921e254ea83e SHA512 c1e77282fe4b644f06a0805b2971e88e567c01726b165569ddb8318eb86e0111c1bcbdd7db72aefc51783aa20e59ca8418bc74bc26e6bc1884118d9ceb4b5fbf -EBUILD sway-1.0_rc2.ebuild 2942 BLAKE2B 045ac141e67d0872e13c2d17d5ad4cefbaff1bcfce81896eb3117e1a05b52c8ec1a27546b5d969370db4891214680431eefea043cca2ba9c154ef6cd40e55511 SHA512 4577e6e6f9c4046bb892dfc1956f9cfb66445576167bda49e23918b1aa5987074409a0a996dd40bdb3fea043801b4233cfbc5b8261cea6d6dd39a691b9147dce -EBUILD sway-1.0_rc3.ebuild 2942 BLAKE2B 045ac141e67d0872e13c2d17d5ad4cefbaff1bcfce81896eb3117e1a05b52c8ec1a27546b5d969370db4891214680431eefea043cca2ba9c154ef6cd40e55511 SHA512 4577e6e6f9c4046bb892dfc1956f9cfb66445576167bda49e23918b1aa5987074409a0a996dd40bdb3fea043801b4233cfbc5b8261cea6d6dd39a691b9147dce -EBUILD sway-9999.ebuild 2942 BLAKE2B 045ac141e67d0872e13c2d17d5ad4cefbaff1bcfce81896eb3117e1a05b52c8ec1a27546b5d969370db4891214680431eefea043cca2ba9c154ef6cd40e55511 SHA512 4577e6e6f9c4046bb892dfc1956f9cfb66445576167bda49e23918b1aa5987074409a0a996dd40bdb3fea043801b4233cfbc5b8261cea6d6dd39a691b9147dce -MISC metadata.xml 2486 BLAKE2B 2d34da83a8d8726b91189d27a400e705a1b0259a1ca577a85e7c21784274a08a0adccc134cd523e193f8635b26dcb1802e37bfa1831f58c922285341b1eadd5e SHA512 9d382307136a126a614a8361828cb018865243b1a8c2a4dd08fbd484afc53320abf6d64dd82dd93a47d8de284552f1857c028c6c72db06199152e1458b636ec0 diff --git a/dev-libs/sway/metadata.xml b/dev-libs/sway/metadata.xml deleted file mode 100644 index e73eacb7359f..000000000000 --- a/dev-libs/sway/metadata.xml +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>bman@gentoo.org</email> - <name>Aaron Bauman</name> - </maintainer> - <maintainer type="person"> - <email>prometheanfire@gentoo.org</email> - <name>Matthew Thode</name> - </maintainer> - <maintainer type="person"> - <email>hilobakho@gmail.com</email> - <name>Mykyta Holubakha</name> - </maintainer> - <maintainer type="person"> - <email>speedjack95@gmail.com</email> - <name>Niccolò Scatena</name> - </maintainer> - <longdescription lang="en"> - "SirCmpwn's Wayland window manager" is an i3-compatible window manager - for Wayland. - - sway was created to fill the need of an i3-like window manager for - Wayland. The upstream i3 developers have no intention of porting i3 to - Wayland, and projects proposed by others ended up as vaporware. Many - thanks to the i3 folks for providing such a great piece of software, so - good that your users would rather write an entirely new window manager - from scratch that behaved *exactly* like i3 rather than switch to - something else. - </longdescription> - <use> - <flag name="elogind">Enable support for rootless session via elogind</flag> - <flag name="fish-completion">Enable fish completion support</flag> - <flag name="man">Build and install man pages</flag> - <flag name="swaybar">Install 'swaybar': sway's status bar component</flag> - <flag name="swaybg">Install 'swaybg': allows to set a desktop background image</flag> - <flag name="swayidle">Install 'swayidle': idle manager to run commands when user is inactive</flag> - <flag name="swaylock">Install 'swaylock': sway's screen locker</flag> - <flag name="swaymsg">Install 'swaymsg': tool for communicating with a running sway instance</flag> - <flag name="swaynag">Install 'swaynag': shows a message with buttons</flag> - <flag name="tray">Enable support for StatusNotifierItem tray specification</flag> - <flag name="wallpapers">Install sway's default wallpaper image</flag> - <flag name="X">Enable support for X11 applications (XWayland)</flag> - </use> - <upstream> - <remote-id type="github">swaywm/sway</remote-id> - <maintainer status="active"> - <email>sir@cmpwn.com</email> - <name>Drew DeVault</name> - </maintainer> - <bugs-to>https://github.com/swaywm/sway/issues</bugs-to> - <doc>https://github.com/swaywm/sway/wiki</doc> - <changelog>https://github.com/swaywm/sway/releases</changelog> - </upstream> -</pkgmetadata> diff --git a/dev-libs/sway/sway-1.0_rc1-r1.ebuild b/dev-libs/sway/sway-1.0_rc1-r1.ebuild deleted file mode 100644 index 47262ad9b430..000000000000 --- a/dev-libs/sway/sway-1.0_rc1-r1.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils meson - -DESCRIPTION="i3-compatible Wayland window manager" -HOMEPAGE="https://swaywm.org" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" -else - MY_PV=${PV/_rc/-rc} - SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion" -REQUIRED_USE="?? ( elogind systemd ) - tray? ( || ( elogind systemd ) )" - -DEPEND=" - >=dev-libs/json-c-0.13:0= - >=dev-libs/libinput-1.6.0:0= - dev-libs/libpcre - dev-libs/wayland - x11-libs/cairo - x11-libs/libxkbcommon - x11-libs/pango - x11-libs/pixman - elogind? ( >=sys-auth/elogind-239 ) - swaybar? ( x11-libs/gdk-pixbuf:2 ) - swaybg? ( x11-libs/gdk-pixbuf:2 ) - swayidle? ( dev-libs/swayidle ) - swaylock? ( dev-libs/swaylock ) - systemd? ( >=sys-apps/systemd-239 ) - X? ( x11-libs/libxcb:0= ) -" -if [[ ${PV} == 9999 ]]; then - DEPEND+="~dev-libs/wlroots-9999[elogind=,systemd=,X=]" -else - DEPEND+=">=dev-libs/wlroots-0.3[elogind=,systemd=,X=]" -fi -RDEPEND=" - x11-misc/xkeyboard-config - ${DEPEND} -" -BDEPEND=" - >=dev-libs/wayland-protocols-1.14 - virtual/pkgconfig - man? ( >=app-text/scdoc-1.8.1 ) -" - -src_prepare() { - default - - use swaybar || sed -e "s/subdir('swaybar')//g" -e "/sway-bar.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaybar/d" -i meson.build || die - use swaybg || sed -e "s/subdir('swaybg')//g" -i meson.build || die - use swaymsg || sed -e "s/subdir('swaymsg')//g" -e "/swaymsg.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaymsg/d" -i meson.build || die - use swaynag || sed -e "s/subdir('swaynag')//g" -e "/swaynag.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaynag/d" -i meson.build || die -} - -src_configure() { - local emesonargs=( - -Dman-pages=$(usex man enabled disabled) - -Dtray=$(usex tray enabled disabled) - -Dxwayland=$(usex X enabled disabled) - $(meson_use wallpapers default-wallpaper) - $(meson_use fish-completion fish-completions) - $(meson_use zsh-completion zsh-completions) - "-Dbash-completions=true" - "-Dwerror=false" - ) - - if use swaybar || use swaybg; then - emesonargs+=("-Dgdk-pixbuf=enabled") - else - emesonargs+=("-Dgdk-pixbuf=disabled") - fi - - if [[ ${PV} != 9999 ]]; then - emesonargs+=("-Dsway-version=${MY_PV}") - fi - - meson_src_configure -} - -pkg_preinst() { - if ! use systemd && ! use elogind; then - fowners root:0 /usr/bin/sway - fperms 4511 /usr/bin/sway - fi -} - -pkg_postinst() { - if ! use systemd && ! use elogind; then - elog "" - elog "If you use ConsoleKit2, remember to launch sway using:" - elog "exec ck-launch-session sway" - elog "" - elog "If your system does not set the XDG_RUNTIME_DIR environment" - elog "variable, you must set it manually to run Sway. See wiki" - elog "for details: https://wiki.gentoo.org/wiki/Sway" - fi -} diff --git a/dev-libs/sway/sway-1.0_rc2.ebuild b/dev-libs/sway/sway-1.0_rc2.ebuild deleted file mode 100644 index f1d3935e2f12..000000000000 --- a/dev-libs/sway/sway-1.0_rc2.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils meson - -DESCRIPTION="i3-compatible Wayland window manager" -HOMEPAGE="https://swaywm.org" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" -else - MY_PV=${PV/_rc/-rc} - SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion" -REQUIRED_USE="?? ( elogind systemd ) - tray? ( || ( elogind systemd ) )" - -DEPEND=" - >=dev-libs/json-c-0.13:0= - >=dev-libs/libinput-1.6.0:0= - dev-libs/libpcre - dev-libs/wayland - x11-libs/cairo - x11-libs/libxkbcommon - x11-libs/pango - x11-libs/pixman - elogind? ( >=sys-auth/elogind-239 ) - swaybar? ( x11-libs/gdk-pixbuf:2 ) - swaybg? ( x11-libs/gdk-pixbuf:2 ) - swayidle? ( dev-libs/swayidle ) - swaylock? ( dev-libs/swaylock ) - systemd? ( >=sys-apps/systemd-239 ) - X? ( x11-libs/libxcb:0= ) -" -if [[ ${PV} == 9999 ]]; then - DEPEND+="~dev-libs/wlroots-9999[elogind=,systemd=,X=]" -else - DEPEND+=">=dev-libs/wlroots-0.3[elogind=,systemd=,X=]" -fi -RDEPEND=" - x11-misc/xkeyboard-config - ${DEPEND} -" -BDEPEND=" - >=dev-libs/wayland-protocols-1.14 - virtual/pkgconfig - man? ( >=app-text/scdoc-1.8.1 ) -" - -src_prepare() { - default - - use swaybar || sed -e "s/subdir('swaybar')//g" -e "/sway-bar.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaybar/d" -i meson.build || die - use swaybg || sed -e "s/subdir('swaybg')//g" -i meson.build || die - use swaymsg || sed -e "s/subdir('swaymsg')//g" -e "/swaymsg.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaymsg/d" -i meson.build || die - use swaynag || sed -e "s/subdir('swaynag')//g" -e "/swaynag.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaynag/d" -i meson.build || die -} - -src_configure() { - local emesonargs=( - -Dman-pages=$(usex man enabled disabled) - -Dtray=$(usex tray enabled disabled) - -Dxwayland=$(usex X enabled disabled) - $(meson_use wallpapers default-wallpaper) - $(meson_use fish-completion fish-completions) - $(meson_use zsh-completion zsh-completions) - "-Dbash-completions=true" - "-Dwerror=false" - ) - - if use swaybar || use swaybg; then - emesonargs+=("-Dgdk-pixbuf=enabled") - else - emesonargs+=("-Dgdk-pixbuf=disabled") - fi - - meson_src_configure -} - -pkg_preinst() { - if ! use systemd && ! use elogind; then - fowners root:0 /usr/bin/sway - fperms 4511 /usr/bin/sway - fi -} - -pkg_postinst() { - if ! use systemd && ! use elogind; then - elog "" - elog "If you use ConsoleKit2, remember to launch sway using:" - elog "exec ck-launch-session sway" - elog "" - elog "If your system does not set the XDG_RUNTIME_DIR environment" - elog "variable, you must set it manually to run Sway. See wiki" - elog "for details: https://wiki.gentoo.org/wiki/Sway" - fi -} diff --git a/dev-libs/sway/sway-1.0_rc3.ebuild b/dev-libs/sway/sway-1.0_rc3.ebuild deleted file mode 100644 index f1d3935e2f12..000000000000 --- a/dev-libs/sway/sway-1.0_rc3.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils meson - -DESCRIPTION="i3-compatible Wayland window manager" -HOMEPAGE="https://swaywm.org" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" -else - MY_PV=${PV/_rc/-rc} - SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion" -REQUIRED_USE="?? ( elogind systemd ) - tray? ( || ( elogind systemd ) )" - -DEPEND=" - >=dev-libs/json-c-0.13:0= - >=dev-libs/libinput-1.6.0:0= - dev-libs/libpcre - dev-libs/wayland - x11-libs/cairo - x11-libs/libxkbcommon - x11-libs/pango - x11-libs/pixman - elogind? ( >=sys-auth/elogind-239 ) - swaybar? ( x11-libs/gdk-pixbuf:2 ) - swaybg? ( x11-libs/gdk-pixbuf:2 ) - swayidle? ( dev-libs/swayidle ) - swaylock? ( dev-libs/swaylock ) - systemd? ( >=sys-apps/systemd-239 ) - X? ( x11-libs/libxcb:0= ) -" -if [[ ${PV} == 9999 ]]; then - DEPEND+="~dev-libs/wlroots-9999[elogind=,systemd=,X=]" -else - DEPEND+=">=dev-libs/wlroots-0.3[elogind=,systemd=,X=]" -fi -RDEPEND=" - x11-misc/xkeyboard-config - ${DEPEND} -" -BDEPEND=" - >=dev-libs/wayland-protocols-1.14 - virtual/pkgconfig - man? ( >=app-text/scdoc-1.8.1 ) -" - -src_prepare() { - default - - use swaybar || sed -e "s/subdir('swaybar')//g" -e "/sway-bar.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaybar/d" -i meson.build || die - use swaybg || sed -e "s/subdir('swaybg')//g" -i meson.build || die - use swaymsg || sed -e "s/subdir('swaymsg')//g" -e "/swaymsg.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaymsg/d" -i meson.build || die - use swaynag || sed -e "s/subdir('swaynag')//g" -e "/swaynag.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaynag/d" -i meson.build || die -} - -src_configure() { - local emesonargs=( - -Dman-pages=$(usex man enabled disabled) - -Dtray=$(usex tray enabled disabled) - -Dxwayland=$(usex X enabled disabled) - $(meson_use wallpapers default-wallpaper) - $(meson_use fish-completion fish-completions) - $(meson_use zsh-completion zsh-completions) - "-Dbash-completions=true" - "-Dwerror=false" - ) - - if use swaybar || use swaybg; then - emesonargs+=("-Dgdk-pixbuf=enabled") - else - emesonargs+=("-Dgdk-pixbuf=disabled") - fi - - meson_src_configure -} - -pkg_preinst() { - if ! use systemd && ! use elogind; then - fowners root:0 /usr/bin/sway - fperms 4511 /usr/bin/sway - fi -} - -pkg_postinst() { - if ! use systemd && ! use elogind; then - elog "" - elog "If you use ConsoleKit2, remember to launch sway using:" - elog "exec ck-launch-session sway" - elog "" - elog "If your system does not set the XDG_RUNTIME_DIR environment" - elog "variable, you must set it manually to run Sway. See wiki" - elog "for details: https://wiki.gentoo.org/wiki/Sway" - fi -} diff --git a/dev-libs/sway/sway-9999.ebuild b/dev-libs/sway/sway-9999.ebuild deleted file mode 100644 index f1d3935e2f12..000000000000 --- a/dev-libs/sway/sway-9999.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils meson - -DESCRIPTION="i3-compatible Wayland window manager" -HOMEPAGE="https://swaywm.org" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" -else - MY_PV=${PV/_rc/-rc} - SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion" -REQUIRED_USE="?? ( elogind systemd ) - tray? ( || ( elogind systemd ) )" - -DEPEND=" - >=dev-libs/json-c-0.13:0= - >=dev-libs/libinput-1.6.0:0= - dev-libs/libpcre - dev-libs/wayland - x11-libs/cairo - x11-libs/libxkbcommon - x11-libs/pango - x11-libs/pixman - elogind? ( >=sys-auth/elogind-239 ) - swaybar? ( x11-libs/gdk-pixbuf:2 ) - swaybg? ( x11-libs/gdk-pixbuf:2 ) - swayidle? ( dev-libs/swayidle ) - swaylock? ( dev-libs/swaylock ) - systemd? ( >=sys-apps/systemd-239 ) - X? ( x11-libs/libxcb:0= ) -" -if [[ ${PV} == 9999 ]]; then - DEPEND+="~dev-libs/wlroots-9999[elogind=,systemd=,X=]" -else - DEPEND+=">=dev-libs/wlroots-0.3[elogind=,systemd=,X=]" -fi -RDEPEND=" - x11-misc/xkeyboard-config - ${DEPEND} -" -BDEPEND=" - >=dev-libs/wayland-protocols-1.14 - virtual/pkgconfig - man? ( >=app-text/scdoc-1.8.1 ) -" - -src_prepare() { - default - - use swaybar || sed -e "s/subdir('swaybar')//g" -e "/sway-bar.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaybar/d" -i meson.build || die - use swaybg || sed -e "s/subdir('swaybg')//g" -i meson.build || die - use swaymsg || sed -e "s/subdir('swaymsg')//g" -e "/swaymsg.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaymsg/d" -i meson.build || die - use swaynag || sed -e "s/subdir('swaynag')//g" -e "/swaynag.[0-9].scd/d" \ - -e "/completions\/[a-z]\+\/_\?swaynag/d" -i meson.build || die -} - -src_configure() { - local emesonargs=( - -Dman-pages=$(usex man enabled disabled) - -Dtray=$(usex tray enabled disabled) - -Dxwayland=$(usex X enabled disabled) - $(meson_use wallpapers default-wallpaper) - $(meson_use fish-completion fish-completions) - $(meson_use zsh-completion zsh-completions) - "-Dbash-completions=true" - "-Dwerror=false" - ) - - if use swaybar || use swaybg; then - emesonargs+=("-Dgdk-pixbuf=enabled") - else - emesonargs+=("-Dgdk-pixbuf=disabled") - fi - - meson_src_configure -} - -pkg_preinst() { - if ! use systemd && ! use elogind; then - fowners root:0 /usr/bin/sway - fperms 4511 /usr/bin/sway - fi -} - -pkg_postinst() { - if ! use systemd && ! use elogind; then - elog "" - elog "If you use ConsoleKit2, remember to launch sway using:" - elog "exec ck-launch-session sway" - elog "" - elog "If your system does not set the XDG_RUNTIME_DIR environment" - elog "variable, you must set it manually to run Sway. See wiki" - elog "for details: https://wiki.gentoo.org/wiki/Sway" - fi -} |