dev-util/edb-debugger: bump up to 1.2.0
authorSergei Trofimovich <slyfox@gentoo.org>
Fri, 10 Apr 2020 20:55:02 +0000 (21:55 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 10 Apr 2020 20:55:12 +0000 (21:55 +0100)
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
dev-util/edb-debugger/Manifest
dev-util/edb-debugger/edb-debugger-1.2.0.ebuild [new file with mode: 0644]

index fec365213f4464d0e7bc64f67a1d7257737a699d..0650f02b5fd0f779c97d7dcdf8a340df50f5442c 100644 (file)
@@ -1 +1,2 @@
 DIST edb-debugger-1.1.0.tgz 1244028 BLAKE2B 87311a53f445acb28569952541269ef5ae83219468e18bc1603b6d85225b75fd00723593891e309ccf8c8c3e7a0828cd709444fe27f3328cf4386ed3e1245bea SHA512 5834cf091cd6d84ecc10cec277ec954b936dc61b0809d5f434ba4d604fae63c06ac10852f1a4ea81f150dea82645fa0861d8842eea227cbde681a895c465d744
+DIST edb-debugger-1.2.0.tgz 608773 BLAKE2B d67136b3bfb153f0e5ba0aef514756f39d63692636adcad3569e79237613004f2a4c425b4bed875408473a7caa6280b3bfc590e8eeb4beb5bafaa2326da892bc SHA512 c04b8d3972497ac170c740f2625301ee7d3ea52b81b29084628aa0091d7cd7df12a34ae707be629cde6e0dea54254bfde25e290aba1d6bad2635eff704282ea9
diff --git a/dev-util/edb-debugger/edb-debugger-1.2.0.ebuild b/dev-util/edb-debugger/edb-debugger-1.2.0.ebuild
new file mode 100644 (file)
index 0000000..21c906d
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="edb is a cross platform x86/x86-64 debugger, inspired by Ollydbg"
+HOMEPAGE="https://github.com/eteran/edb-debugger"
+SRC_URI="https://github.com/eteran/edb-debugger/releases/download/${PV}/edb-debugger-${PV}.tgz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="graphviz"
+
+RDEPEND="
+       dev-libs/capstone:=
+       dev-libs/double-conversion
+       dev-qt/qtconcurrent:5
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtsvg:5
+       dev-qt/qtwidgets:5
+       dev-qt/qtxml:5
+       dev-qt/qtxmlpatterns:5
+       graphviz? ( media-gfx/graphviz )
+"
+
+DEPEND="
+       dev-libs/boost
+       virtual/pkgconfig
+       ${RDEPEND}
+"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+       #Make the desktop's entries somewhat better
+       sed -i -e 's/GenericName=edb debugger/GenericName=Evan\x27s Debugger/' edb.desktop || die
+       sed -i -e 's/Comment=edb debugger/Comment=edb is a cross platform x86\/x86-64 debugger/' edb.desktop || die
+
+       if ! use graphviz; then
+               sed -i -e '/pkg_check_modules(GRAPHVIZ/d' CMakeLists.txt || die
+       fi
+
+       cmake_src_prepare
+}