27 lines
993 B
Bash
27 lines
993 B
Bash
# 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 virtual/libcrypt"
|
|
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() {
|
|
addpredict /configure
|
|
./Meta/ladybird.sh build || die "Failed to build Ladybird."
|
|
./Meta/ladybird.sh install || die "Ladybird didn't generate install files correctly..."
|
|
}
|
|
src_install() {
|
|
mkdir -p ${D}/usr
|
|
rsync -ErDlp --delete ./Build/ladybird-install-default/* ${D}/usr
|
|
}
|