2024-09-23 19:14:45 -07:00
|
|
|
# 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"
|
|
|
|
|
2024-09-23 20:55:43 -07:00
|
|
|
DEPEND="net-misc/curl media-fonts/liberation-fonts media-video/ffmpeg media-libs/mesa dev-qt/qtbase dev-qt/qttools dev-qt/qtwayland virtual/libcrypt"
|
2024-09-23 19:14:45 -07:00
|
|
|
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() {
|
2024-09-23 20:02:53 -07:00
|
|
|
addpredict /configure
|
2024-09-23 19:26:47 -07:00
|
|
|
./Meta/ladybird.sh build || die "Failed to build Ladybird."
|
|
|
|
./Meta/ladybird.sh install || die "Ladybird didn't generate install files correctly..."
|
2024-09-23 19:14:45 -07:00
|
|
|
}
|
|
|
|
src_install() {
|
2024-09-23 20:27:50 -07:00
|
|
|
mkdir -p ${D}/usr
|
|
|
|
rsync -ErDlp --delete ./Build/ladybird-install-default/* ${D}/usr
|
2024-09-23 19:14:45 -07:00
|
|
|
}
|