summaryrefslogtreecommitdiff
path: root/x11-misc/j4-dmenu-desktop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-18 00:10:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-18 00:10:02 +0100
commitccaccfe4f1da8c11d9fa110f6e4eb847358769d7 (patch)
treeff02c95ae3d9a1e73e2a182e268161743d81a88b /x11-misc/j4-dmenu-desktop
parent74e526c590f52d24a213e25f77858ae0b34ec2c8 (diff)
gentoo auto-resync : 18:06:2024 - 00:10:02
Diffstat (limited to 'x11-misc/j4-dmenu-desktop')
-rw-r--r--x11-misc/j4-dmenu-desktop/Manifest2
-rw-r--r--x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-3.0.ebuild63
2 files changed, 65 insertions, 0 deletions
diff --git a/x11-misc/j4-dmenu-desktop/Manifest b/x11-misc/j4-dmenu-desktop/Manifest
index d4c5b2b31feb..be8bfce11c04 100644
--- a/x11-misc/j4-dmenu-desktop/Manifest
+++ b/x11-misc/j4-dmenu-desktop/Manifest
@@ -1,4 +1,6 @@
AUX j4-dmenu-desktop-2.18-gcc13.patch 684 BLAKE2B 00ca09e661c3cec0cd4eb01636099ca7e1cb5da56c54b9b33981173b72486187767df36c48e2a059e107a2cfccaf3de0944d26cf8fe8d1b70bcc9b4bd7040a38 SHA512 b58c2bc3b30a49d02beb0aa60ee74b9d1627c4c4511804b394cf6be68e1d48499c7fdb6d8c769b5c2d8cdc973d7000c05a004cf70a1a036bb14119e222a64b48
DIST j4-dmenu-desktop-2.18.tar.gz 34785 BLAKE2B 26d5861d6d7ddcd9653a464d1175d19532001705de193811087fd42fddbdead89b8d49bd14f8e323288d6a7ba37bd4e11f4c7c52dd9b0a454f95a83a14853bcb SHA512 f8b0c825d567d60da0fb418e6f0b24a6d9daa9fb142b194b0a8b249303f4e09b6694fce72bf031007ac67253e488fc7666d4ba7beb032bc74cc2a32aca0f6c96
+DIST j4-dmenu-desktop-3.0.tar.gz 87265 BLAKE2B 63fb87b98e500b1adba188b0b523ef0c2449826e7fa5b5ca442c451ff5003160a9f6803cdb3c918da366447355b9312b9bf0ece4a7d2eebe427da4edf219f881 SHA512 9823428477600f3ab284dc80f6baef20b5f22b34269317f491c65e7331817f5a0115af20e05acb7f2c66f021f7c2d683c332a334f03088d867319926eaa4568a
EBUILD j4-dmenu-desktop-2.18-r1.ebuild 1236 BLAKE2B a914620d1147738058438861eaf1daa678c0f144ac81dd9430be4e8486cf90c52d2f9a8564d5995eed65aeefd1837235e53a963e9b4481c997667013c21f4473 SHA512 2bfd359cffe05e10ae6a2482b47ea7c66af06723269de42acea401c26abcfdb447e0b19a010b504af4b9bdf2c4ae95cc126cdd0db08d1d60a4be9adf92918537
+EBUILD j4-dmenu-desktop-3.0.ebuild 1272 BLAKE2B c9b7a4ae7b4ce8be81a8c0bd755254227e1dfa8a8c3c2c45dc5fa7616d888a90749e3a3014a777ab3a81f5705fa6c89514129e2814f04f8f3a7c522252d00f56 SHA512 ba78438cb4d5d917042686bec51be52246f5cb1198dc941e72ec652c393baf0745fcd8856e14eb3174265d11f084ea5b63cccda69284b5836e3759fa99709f43
MISC metadata.xml 720 BLAKE2B f7953adbe54ea74a53d8d24b01ab9f49ec6953730e555547de6cb19f11cf7cb359a80f517a334494007ab691942390bc8d48c27b44beed6d9e8829f120f67201 SHA512 1decbf705eafff204783071471f3fa6c99719525fd81b2eaaf0effaa41e501b81dddc2604e2069ca393933285f78f8f76686be14e6a7f0b301ebcf4fed3628e5
diff --git a/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-3.0.ebuild b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-3.0.ebuild
new file mode 100644
index 000000000000..b2f37ec6fa79
--- /dev/null
+++ b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-3.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PV="r${PV}"
+
+DESCRIPTION="A fast desktop replacement for i3-dmenu-desktop"
+HOMEPAGE="https://github.com/enkore/j4-dmenu-desktop"
+SRC_URI="https://github.com/enkore/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+dmenu test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-cpp/catch:1 )"
+DEPEND="
+ dev-libs/libfmt:=
+ dev-libs/spdlog:=
+"
+RDEPEND="
+ ${DEPEND}
+ dmenu? ( x11-misc/dmenu )
+"
+
+src_prepare() {
+ cmake_src_prepare
+
+ # Respect users CFLAGS
+ sed -i -e "s/-pedantic -O2//" CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DNO_DOWNLOAD="ON"
+ -DWITH_GIT_CATCH="no"
+ -DWITH_TESTS="$(usex test)"
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ doman j4-dmenu-desktop.1
+}
+
+pkg_postinst() {
+ if ! use dmenu; then
+ elog "As you have disabled the 'dmenu' use flag,"
+ elog "x11-misc/dmenu won't be installed by default."
+ elog ""
+ elog "Since x11-misc/j4-dmenu-desktop uses x11-misc/dmenu as default,"
+ elog "you must configure your own replacement with --dmenu=<command>,"
+ elog "as otherwise it won't work."
+ fi
+}