aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-04-19 23:21:31 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-04-19 23:22:49 +0200
commit0f5dae5977b631f9703f6ffedae4a4f2bd6741dc (patch)
tree61ae25e30f39fafc7205860dd90c7fac7f704de2 /www-client
parentapp-misc/tai: Bump version to v0.0.5 (diff)
downloadguru-0f5dae5977b631f9703f6ffedae4a4f2bd6741dc.tar.gz
guru-0f5dae5977b631f9703f6ffedae4a4f2bd6741dc.tar.bz2
guru-0f5dae5977b631f9703f6ffedae4a4f2bd6741dc.zip
www-client/badwolf: Version bump, 1.1.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.1.0.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/www-client/badwolf/Manifest b/www-client/badwolf/Manifest
index 2a771aa6d..f246ff502 100644
--- a/www-client/badwolf/Manifest
+++ b/www-client/badwolf/Manifest
@@ -1 +1,2 @@
DIST badwolf-1.0.3.tar.gz 70969 BLAKE2B 0c0c57a635f34d2a48cca79737922f10812350b8f54450d3cc9d1f4f3e29766a23f80c4d1d497585dca3d9cbbb942f6b924a4c776eb98b31d2a65f7d468ca47c SHA512 8b20560fe48feaeee444208fb315ca8eb8f3d847769a6a5cafd276abb38172f7c67c8ec8496bb1172a9837dce6831cd4fba6518aff50fcdf204e2737b205c31b
+DIST badwolf-1.1.0.tar.gz 76314 BLAKE2B e5faf43eaceece52809bc27e1c47d176373d537cb349f682eb7fbd68c3cb4b6ad510e4c2c8b55b9c5092f910321f148261f25aecddc1327dd635611dd685a57a SHA512 dcde764c71519700e225c9a5488bcc092a9008c365b892a60e02bd53031801090d4ec73d0da38078a1c0061cd6be4cc41250f0cdbaf991250557c784f6aac961
diff --git a/www-client/badwolf/badwolf-1.1.0.ebuild b/www-client/badwolf/badwolf-1.1.0.ebuild
new file mode 100644
index 000000000..6389687d1
--- /dev/null
+++ b/www-client/badwolf/badwolf-1.1.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2019-2021 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"
+ 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}" \
+ DOCDIR="/usr/share/doc/${PF}" \
+ PREFIX="/usr" \
+ install
+
+ [[ "${PV}" == "9999" ]] || save_config config.h
+ einstalldocs
+}