From 7bcfea9c5e79a425a62a66bba477b9d3c0d7fdd0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 7 May 2024 00:00:56 +0100 Subject: gentoo auto-resync : 07:05:2024 - 00:00:56 --- gui-wm/hyprland/Manifest | 2 +- gui-wm/hyprland/hyprland-0.39.1-r1.ebuild | 145 ----------------------------- gui-wm/hyprland/hyprland-0.39.1-r2.ebuild | 146 ++++++++++++++++++++++++++++++ 3 files changed, 147 insertions(+), 146 deletions(-) delete mode 100644 gui-wm/hyprland/hyprland-0.39.1-r1.ebuild create mode 100644 gui-wm/hyprland/hyprland-0.39.1-r2.ebuild (limited to 'gui-wm/hyprland') diff --git a/gui-wm/hyprland/Manifest b/gui-wm/hyprland/Manifest index ec05a8762e1f..ced66452e62a 100644 --- a/gui-wm/hyprland/Manifest +++ b/gui-wm/hyprland/Manifest @@ -4,6 +4,6 @@ DIST hyprland-0.38.1.gh.tar.gz 54701702 BLAKE2B 56f16d938099856be9aea0a089154e58 DIST hyprland-0.39.1.gh.tar.gz 54681029 BLAKE2B 5a78c5e7cef3369fd72abc05941f88f0391fb87e79afaa13c128acd9f8d2aa79d6af4d0dc82a90c09689993fe914ac48bc5ba4a32173eed31ecc20204f5a4edc SHA512 da8ee577aa823c9fb7b45bfd07503656561c1cd4cac42a9bf8f582f653c93b20824b3bce7bbcbd47b7f7f8e83fb1b630d6d5c983fe345c971322369f193c2c8f EBUILD hyprland-0.37.1.ebuild 3715 BLAKE2B 9ad1db0bcb9e2c63fa3a23abe14c26c4a3fae60a46985731fbea497a9fa86165f1f7c942ad744cd84a5f8a7d2b711f93493ad04faf23317c89bee3adb631c499 SHA512 3de2a9ed87567edf2707e2997ebc2cef0ac3f914aed184ae4121515298f1c566075fcb3e4b1ca2dc19b333676dcc259dfea110b5deb177629ed6d46396938e35 EBUILD hyprland-0.38.1.ebuild 3735 BLAKE2B 867a6609496a33ebb6863c7d0405136e83eea51b5967527a71027b61259a3887395f8c623bf81372db92845d0497e40ac987eec06c47ee57156f4145d5f09939 SHA512 8bd315cb5cecec8c3aab4c2d9c768cb4c18e07b286b1828072f5897ab567861b28a128f6adfd94606653610e551fc845c710c58bd5525a5ddb9cacd48985fd85 -EBUILD hyprland-0.39.1-r1.ebuild 3886 BLAKE2B 3271531c5d2606c7791323913557f5376d3e7afefbddde708f216601bada1cf2efcb209c6473c834054666dc4f12ac38a545059294325daa3bfa786a21d5a9bf SHA512 f371f7a82bea139d725a71028bce7a513ed0fca3239998469c2edd34e1444edac19eeaedd3e94297fb7dcba0d5df828b7c55f36b8254b98c6cdcfb062e6a8d2c +EBUILD hyprland-0.39.1-r2.ebuild 3907 BLAKE2B 39b1897016ce0a8c80fc0b8dea975d36d78dabe42a11a383e9bf94d6769bb2bbce14369dcfdda01eb5ed7a250616b434c4258e07d91ee86b2d832ca01e3b8913 SHA512 29c93f31f0fed3db078c32d06603a36f2039e090b847f3f0b3dcb96bf91821a8e7ebd5495bd8afc60fc6a60e99c0ea597cf9055ca36d56bd1f4502e914530b13 EBUILD hyprland-9999.ebuild 3743 BLAKE2B edd4811dd90e6e7bcc687fad14d3347f9c8f1b331495dc16bbc2be9923d030a64ad4cebb3c1e6a854d4ae71bfb8cb0e9a0b33ff65db59ad239d6970cdb0b7503 SHA512 00e9734317157f11133d409f4911a61d70cb52227e40b57044b6576b8b5a4a6da124bd156baab1981dc955a24a367ffd7f544a9ff06e56f44d1f47080e2bf196 MISC metadata.xml 716 BLAKE2B fc5248c809b9b5bf1002e3d82ff80f595b8e613d09e5541f1a0151c3ea2c117376d25fa5a40c85d254533708d9eff5339bd329b42118e87ca49e22e55c0c5d7b SHA512 31252ced2546f3686f17259aabfe9273af14f7efaf3fa0bfb446c65c6d9478be3a23c531e0ac463f27fe1d50842f6f126f32e47a8a03a345306297e182952e98 diff --git a/gui-wm/hyprland/hyprland-0.39.1-r1.ebuild b/gui-wm/hyprland/hyprland-0.39.1-r1.ebuild deleted file mode 100644 index 6b1a6eff78b2..000000000000 --- a/gui-wm/hyprland/hyprland-0.39.1-r1.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson toolchain-funcs - -DESCRIPTION="A dynamic tiling Wayland compositor that doesn't sacrifice on its looks" -HOMEPAGE="https://github.com/hyprwm/Hyprland" - -if [[ "${PV}" = *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git" -else - SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${P}.gh.tar.gz" - S="${WORKDIR}/${PN}-source" - - KEYWORDS="~amd64 ~riscv" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="X legacy-renderer systemd" - -# hyprpm (hyprland plugin manager) requires the dependencies at runtime -# so that it can clone, compile and install plugins. -HYPRPM_RDEPEND=" - app-alternatives/ninja - dev-build/cmake - dev-build/meson - dev-vcs/git - virtual/pkgconfig -" -# bundled wlroots has the following dependency string according to included headers. -# wlroots[drm,gles2-renderer,libinput,x11-backend?,X?] -# enable x11-backend with X and vice versa -WLROOTS_DEPEND=" - >=dev-libs/wayland-1.22 - media-libs/libglvnd - media-libs/mesa[egl(+),gles2] - >=x11-libs/libdrm-2.4.114 - x11-libs/libxkbcommon - >=x11-libs/pixman-0.42.0 - media-libs/libdisplay-info - sys-apps/hwdata - >=dev-libs/libinput-1.14.0:= - sys-auth/seatd:= - virtual/libudev:= - X? ( - x11-libs/libxcb:= - x11-libs/xcb-util-renderutil - x11-libs/xcb-util-wm - x11-base/xwayland - ) -" -WLROOTS_RDEPEND=" - ${WLROOTS_DEPEND} -" -WLROOTS_BDEPEND=" - >=dev-libs/wayland-protocols-1.32 - dev-util/wayland-scanner - virtual/pkgconfig -" -RDEPEND=" - ${HYPRPM_RDEPEND} - ${WLROOTS_RDEPEND} - dev-cpp/tomlplusplus - dev-libs/glib:2 - dev-libs/libinput - >=dev-libs/wayland-1.20.0 - >=gui-libs/hyprcursor-0.1.7 - media-libs/libglvnd - x11-libs/cairo - x11-libs/libdrm - x11-libs/libxkbcommon - x11-libs/pango - x11-libs/pixman - X? ( - x11-libs/libxcb:0= - ) -" -DEPEND=" - ${RDEPEND} - ${WLROOTS_DEPEND} - >=dev-libs/hyprland-protocols-0.2 - >=dev-libs/hyprlang-0.3.2 - >=dev-libs/wayland-protocols-1.32 -" -BDEPEND=" - ${WLROOTS_BDEPEND} - || ( >=sys-devel/gcc-13:* >=sys-devel/clang-16:* ) - app-misc/jq - dev-build/cmake - dev-util/wayland-scanner - virtual/pkgconfig -" - -PATCHES=( - # https://bugs.gentoo.org/930132 - # https://github.com/hyprwm/Hyprland/pull/5653 - "${FILESDIR}/bash-completion-fix-0.39.1.patch" -) - -pkg_setup() { - [[ ${MERGE_TYPE} == binary ]] && return - - if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then - eerror "Hyprland requires >=sys-devel/gcc-13 to build" - eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc" - die "GCC version is too old to compile Hyprland!" - elif tc-is-clang && ver_test $(clang-version) -lt 16 ; then - eerror "Hyprland requires >=sys-devel/clang-16 to build" - eerror "Please upgrade Clang: emerge -v1 sys-devel/clang" - die "Clang version is too old to compile Hyprland!" - fi -} - -src_configure() { - local emesonargs=( - $(meson_feature legacy-renderer legacy_renderer) - $(meson_feature systemd) - $(meson_feature X xwayland) - $(meson_feature X wlroots:xwayland) - -Dwlroots:backends=drm,libinput$(usev X ',x11') - -Dwlroots:xcb-errors=disabled - ) - - meson_src_configure -} - -src_install() { - # First install everything except wlroots to avoid conflicts. - meson_src_install --skip-subprojects wlroots - # Then install development files (mainly wlroots) for bug #916760. - meson_src_install --tags devel - - # Wlroots headers are required by hyprland-plugins and the pkgconfig file expects - # them to be in /usr/include/hyprland/wlroots, despite this they aren't installed there. - # Ideally you could override includedir per subproject and the install tags would - # be granular enough to only install headers. But its not requiring this. - mkdir "${ED}"/usr/include/hyprland/wlroots || die - mv "${ED}"/usr/include/wlr "${ED}"/usr/include/hyprland/wlroots || die - # devel tag includes wlroots .pc and .a files still - rm -rf "${ED}"/usr/$(get_libdir)/ || die -} diff --git a/gui-wm/hyprland/hyprland-0.39.1-r2.ebuild b/gui-wm/hyprland/hyprland-0.39.1-r2.ebuild new file mode 100644 index 000000000000..1a1f34af97b0 --- /dev/null +++ b/gui-wm/hyprland/hyprland-0.39.1-r2.ebuild @@ -0,0 +1,146 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson toolchain-funcs + +DESCRIPTION="A dynamic tiling Wayland compositor that doesn't sacrifice on its looks" +HOMEPAGE="https://github.com/hyprwm/Hyprland" + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git" +else + SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${P}.gh.tar.gz" + S="${WORKDIR}/${PN}-source" + + KEYWORDS="~amd64 ~riscv" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="X legacy-renderer systemd" + +# hyprpm (hyprland plugin manager) requires the dependencies at runtime +# so that it can clone, compile and install plugins. +HYPRPM_RDEPEND=" + app-alternatives/ninja + dev-build/cmake + dev-build/meson + dev-libs/libliftoff + dev-vcs/git + virtual/pkgconfig +" +# bundled wlroots has the following dependency string according to included headers. +# wlroots[drm,gles2-renderer,libinput,x11-backend?,X?] +# enable x11-backend with X and vice versa +WLROOTS_DEPEND=" + >=dev-libs/wayland-1.22 + media-libs/libglvnd + media-libs/mesa[egl(+),gles2] + >=x11-libs/libdrm-2.4.114 + x11-libs/libxkbcommon + >=x11-libs/pixman-0.42.0 + media-libs/libdisplay-info + sys-apps/hwdata + >=dev-libs/libinput-1.14.0:= + sys-auth/seatd:= + virtual/libudev:= + X? ( + x11-libs/libxcb:= + x11-libs/xcb-util-renderutil + x11-libs/xcb-util-wm + x11-base/xwayland + ) +" +WLROOTS_RDEPEND=" + ${WLROOTS_DEPEND} +" +WLROOTS_BDEPEND=" + >=dev-libs/wayland-protocols-1.32 + dev-util/wayland-scanner + virtual/pkgconfig +" +RDEPEND=" + ${HYPRPM_RDEPEND} + ${WLROOTS_RDEPEND} + dev-cpp/tomlplusplus + dev-libs/glib:2 + dev-libs/libinput + >=dev-libs/wayland-1.20.0 + >=gui-libs/hyprcursor-0.1.7 + media-libs/libglvnd + x11-libs/cairo + x11-libs/libdrm + x11-libs/libxkbcommon + x11-libs/pango + x11-libs/pixman + X? ( + x11-libs/libxcb:0= + ) +" +DEPEND=" + ${RDEPEND} + ${WLROOTS_DEPEND} + >=dev-libs/hyprland-protocols-0.2 + >=dev-libs/hyprlang-0.3.2 + >=dev-libs/wayland-protocols-1.32 +" +BDEPEND=" + ${WLROOTS_BDEPEND} + || ( >=sys-devel/gcc-13:* >=sys-devel/clang-16:* ) + app-misc/jq + dev-build/cmake + dev-util/wayland-scanner + virtual/pkgconfig +" + +PATCHES=( + # https://bugs.gentoo.org/930132 + # https://github.com/hyprwm/Hyprland/pull/5653 + "${FILESDIR}/bash-completion-fix-0.39.1.patch" +) + +pkg_setup() { + [[ ${MERGE_TYPE} == binary ]] && return + + if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then + eerror "Hyprland requires >=sys-devel/gcc-13 to build" + eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc" + die "GCC version is too old to compile Hyprland!" + elif tc-is-clang && ver_test $(clang-version) -lt 16 ; then + eerror "Hyprland requires >=sys-devel/clang-16 to build" + eerror "Please upgrade Clang: emerge -v1 sys-devel/clang" + die "Clang version is too old to compile Hyprland!" + fi +} + +src_configure() { + local emesonargs=( + $(meson_feature legacy-renderer legacy_renderer) + $(meson_feature systemd) + $(meson_feature X xwayland) + $(meson_feature X wlroots:xwayland) + -Dwlroots:backends=drm,libinput$(usev X ',x11') + -Dwlroots:xcb-errors=disabled + ) + + meson_src_configure +} + +src_install() { + # First install everything except wlroots to avoid conflicts. + meson_src_install --skip-subprojects wlroots + # Then install development files (mainly wlroots) for bug #916760. + meson_src_install --tags devel + + # Wlroots headers are required by hyprland-plugins and the pkgconfig file expects + # them to be in /usr/include/hyprland/wlroots, despite this they aren't installed there. + # Ideally you could override includedir per subproject and the install tags would + # be granular enough to only install headers. But its not requiring this. + mkdir "${ED}"/usr/include/hyprland/wlroots || die + mv "${ED}"/usr/include/wlr "${ED}"/usr/include/hyprland/wlroots || die + # devel tag includes wlroots .pc and .a files still + rm -rf "${ED}"/usr/$(get_libdir)/ || die +} -- cgit v1.2.3