hasufell    14/07/04 20:43:46

  Modified:             ChangeLog
  Added:                radeontop-0.7-r1.ebuild
  Log:
  don't recompile at src_install, report correct version
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)

Revision  Changes    Path
1.2                  x11-apps/radeontop/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/radeontop/ChangeLog?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/radeontop/ChangeLog?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/radeontop/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-apps/radeontop/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog   19 Dec 2013 21:40:21 -0000      1.1
+++ ChangeLog   4 Jul 2014 20:43:46 -0000       1.2
@@ -1,6 +1,11 @@
 # ChangeLog for x11-apps/radeontop
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/radeontop/ChangeLog,v 1.1 
2013/12/19 21:40:21 tomwij Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/radeontop/ChangeLog,v 1.2 
2014/07/04 20:43:46 hasufell Exp $
+
+*radeontop-0.7-r1 (04 Jul 2014)
+
+  04 Jul 2014; Julian Ospald <[email protected]> +radeontop-0.7-r1.ebuild:
+  don't recompile at src_install, report correct version
 
 *radeontop-0.7 (19 Dec 2013)
 *radeontop-9999 (19 Dec 2013)



1.1                  x11-apps/radeontop/radeontop-0.7-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/radeontop/radeontop-0.7-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/radeontop/radeontop-0.7-r1.ebuild?rev=1.1&content-type=text/plain

Index: radeontop-0.7-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-apps/radeontop/radeontop-0.7-r1.ebuild,v 
1.1 2014/07/04 20:43:46 hasufell Exp $

EAPI=5
inherit eutils toolchain-funcs

DESCRIPTION="Utility to view Radeon GPU utilization"
HOMEPAGE="https://github.com/clbr/radeontop";
LICENSE="GPL-3"
SRC_URI="https://github.com/clbr/radeontop/archive/v${PV}.tar.gz -> ${P}.tar.gz"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"

RDEPEND="
        sys-libs/ncurses
        x11-libs/libpciaccess
        nls? ( sys-libs/ncurses[unicode] virtual/libintl )
"
DEPEND="${RDEPEND}
        virtual/pkgconfig
        nls? ( sys-devel/gettext )
"

src_prepare() {
        epatch_user

cat > include/version.h << EOF || die
#ifndef VER_H
#define VER_H

#define VERSION "${PV}"

#endif
EOF
        >getver.sh || die
        touch .git || die
}

src_configure() {
        tc-export CC
        export nls=$(usex nls 1 0)
        # Do not add -g or -s to CFLAGS
        export plain=1
}




Reply via email to