From 34753f0703b775be89190c2d6a519e542387f3e8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 21 Jul 2022 02:43:04 +0100 Subject: gentoo auto-resync : 21:07:2022 - 02:43:03 --- gui-wm/Manifest.gz | Bin 716 -> 718 bytes gui-wm/wayfire/Manifest | 1 + gui-wm/wayfire/wayfire-0.7.3-r1.ebuild | 105 +++++++++++++++++++++++++++++++++ 3 files changed, 106 insertions(+) create mode 100644 gui-wm/wayfire/wayfire-0.7.3-r1.ebuild (limited to 'gui-wm') diff --git a/gui-wm/Manifest.gz b/gui-wm/Manifest.gz index 84d690ad02d6..59818796f009 100644 Binary files a/gui-wm/Manifest.gz and b/gui-wm/Manifest.gz differ diff --git a/gui-wm/wayfire/Manifest b/gui-wm/wayfire/Manifest index da0fd2baa999..a3c8ce27c4b8 100644 --- a/gui-wm/wayfire/Manifest +++ b/gui-wm/wayfire/Manifest @@ -3,6 +3,7 @@ AUX wayfire-session.desktop 204 BLAKE2B a8e01f911881c651ec67b5945b91dca615186659 DIST wayfire-0.7.2.tar.xz 753132 BLAKE2B 0873ff9937cdc7cc63af2c2c365c7e3eed9c0784ab0777e88de9aa373316e9bb1c87a10651d8526577e3da32e402e4d8f6db68d32bc4fcf5513f526751f76829 SHA512 e1321605dbae2b9769a54aaacb0e4a4259b1e2ab4304e8a8c1257f7033b2d740b0632053309ecccc75e04f7b6d2bdf6d68dcebad6950fd914c3052b19bc58e24 DIST wayfire-0.7.3.tar.xz 765524 BLAKE2B b82c66796d7fb3d07c7bd9078755b7c38df1bd5c93daa659fc98b1182679bc0a06a24b322c6ab492d06d30c898659e2ba849c1d5944260e8775a04fd8a5bd078 SHA512 7bb5b8492a632a9816e847ec72def74dc234bcc30da7c320a0cd3b1d60492f5521ad8ac76a12ef967d1b114bcde9be72eb8ffc618977aed8e198d4ace1e7056e EBUILD wayfire-0.7.2.ebuild 2577 BLAKE2B 3d055c91bb239f2de824f6ef078ff95ce6cc0ce091d18e6ac779906025a00691a0bfd666ddea43451b637019f5a43eeaecb835e18a432ce0e6e5f0e10a4ae7a6 SHA512 60267b1489444e52792510e82ef6e1688106b0048cba00502896304e7ddd7a2151b601c60c124ef9783c3faf43d6692502509561a5db8482db2f827db7aac043 +EBUILD wayfire-0.7.3-r1.ebuild 2551 BLAKE2B 41db962bb55ea2befe3d1738f8b387d3c975fc1c738d4ca662b161f97e46ea5889273502f32bbfeb5dd276d546e0f11c06e75879fce52fdac428fb72d4b00ca1 SHA512 a14f392bb30fcf8f81fe7d7400a0fdfbb8958085f671bc3bdb9a4140622237326f988b46055e0aef98cf8b71d0ee1ca3451d8b0adfaf6b3bd19b229f7dbd3fe4 EBUILD wayfire-0.7.3.ebuild 2541 BLAKE2B 71284ffa1907373db6b7ddf3890de9abb43e5c5e6ba474ae05e2eaba1a98339833f19093b6e0527826e2fe2833f51fbc7b74d0073f3f0ab89babad4878b8654f SHA512 ca24d435b74292cf16d450a37ee63c45cebf9bea020227eef7a72bf19d785a5b0a80abc5bffe9ad843144ac649901f5c506e37c12eeabad135aced4619431808 EBUILD wayfire-9999.ebuild 2498 BLAKE2B a96066f19f798f7d93d04165324091b68f821e74486e23074b69209dd5a7c0fda324a11ebc452042ec7dfcf77c94de7ad4051c391bdfb7c4521edc7d634a7346 SHA512 2116bdaadc59c297cbb77b308a110efd9892b5299ef19f64e7d3e159a55f4d452b86912b37d6bbf87959a826fc69d0564a7dfd89f9be89b8f6d7a71b7410ab8e MISC metadata.xml 826 BLAKE2B b9f5dbd9d8072b9f9c1559e341247d2a8462bd4e0927a9196d8a99c08eff7bcb686d2dc4beb04c8ae4afae48068b2d2eed15367b8c567c7366d800c4dfe551b4 SHA512 9476f06db6a703730a6590f79aab70fe5ded825e5b17ef8ca8abc692b1fc634e404e06c07af6788f82caaf1802ec699512126e84eb3f5d481ef6a8bcf93fa32d diff --git a/gui-wm/wayfire/wayfire-0.7.3-r1.ebuild b/gui-wm/wayfire/wayfire-0.7.3-r1.ebuild new file mode 100644 index 000000000000..c08e5cc1021f --- /dev/null +++ b/gui-wm/wayfire/wayfire-0.7.3-r1.ebuild @@ -0,0 +1,105 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson toolchain-funcs + +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 ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="debug +gles +system-wfconfig +system-wlroots X" + +DEPEND=" + dev-libs/libinput:= + dev-libs/wayland + gui-libs/gtk-layer-shell + media-libs/glm + media-libs/mesa:=[gles2,wayland,X?] + media-libs/libglvnd[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] + x11-libs/libxkbcommon[X?] + x11-libs/pango + x11-libs/pixman + X? ( + x11-base/xwayland + x11-libs/libxcb + ) + system-wfconfig? ( + >=gui-libs/wf-config-0.7.1 + =gui-libs/wlroots-0.15.1:0/15[X?] + ) + !system-wlroots? ( !gui-libs/wlroots ) +" + +RDEPEND=" + ${DEPEND} + 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) + $(usex debug --buildtype=debug "") + $(usex debug -Db_sanitize=address,undefined "") + ) + + # Clang will fail to link without this + tc-is-clang && emesonargs+=( $(usex debug -Db_lundef=false "") ) + + meson_src_configure +} + +src_install() { + meson_src_install + dobin "${T}"/wayfire-session + + insinto "/usr/share/wayland-sessions/" + insopts -m644 + doins wayfire.desktop + doins "${T}"/wayfire-session.desktop + + insinto "/usr/share/wayfire/" + doins wayfire.ini +} + +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/wayfire/wayfire.ini\"" + elog "To install the file execute" + elog "\$ cp /usr/share/wayfire/wayfire.ini ~/.config/wayfire.ini" + fi +} -- cgit v1.2.3