diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-09-19 08:20:25 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-09-19 08:20:52 +0200 |
commit | 50ead24232602d50d469c0da0c727aa212cb0e1c (patch) | |
tree | f6694c0389bcba3640ea735d5d7fa9e1777cb09f /www-client | |
parent | www-apps/pleroma-fe: new package, add 2.5.0, 9999 (diff) | |
download | guru-50ead24232602d50d469c0da0c727aa212cb0e1c.tar.gz guru-50ead24232602d50d469c0da0c727aa212cb0e1c.tar.bz2 guru-50ead24232602d50d469c0da0c727aa212cb0e1c.zip |
www-client/badwolf: add 1.3.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/badwolf/Manifest | 1 | ||||
-rw-r--r-- | www-client/badwolf/badwolf-1.3.0.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/www-client/badwolf/Manifest b/www-client/badwolf/Manifest index fe10b053c..db56749ac 100644 --- a/www-client/badwolf/Manifest +++ b/www-client/badwolf/Manifest @@ -1 +1,2 @@ DIST badwolf-1.2.2.tar.gz 80102 BLAKE2B ae8727391742352b3e9db28ecbe0ac3402ac028a668f84c13ef3d4512e54d0bef5196f30d526297d2bc2eaec61f0c3dc4039ec9070ec5bc0d78aaa40782562ee SHA512 0f7bd28ab9bae51323082bad172914009ba979cc9f990a782f7f032ca65589284708ffcaa530f737ecd3d00b580000988b5d18fbb2643ce0df3bc001a58ef611 +DIST badwolf-1.3.0.tar.gz 114477 BLAKE2B e79c223b597b08acdc5d090a47c179a8ab27727d3cb7b7f842c021b5f1d1f25c2e5604bf8b1cea986270ec97f3a8e25eeae866a124e72df7a7aaf876ecff9b08 SHA512 f83884f9a1c4d12d641f68697d7fab7885803975ead6cb78e88b0b8d2f7b6f9da116f72e39f02c47e8dca89e4ced9b932524338a6211c7d4509c12206c10cdeb diff --git a/www-client/badwolf/badwolf-1.3.0.ebuild b/www-client/badwolf/badwolf-1.3.0.ebuild new file mode 100644 index 000000000..4b6ebbec3 --- /dev/null +++ b/www-client/badwolf/badwolf-1.3.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg ninja-utils + +if [[ "${PV}" == "9999" ]] +then + EGIT_REPO_URI="https://hacktivis.me/git/badwolf.git" + 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") + +IUSE="+webkit41 test" +RESTRICT="!test? ( test )" + +DEPEND=" + x11-libs/gtk+:3 + webkit41? ( net-libs/webkit-gtk:4.1= ) + !webkit41? ( net-libs/webkit-gtk:4= ) +" +RDEPEND="${DEPEND}" +BDEPEND="test? ( app-text/mandoc )" + +src_configure() { + [[ "${PV}" == "9999" ]] || restore_config config.h + + CC="${CC:-cc}" \ + CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \ + LDFLAGS="${LDFLAGS}" \ + DOCDIR="/usr/share/doc/${PF}" \ + WITH_WEBKITGTK=$(usex webkit41 4.1 4.0) \ + PREFIX="/usr" \ + ./configure +} + +src_compile() { + eninja +} + +src_test() { + eninja test +} + +src_install() { + DESTDIR="${ED}" eninja install + + [[ "${PV}" == "9999" ]] || save_config config.h +} |