mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
www-client/badwolf: Version bump, 0.4.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
54
www-client/badwolf/badwolf-0.4.0.ebuild
Normal file
54
www-client/badwolf/badwolf-0.4.0.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ "${PV}" == "9999" ]]
|
||||
then
|
||||
EGIT_REPO_URI="https://hacktivis.me/git/badwolf.git"
|
||||
EGIT_MIN_CLONE_TYPE="single+tags"
|
||||
inherit git-r3
|
||||
else
|
||||
MY_P="${PN}-$(ver_rs 3 - 4 .)"
|
||||
SRC_URI="https://hacktivis.me/releases/${MY_P}.tar.gz"
|
||||
# Dropped because net-libs/webkit-gtk-2.26 isn't in ::gentoo
|
||||
# KEYWORDS="~amd64 ~ppc"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
inherit savedconfig
|
||||
fi
|
||||
|
||||
DESCRIPTION="Minimalist and privacy-oriented WebKitGTK+ browser"
|
||||
HOMEPAGE="https://hacktivis.me/projects/badwolf"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=("README.md" "KnowledgeBase.md")
|
||||
|
||||
DEPEND="
|
||||
x11-libs/gtk+:3
|
||||
>=net-libs/webkit-gtk-2.26.0:4=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
restore_config config.h
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="${CC:-cc}" \
|
||||
CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
PREFIX="/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX="/usr" \
|
||||
install
|
||||
|
||||
save_config config.h
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user