Add libspmenu ebuild

This commit is contained in:
Jacob 2023-09-25 18:25:03 +02:00
parent b1e16da5ca
commit 965a7edab1
2 changed files with 45 additions and 1 deletions

2
.gitignore vendored
View file

@ -7,7 +7,7 @@ spmenu
spmenu-*[.]PKGBUILD
buildconf*
build
*.ebuild*
./*.ebuild*
PKGBUILD
src/libs/wl/wlr-layer-shell-unstable-v1-client-protocol.h

View file

@ -0,0 +1,44 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs meson
DESCRIPTION="C++ library for spmenu"
HOMEPAGE="https://spmenu.speedie.site"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.speedie.site/speedie/spmenu"
else
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
SRC_URI="https://ls.speedie.site/spmenu-3.4.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/spmenu-${PV}"
fi
EMESON_SOURCE="${S}/src/libspmenu"
LICENSE="MIT"
SLOT="0"
IUSE=""
RDEPEND="x11-misc/spmenu"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
}
src_configure() {
meson_src_configure
}
src_compile() {
meson_src_compile
}
src_install() {
meson_install
}