mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
@@ -1 +1,2 @@
|
||||
DIST lswt-1.0.4.tar.gz 21479 BLAKE2B fc5f2dd3d28bc10bd460ab6557ce2a5be17d88ff58f22414ed836c1f63a1cf7c70d6363b23a794c49631ab465f1e69a6fa539d5ccd397148a6819ce927137c4d SHA512 708500f09cd50acd9df4d6101c599b7a48bda274ddb2f31d138ca77b37b11cf244b2c5b473c2f13274b61458eb820aa506f9b1ad6ce517c8e5c274935e4f3443
|
||||
DIST lswt-2.0.0.tar.gz 27758 BLAKE2B 9f659d3a37c800457727da9df44517ffe0bb4c8d4dab269fdf3752b9da4fd64e37c091e075c7576009a453c261eed7eff6d784d092c2ea32b55302d3d8d08b10 SHA512 147c4a0f7f2410230b9a27adb669ce7004f19701bf50d8e3c540fedb79ad37a282ce7968d2f1abdef6991b297f5d2b6b913ffbf4a4ef3ebc4481ff0cc803a01f
|
||||
|
||||
39
gui-apps/lswt/lswt-2.0.0.ebuild
Normal file
39
gui-apps/lswt/lswt-2.0.0.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="List Wayland toplevels"
|
||||
HOMEPAGE="https://git.sr.ht/~leon_plickat/lswt/"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.sr.ht/~leon_plickat/lswt"
|
||||
else
|
||||
SRC_URI="https://git.sr.ht/~leon_plickat/lswt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="dev-libs/wayland"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="dev-util/wayland-scanner"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed '/^CFLAGS/{s/=/:=/;s/-Werror//;s/$/ $(CFLAGS)/}' \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
}
|
||||
Reference in New Issue
Block a user