aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-05-18 05:11:08 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-05-18 05:11:08 +0200
commit57fb961437d7ee76ee4f520c32d61db973dee26d (patch)
treec7b987ab053e959b9a0a9f0f2f75bf8ac65949bc /www-client
parentdev-python/pylatex: update ebuild to conform with qa standards (diff)
downloadguru-57fb961437d7ee76ee4f520c32d61db973dee26d.tar.gz
guru-57fb961437d7ee76ee4f520c32d61db973dee26d.tar.bz2
guru-57fb961437d7ee76ee4f520c32d61db973dee26d.zip
www-client/badwolf: Bump to 1.0.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/badwolf/Manifest1
-rw-r--r--www-client/badwolf/badwolf-1.0.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/www-client/badwolf/Manifest b/www-client/badwolf/Manifest
index e4a40a2b..1fba2a10 100644
--- a/www-client/badwolf/Manifest
+++ b/www-client/badwolf/Manifest
@@ -1 +1,2 @@
DIST badwolf-0.5.1.tar.gz 20992 BLAKE2B f1c31ba3f1b485adcc134a1e14e7eac1bd7ec2c3c3a48b09e245cfec4adacceeba5a9f477fd74ce85e5e8453fa660779248e1d6987281f850cb35b652aaa98f3 SHA512 75cd50bba4aaa458341b3ce0a6f70b4432e7a708901a19780457661b5275a15ad275a8b53f00b482be1e9a3eaa2565b39d9bbd40f5e6ec2551ae7fc1c7840ed2
+DIST badwolf-1.0.0.tar.gz 69676 BLAKE2B 44b463b0096f1971ae01d48556f70636c58c96324c2fcfb4a1b2507f78f6cdcb5c4b51e68f64b20c5fbafdf529bbc8e2f4ec60d383405019fa556a9697948cae SHA512 72437709a32937c33dc0509f94efbb5f3551b039017d3067b02f5d2b275eb4f3883dba8dc1c1b4b82bfa31a7b174f5fa393ceeefaf627d9b6c27be0fea5a0652
diff --git a/www-client/badwolf/badwolf-1.0.0.ebuild b/www-client/badwolf/badwolf-1.0.0.ebuild
new file mode 100644
index 00000000..aaab35ec
--- /dev/null
+++ b/www-client/badwolf/badwolf-1.0.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg
+
+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"
+ 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:4=
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ [[ "${PV}" == "9999" ]] || 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
+
+ [[ "${PV}" == "9999" ]] || save_config config.h
+ einstalldocs
+}