diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-09-28 17:53:08 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-09-28 17:53:08 +0900 |
commit | f09079c448d52d02fbe4226140cee1fd7654bb0d (patch) | |
tree | 3f871c294af0f08b15556c078f220ce64ad11da8 /gui-wm | |
parent | app-misc/mirafetch: new package, add 0.1.0, 9999 (diff) | |
download | guru-f09079c448d52d02fbe4226140cee1fd7654bb0d.tar.gz guru-f09079c448d52d02fbe4226140cee1fd7654bb0d.tar.bz2 guru-f09079c448d52d02fbe4226140cee1fd7654bb0d.zip |
gui-wm/miracle-wm: add 0.3.6
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'gui-wm')
-rw-r--r-- | gui-wm/miracle-wm/Manifest | 1 | ||||
-rw-r--r-- | gui-wm/miracle-wm/miracle-wm-0.3.6.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/gui-wm/miracle-wm/Manifest b/gui-wm/miracle-wm/Manifest index 8a8a89171..780b1141d 100644 --- a/gui-wm/miracle-wm/Manifest +++ b/gui-wm/miracle-wm/Manifest @@ -1 +1,2 @@ DIST miracle-wm-0.3.5.tar.gz 453789 BLAKE2B 2f5e160e31df5a28722ba2c43f525ac150cceca57e759ddb3da3ee133eeb77a7436887d36784759db9b8398c6d189f4b0ef0cf393dc30d2cc86dc526d64810c8 SHA512 644868c534628623948c961c3d0ee84f41c51c19d759bdf9f04957a5b73126750f98da154785dd25bc20089c04f41d30e7283a5f2a14b00ffdaf69da5ef9d4b9 +DIST miracle-wm-0.3.6.tar.gz 455730 BLAKE2B 9e3c8677332776a1431e0aa412a7909d5284936e64362558e2c3e00c515709297dbfee1f36a7cf980b999c7c2ee3b8fe893b1624deb1f8a3690cf0f269606093 SHA512 b710ac21518c83faab8e0c75ac23e5522e08073c88915ea4cb2f7a7400dd6dd60a14f107096a287a3037c385b70c6186af582befcb06fceff2f44ad45b4ecf1f diff --git a/gui-wm/miracle-wm/miracle-wm-0.3.6.ebuild b/gui-wm/miracle-wm/miracle-wm-0.3.6.ebuild new file mode 100644 index 000000000..50d74eb00 --- /dev/null +++ b/gui-wm/miracle-wm/miracle-wm-0.3.6.ebuild @@ -0,0 +1,55 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd + +DESCRIPTION="Tiling Wayland compositor based on Mir" +HOMEPAGE="https://github.com/miracle-wm-org/miracle-wm" +SRC_URI="https://github.com/miracle-wm-org/miracle-wm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+ MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="systemd test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-cpp/yaml-cpp:= + dev-cpp/nlohmann_json + dev-libs/glib:2 + dev-libs/json-c:= + dev-libs/libevdev + >=gui-libs/mir-2.18 + dev-libs/libpcre2:= + media-libs/libglvnd + x11-base/xwayland + x11-libs/libnotify +" +DEPEND=" + ${RDEPEND} + media-libs/glm +" +BDEPEND=" + virtual/pkgconfig + test? ( dev-cpp/gtest ) +" + +src_prepare() { + cmake_src_prepare + use test || cmake_comment_add_subdirectory tests/ + + sed -i "s| /usr/lib/systemd/user| $(systemd_get_userunitdir)|" CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DSYSTEMD_INTEGRATION=$(usex systemd) + ) + cmake_src_configure +} + +src_test() { + "${BUILD_DIR}/bin/miracle-wm-tests" || die +} |