mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
www-client/badwolf: sync live
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 2019-2025 Gentoo Authors
|
||||
# Copyright 2019-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg ninja-utils
|
||||
inherit edo ninja-utils toolchain-funcs xdg
|
||||
|
||||
if [[ "${PV}" == "9999" ]]
|
||||
then
|
||||
@@ -29,17 +29,18 @@ SLOT="0"
|
||||
|
||||
DOCS=("README.md" "KnowledgeBase.md")
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:=
|
||||
x11-libs/gtk+:3
|
||||
net-libs/webkit-gtk:4.1=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="test? ( app-text/mandoc )"
|
||||
BDEPEND="
|
||||
app-alternatives/ninja
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
if [[ "${PV}" != "9999" ]]
|
||||
then
|
||||
@@ -62,15 +63,18 @@ fi
|
||||
src_configure() {
|
||||
[[ "${PV}" == "9999" ]] || restore_config config.h
|
||||
|
||||
CC="${CC:-cc}" \
|
||||
PKGCONFIG="${PKG_CONFIG:-pkg-config}" \
|
||||
# https://hacktivis.me/git/badwolf/file/configure.html:L444
|
||||
# ./locale dir doesn't exist with ENABLE_NLS=0, leading to install failure
|
||||
ENABLE_NLS=1 \
|
||||
CC="$(tc-getCC)" \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
|
||||
CMD_ED="false" \
|
||||
CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \
|
||||
CFLAGS="${CFLAGS:--O2 -Wall -Wextra}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
DOCDIR="/usr/share/doc/${PF}" \
|
||||
WITH_WEBKITGTK="4.1" \
|
||||
PREFIX="/usr" \
|
||||
./configure || die
|
||||
edo ./configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user