summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/lavalauncher/Manifest1
-rw-r--r--gui-apps/lavalauncher/lavalauncher-2.0.0.ebuild51
-rw-r--r--gui-apps/lavalauncher/lavalauncher-9999.ebuild10
3 files changed, 58 insertions, 4 deletions
diff --git a/gui-apps/lavalauncher/Manifest b/gui-apps/lavalauncher/Manifest
index 5980796af06a..5fd613766a58 100644
--- a/gui-apps/lavalauncher/Manifest
+++ b/gui-apps/lavalauncher/Manifest
@@ -1 +1,2 @@
DIST lavalauncher-1.7.1.tar.gz 82550 BLAKE2B 043fd8a8fb977f89414b4c9eb5a29ae05cea6374ea7bdbf595a3c75eeee4c5273b2d84cd437a451b0a4fec4139e31dec6c520e4a0af745c06b438b1290c114b4 SHA512 e1848d29275a444aef2b85bd6b27ae056cfc76c337695da2f7061ca3d73f510b797f84663a5705d59615a2a4ea0be64388ce1d4d622379f86cfc23d82f2e51d8
+DIST lavalauncher-2.0.0.tar.gz 92083 BLAKE2B 723685eba36b89c2807619598af4eeec3c5783cf792d3ae68d30df6e4fab08a389c6c0d37e6f83df2d3e18217a08994d0fd38193034e037a094ede4190561c44 SHA512 e64e7cc394a5165a5b43c6c0db3f99b43d44b0b71cb75aa60d8a431ca7a39e1af50b822dc0d6ff86620029021852442a45fce302214e927929dbee627ec51c18
diff --git a/gui-apps/lavalauncher/lavalauncher-2.0.0.ebuild b/gui-apps/lavalauncher/lavalauncher-2.0.0.ebuild
new file mode 100644
index 000000000000..3ca2f2011d22
--- /dev/null
+++ b/gui-apps/lavalauncher/lavalauncher-2.0.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="simple launcher for wayland"
+HOMEPAGE="https://git.sr.ht/~leon_plickat/lavalauncher"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sr.ht/~leon_plickat/lavalauncher"
+else
+ SRC_URI="https://git.sr.ht/~leon_plickat/lavalauncher/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-v${PV}"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+svg man"
+
+RDEPEND="
+ dev-libs/wayland
+ gnome-base/librsvg
+ x11-libs/cairo
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-libs/wayland-protocols
+ virtual/pkgconfig
+"
+
+if [[ ${PV} == 9999 ]]; then
+ BDEPEND+="man? ( ~app-text/scdoc-9999 )"
+else
+ BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
+fi
+
+PATCHES=(
+ "${FILESDIR}/lavalauncher-remove-werror.patch"
+)
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature man man-pages)
+ $(meson_feature svg librsvg)
+ )
+ meson_src_configure
+}
diff --git a/gui-apps/lavalauncher/lavalauncher-9999.ebuild b/gui-apps/lavalauncher/lavalauncher-9999.ebuild
index 22da8a44a0ec..3ca2f2011d22 100644
--- a/gui-apps/lavalauncher/lavalauncher-9999.ebuild
+++ b/gui-apps/lavalauncher/lavalauncher-9999.ebuild
@@ -19,16 +19,17 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="man"
+IUSE="+svg man"
RDEPEND="
dev-libs/wayland
+ gnome-base/librsvg
x11-libs/cairo
"
+DEPEND="${RDEPEND}"
BDEPEND="
- ${RDEPEND}
- virtual/pkgconfig
dev-libs/wayland-protocols
+ virtual/pkgconfig
"
if [[ ${PV} == 9999 ]]; then
@@ -43,7 +44,8 @@ PATCHES=(
src_configure() {
local emesonargs=(
- $(meson_feature man man-page)
+ $(meson_feature man man-pages)
+ $(meson_feature svg librsvg)
)
meson_src_configure
}