Add Ladybird ebuild

This commit is contained in:
Zachary Hall 2024-09-23 19:14:45 -07:00
parent e6f07cdc58
commit c3eb9f46e9

View file

@ -0,0 +1,25 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
DESCRIPTION="Ladybird Web Browser"
HOMEPAGE="https://ladybird.org"
EGIT_REPO_URI="https://github.com/LadybirdBrowser/ladybird.git"
LICENSE=""
SLOT="0"
KEYWORDS="amd64"
RESTRICT="network-sandbox"
DEPEND="net-misc/curl media-fonts/liberation-fonts media-video/ffmpeg media-libs/mesa dev-qt/qtbase dev-qt/qttools dev-qt/qtwayland"
RDEPEND="${DEPEND}"
BDEPEND="dev-build/autoconf dev-build/autoconf-archive dev-build/automake dev-util/ccache dev-build/cmake dev-lang/nasm dev-build/ninja virtual/pkgconfig dev-vcs/git app-arch/tar app-arch/unzip app-arch/zip"
src_compile() {
./Meta/ladybird.sh build
./Meta/ladybird.sh install
}
src_install() {
rsync -r --links --delete -D --perms ./Build/ladybird-install-default/* ${D}
}