app-accessibility/edbrowse: bump to 3.7.5.1
authorMart Raudsepp <leio@gentoo.org>
Tue, 21 Jan 2020 22:24:47 +0000 (00:24 +0200)
committerMart Raudsepp <leio@gentoo.org>
Tue, 21 Jan 2020 22:25:57 +0000 (00:25 +0200)
Fixes compilation against newer curl's API break

Closes: https://bugs.gentoo.org/683168
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
app-accessibility/edbrowse/Manifest
app-accessibility/edbrowse/edbrowse-3.7.5.1.ebuild [new file with mode: 0644]

index 7e87a04dc80ae57942a3a2892e1193b50a4a661f..69aa7a81dfe8309e6e1a182fb3fa490abe44a9e7 100644 (file)
@@ -1 +1,2 @@
 DIST edbrowse-3.7.4.tar.gz 765794 BLAKE2B 5d428ca3923e26d5b3f204d5aba37a08bbfc50345b18718e5a281521361da4920ea12d68a5013bb688e95f178be8903bede1bef5b3cd626a0e6084141188d878 SHA512 79b2b450b6f54f3d74b7c722f223b3340b3ddfa1cbff2d69adcd1cd4ffb76b78a812a35a053cf224a74543020ef8423cd68eafa9a277451245d383065fb1595d
+DIST edbrowse-3.7.5.1.tar.gz 790742 BLAKE2B 7047cc2b1c7bc51aaa88f7a6aa981020ae80b6498bcb97f670646267dab94bab565b9ecc23c36f75d2653175917720dbb9e40a0f9bfd44251716669155e8de9e SHA512 ec217bf98334e8b493a1a80082cebfb11da9fa84d20d8b5f3f3286a78ae1dc6a2731c578d000f9f0f19d3dcbec9aa2c3e2a6b5b35f7ea7672840b9bcd1c5c67a
diff --git a/app-accessibility/edbrowse/edbrowse-3.7.5.1.ebuild b/app-accessibility/edbrowse/edbrowse-3.7.5.1.ebuild
new file mode 100644 (file)
index 0000000..f2a61e2
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils
+
+DESCRIPTION="Combination editor, browser, and mail client that is 100% text based"
+HOMEPAGE="http://edbrowse.org"
+SRC_URI="https://github.com/CMB/edbrowse/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="odbc"
+
+RDEPEND="
+       app-text/tidy-html5
+       >=net-misc/curl-7.36.0
+       >=dev-libs/libpcre-7.8
+       >=sys-libs/readline-6.0
+       dev-lang/duktape
+       odbc? ( dev-db/unixODBC )"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}
+       dev-lang/perl
+       virtual/pkgconfig"
+
+src_prepare() {
+       sed -i -e "s:/usr/share/doc/edbrowse:/usr/share/doc/${P}:" CMakeLists.txt
+       cmake-utils_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_EDBR_ODBC=$(usex odbc)
+       )
+       cmake-utils_src_configure
+}