diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-08-14 22:16:05 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-08-14 22:20:00 +0900 |
commit | 2b8e0bbb195fdd6d9f3ee320cd9d1ad5b692cb96 (patch) | |
tree | 7e020ff465a14d25ee389d715e9cb3d03e5951d3 /gui-wm/miracle-wm/miracle-wm-0.3.2.ebuild | |
parent | dev-python/jpype: Roll back remaining test functionality. (diff) | |
download | guru-2b8e0bbb195fdd6d9f3ee320cd9d1ad5b692cb96.tar.gz guru-2b8e0bbb195fdd6d9f3ee320cd9d1ad5b692cb96.tar.bz2 guru-2b8e0bbb195fdd6d9f3ee320cd9d1ad5b692cb96.zip |
gui-wm/miracle-wm: add 0.3.2
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'gui-wm/miracle-wm/miracle-wm-0.3.2.ebuild')
-rw-r--r-- | gui-wm/miracle-wm/miracle-wm-0.3.2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gui-wm/miracle-wm/miracle-wm-0.3.2.ebuild b/gui-wm/miracle-wm/miracle-wm-0.3.2.ebuild new file mode 100644 index 000000000..e61fc948a --- /dev/null +++ b/gui-wm/miracle-wm/miracle-wm-0.3.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Tiling Wayland compositor based on Mir" +HOMEPAGE="https://github.com/mattkae/miracle-wm" +SRC_URI="https://github.com/mattkae/miracle-wm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-cpp/yaml-cpp:= + dev-cpp/nlohmann_json + dev-libs/glib:2 + dev-libs/libevdev + gui-libs/mir + 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/ +} + +src_test() { + "${BUILD_DIR}/bin/miracle-wm-tests" || die +} |