mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-util/memprof: EAPI-7 bump, drop eutils and ltprune, use https
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--- src/memprof.h
|
||||
+++ src/memprof.h
|
||||
--- a/src/memprof.h
|
||||
+++ b/src/memprof.h
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <gtk/gtkwidget.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- memprof.desktop
|
||||
+++ memprof.desktop
|
||||
--- a/memprof.desktop
|
||||
+++ b/memprof.desktop
|
||||
@@ -11,17 +11,13 @@
|
||||
Name[uk]=MemProf
|
||||
Comment=Check a program for leaks and analyze its memory usage
|
||||
|
||||
@@ -1,34 +1,36 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils ltprune
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Profiling and leak detection tool"
|
||||
HOMEPAGE="http://www.secretlabs.de/projects/memprof/"
|
||||
SRC_URI="http://www.secretlabs.de/projects/memprof/releases/${P}.tar.gz"
|
||||
HOMEPAGE="https://www.secretlabs.de/projects/memprof/"
|
||||
SRC_URI="https://www.secretlabs.de/projects/memprof/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
>=gnome-base/libglade-2
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? ( dev-util/intltool
|
||||
sys-devel/gettext )"
|
||||
nls? (
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README NEWS )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-binutils.patch
|
||||
epatch "${FILESDIR}"/${P}-desktop.patch
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-binutils.patch
|
||||
"${FILESDIR}"/${P}-desktop.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
@@ -38,5 +40,5 @@ src_configure() {
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user