aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gui-wm/miracle-wm')
-rw-r--r--gui-wm/miracle-wm/Manifest1
-rw-r--r--gui-wm/miracle-wm/miracle-wm-0.3.7.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/gui-wm/miracle-wm/Manifest b/gui-wm/miracle-wm/Manifest
index b8af13283..2ea4e56be 100644
--- a/gui-wm/miracle-wm/Manifest
+++ b/gui-wm/miracle-wm/Manifest
@@ -1 +1,2 @@
DIST miracle-wm-0.3.6.tar.gz 455730 BLAKE2B 9e3c8677332776a1431e0aa412a7909d5284936e64362558e2c3e00c515709297dbfee1f36a7cf980b999c7c2ee3b8fe893b1624deb1f8a3690cf0f269606093 SHA512 b710ac21518c83faab8e0c75ac23e5522e08073c88915ea4cb2f7a7400dd6dd60a14f107096a287a3037c385b70c6186af582befcb06fceff2f44ad45b4ecf1f
+DIST miracle-wm-0.3.7.tar.gz 455795 BLAKE2B 262357e01981d3113f6c807148231023a95f9f28261005abefdf30675b414432a1c9385afc7955db3126e31312fd41cbf99d65c538e9d7d0cb425b3718089c3e SHA512 5e9b3f5013cc63d6e98567817afbbbca2d8f46adc8e9da9254babacdd8164b8fc132918417373d45f59f38cf0a1105802b2979beb281cffb7d661c1350069d4f
diff --git a/gui-wm/miracle-wm/miracle-wm-0.3.7.ebuild b/gui-wm/miracle-wm/miracle-wm-0.3.7.ebuild
new file mode 100644
index 000000000..50d74eb00
--- /dev/null
+++ b/gui-wm/miracle-wm/miracle-wm-0.3.7.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
+}