diff options
author | Aisha Tammy <floss@bsd.ac> | 2021-05-16 12:36:55 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-06-03 15:45:16 +0300 |
commit | a4c7fc294656996bf54277b97d6e08b54985723a (patch) | |
tree | b440645cba020a7bdcb01528a7990a1b18d35a8f | |
parent | gui-wm/wayfire: drop old unstable versions (diff) | |
download | gentoo-a4c7fc294656996bf54277b97d6e08b54985723a.tar.gz gentoo-a4c7fc294656996bf54277b97d6e08b54985723a.tar.bz2 gentoo-a4c7fc294656996bf54277b97d6e08b54985723a.zip |
gui-wm/wayfire: version bump to 0.7.1
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r-- | gui-libs/wf-config/Manifest | 1 | ||||
-rw-r--r-- | gui-libs/wf-config/wf-config-0.7.1.ebuild | 35 | ||||
-rw-r--r-- | gui-wm/wayfire/Manifest | 3 | ||||
-rw-r--r-- | gui-wm/wayfire/wayfire-0.7.1.ebuild | 104 |
4 files changed, 142 insertions, 1 deletions
diff --git a/gui-libs/wf-config/Manifest b/gui-libs/wf-config/Manifest index 345490fae336..870e06de384d 100644 --- a/gui-libs/wf-config/Manifest +++ b/gui-libs/wf-config/Manifest @@ -1,2 +1,3 @@ DIST wf-config-0.5.0.tar.xz 64760 BLAKE2B c1939035820794828b356371c51dbd55a73a569e3a9dcf801b4aedf61c3c0131e47040a1b05e2a8cd30ecbb57f160f702b735437dfb49051a8a6a63d95201204 SHA512 b365884195cb7fc64a1ca1d74a2d12b56e1ef0f4dd49d298a9379455f2917f2c644de2b12f5068304ca404b112490e38fbfe3111aac31d301f02f23429df87c7 +DIST wf-config-0.7.0.tar.xz 73332 BLAKE2B 709a9358e564538b9db8536a5e24f2e7843498830e643ed005801624de9f71ad2661824de75f5b57541ece99d525a4689048c990df5ddc3fdcee6fc83c03e490 SHA512 ddad687b180e786060839cafe5623a0897ade061e6ad057dbe579d51595fbf2dc45674df3fb35070520dc51d7e02d4c9158d9cf8d4619ac49334014f6701f06d DIST wf-config-0.7.1.tar.xz 39120 BLAKE2B b18048334df12b002391fe4a74529cb61df76a0678c9052f8ac91d777e8a48dae46b87680fb44630ebfb9a350dbac36b15bc81850341fa4cd6299c12f6fa057d SHA512 d535a09a3465a54a607df7b8764ee6818ab8b83536d68c85167b282b95a176636e4bf5cda6c0d1638c07721a1f4208203e9d41b83675038fb590a535314df719 diff --git a/gui-libs/wf-config/wf-config-0.7.1.ebuild b/gui-libs/wf-config/wf-config-0.7.1.ebuild new file mode 100644 index 000000000000..6b7ee7b76285 --- /dev/null +++ b/gui-libs/wf-config/wf-config-0.7.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="library for managing wayfire configuration files" +HOMEPAGE="https://github.com/WayfireWM/wf-config" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/WayfireWM/wf-config.git" +else + SRC_URI="https://github.com/WayfireWM/wf-config/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +DEPEND=" + dev-libs/libevdev + dev-libs/libxml2 + >=gui-libs/wlroots-0.13.0:= + <gui-libs/wlroots-0.14.0:= + media-libs/glm +" + +RDEPEND="${DEPEND}" + +BDEPEND=" + dev-libs/wayland-protocols + virtual/pkgconfig +" diff --git a/gui-wm/wayfire/Manifest b/gui-wm/wayfire/Manifest index 509bc4478e98..f93a447f4284 100644 --- a/gui-wm/wayfire/Manifest +++ b/gui-wm/wayfire/Manifest @@ -1,2 +1,3 @@ DIST wayfire-0.5.0.tar.xz 670680 BLAKE2B 6a1555669352dd1303f7472db4fbb8ada6173c09825f4e999a2862787bd5bf31e070e9e12110249b9407d8c380235f4a9d3c5be6b23defe36094822526eed6ef SHA512 9c2d116a5d6e77e37b0e4eef26624d43d6ab3a80e56e19a2de1fdd28a2a522c24b9e346eb4529848f3b2c3668460a51f428a0c196286ec8300e4823250eae811 -DIST wayfire-0.7.1.tar.xz 753168 BLAKE2B 25d2717ebc3e66b3957da06360cd49447562813bae1201e1bc58484339823ad5756ad5719b0da9675ea089da29dd664c023b9ce95ba33b739063ca81fa5d3c4e SHA512 89020831181e0ac6d17b2a237c6dcc3ebb39b2344b3882dc7f962ad18a17f02e01a19369b5650efad35d8103d59e24b80e3ecf00625027613aef9a4a4bf3c3e2 +DIST wayfire-0.7.0.tar.xz 735756 BLAKE2B 8298cc92938f5196e3dc5bac39d4d9db370e69209461feb5d7abe685e0277efd4bd42ef2c18dc41d79e20d794dae5889efec56f8278fde6efc37b8017c5e65ea SHA512 eaaa193619a6cb0c7a0879aa24a7f6d468e81aeef0b9f17a282f5f930c00557a021f4d45de4aae6f57ce5e427148387c3fdf344ea9c6843a75e777eeeeb96f79 +DIST wayfire-0.7.1.tar.xz 753104 BLAKE2B e26b5e770fff44ef04a9d832ed404f05d37448c8ecc0be1e976b8bd0866c2716150bc43394fc4d2fbba1854696eaf54f16dabc632b686f236e66313d0d1eaf59 SHA512 c045ed16d2eb24b508f84d6616021638ec139b99618f5cb834f2b3675d1e549a6cc1bc3150dd97965a16a2a23fe54abe34e4671ce345350a7fb4084f13d7e969 diff --git a/gui-wm/wayfire/wayfire-0.7.1.ebuild b/gui-wm/wayfire/wayfire-0.7.1.ebuild new file mode 100644 index 000000000000..e5889895cfa4 --- /dev/null +++ b/gui-wm/wayfire/wayfire-0.7.1.ebuild @@ -0,0 +1,104 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="compiz like 3D wayland compositor" +HOMEPAGE="https://github.com/WayfireWM/wayfire" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git" +else + SRC_URI="https://github.com/WayfireWM/${PN}/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+gles +system-wfconfig +system-wlroots elogind systemd X" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + dev-libs/libevdev + dev-libs/libinput + gui-libs/gtk-layer-shell + media-libs/glm + media-libs/mesa:=[gles2,wayland,X?] + media-libs/libjpeg-turbo + media-libs/libpng + media-libs/freetype:=[X?] + x11-libs/libdrm + x11-libs/gtk+:3=[wayland,X?] + x11-libs/cairo:=[X?,svg] + X? ( x11-libs/libxkbcommon:=[X] ) + x11-libs/pixman + gles? ( media-libs/libglvnd[X?] ) + system-wfconfig? ( + >=gui-libs/wf-config-0.7.1 + <gui-libs/wf-config-0.8.0 + ) + !system-wfconfig? ( !gui-libs/wf-config ) + system-wlroots? ( + >=gui-libs/wlroots-0.13.0:=[elogind=,systemd=,X?] + <gui-libs/wlroots-0.14.0:= + ) + !system-wlroots? ( !gui-libs/wlroots ) +" + +RDEPEND=" + ${DEPEND} + elogind? ( sys-auth/elogind ) + systemd? ( sys-apps/systemd ) + x11-misc/xkeyboard-config +" + +BDEPEND=" + dev-libs/wayland-protocols + virtual/pkgconfig +" + +src_configure() { + sed -e "s:@EPREFIX@:${EPREFIX}:" \ + "${FILESDIR}"/wayfire-session > "${T}"/wayfire-session || die + sed -e "s:@EPREFIX@:${EPREFIX}:" \ + "${FILESDIR}"/wayfire-session.desktop > "${T}"/wayfire-session.desktop || die + local emesonargs=( + $(meson_feature system-wfconfig use_system_wfconfig) + $(meson_feature system-wlroots use_system_wlroots) + $(meson_feature X xwayland) + $(meson_use gles enable_gles32) + ) + meson_src_configure +} + +src_install() { + default + meson_src_install + dobin "${T}"/wayfire-session + einstalldocs + + insinto "/usr/share/wayland-sessions/" + insopts -m644 + doins wayfire.desktop + doins "${T}"/wayfire-session.desktop + + dodoc wayfire.ini + + if ! use systemd && ! use elogind; then + fowners root:0 /usr/bin/wayfire + fperms 4511 /usr/bin/wayfire + fi +} + +pkg_postinst() { + if [ -z "${REPLACING_VERSIONS}" ]; then + elog "Wayfire has been installed but the session cannot be used" + elog "until you install a configuration file. The default config" + elog "file is installed at \"/usr/share/doc/${PF}/wayfire.ini.bz2\"" + elog "To install the file execute" + elog "\$ mkdir -p ~/.config && bzcat /usr/share/doc/${PF}/wayfire.ini.bz2 > ~/.config/wayfire.ini" + fi +} |