aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/badwolf')
-rw-r--r--www-client/badwolf/Manifest1
-rw-r--r--www-client/badwolf/badwolf-0.4.0.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/www-client/badwolf/Manifest b/www-client/badwolf/Manifest
index 5b6c8042..1762e639 100644
--- a/www-client/badwolf/Manifest
+++ b/www-client/badwolf/Manifest
@@ -1 +1,2 @@
DIST badwolf-0.3.0.tar.gz 11843 BLAKE2B 2d6e3efa7a91e5c68fed47832a8701f4450238e5cf3daafafe2c231fb774cf79859175351a2efc7c1cea9577e2316d03a0460edd74a8d0f40c158635b2c42cb5 SHA512 6775fc673d3c985d2420e017bdefb0b0106c395eada04f54415e901e40779ebc427ab1b3135e1489077b9fbf5529be9e5d4d81a9b87001a55dfe6c15efa0b8c6
+DIST badwolf-0.4.0.tar.gz 13646 BLAKE2B 1269fc361eb9c3ae45379e019b808e67f6e915f8f7fc00c757d939f15c02ccdb08083ba64c6ebfc97d7337293d4125a35337c0e8d908a3e3704cd2029d24212e SHA512 572e1c18223ded5989da9c47e42c9dcbf66903e38b672e33b098cc3f84965d9da8e0a8b71e5ec88f17879c8d2f931d9625ca26a9c5ae81cc925d62fbf2abd4f1
diff --git a/www-client/badwolf/badwolf-0.4.0.ebuild b/www-client/badwolf/badwolf-0.4.0.ebuild
new file mode 100644
index 00000000..79242894
--- /dev/null
+++ b/www-client/badwolf/badwolf-0.4.0.ebuild
@@ -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
+}