summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2017-03-08 21:41:24 +0100
committerAmy Liffey <amynka@gentoo.org>2017-03-08 21:41:24 +0100
commitee5121397329fc0f3c7834b7223612fdaa073267 (patch)
tree4dfc67040f3ed0a9548ba1fe3c272b6e2786c25f /dev-util
parentapp-office/libreoffice-l10n: 5.2.6.2 version bump (diff)
downloadgentoo-ee5121397329fc0f3c7834b7223612fdaa073267.tar.gz
gentoo-ee5121397329fc0f3c7834b7223612fdaa073267.tar.bz2
gentoo-ee5121397329fc0f3c7834b7223612fdaa073267.zip
dev-util/edb-debugger: fix icon. By Petross404.
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/edb-debugger/edb-debugger-0.9.21.ebuild15
-rw-r--r--dev-util/edb-debugger/edb-debugger-9999.ebuild4
2 files changed, 18 insertions, 1 deletions
diff --git a/dev-util/edb-debugger/edb-debugger-0.9.21.ebuild b/dev-util/edb-debugger/edb-debugger-0.9.21.ebuild
index 19de2513c9cf..8d159b715b63 100644
--- a/dev-util/edb-debugger/edb-debugger-0.9.21.ebuild
+++ b/dev-util/edb-debugger/edb-debugger-0.9.21.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit cmake-utils
+inherit cmake-utils eutils
DESCRIPTION="edb is a cross platform x86/x86-64 debugger, inspired by Ollydbg"
HOMEPAGE="https://github.com/eteran/edb-debugger"
@@ -34,6 +34,13 @@ DEPEND="
${RDEPEND}"
src_prepare(){
+ #Remove this in a future version; There won't be any edb48-logo.png
+ sed -i '/edb48-logo/d' CMakeLists.txt || die
+
+ #Make the desktop's entries somewhat cuter
+ 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 '/pkg_check_modules(GRAPHVIZ/d' CMakeLists.txt || die
fi
@@ -54,6 +61,12 @@ src_configure() {
cmake-utils_src_configure
}
+src_install() {
+ cd src/images/ || die
+ newicon "edb48-logo.png" "edb.png"
+ cmake-utils_src_install
+}
+
pkg_postinst() {
if use legacy-mem-write; then
ewarn "You really do not want to turn on legacy-mem-write unless you need it."
diff --git a/dev-util/edb-debugger/edb-debugger-9999.ebuild b/dev-util/edb-debugger/edb-debugger-9999.ebuild
index 6b7ad6967a46..830af5e21a96 100644
--- a/dev-util/edb-debugger/edb-debugger-9999.ebuild
+++ b/dev-util/edb-debugger/edb-debugger-9999.ebuild
@@ -32,6 +32,10 @@ DEPEND="
${RDEPEND}"
src_prepare(){
+ #Make the desktop's entries somewhat cuter
+ 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 '/pkg_check_modules(GRAPHVIZ/d' CMakeLists.txt || die
fi