public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Samuel Bernardo" <samuelbernardo.mail@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/user/ssnb:master commit in: sys-apps/pcm/
Date: Sun, 26 May 2019 00:53:23 +0000 (UTC)	[thread overview]
Message-ID: <1558831985.5040564561c5c04532bc2b081ae00532052be8b6.samuelbernardo@gentoo> (raw)

commit:     5040564561c5c04532bc2b081ae00532052be8b6
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun May 26 00:53:05 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun May 26 00:53:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=50405645

Add pcm ebuild

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 sys-apps/pcm/Manifest            |  3 ++
 sys-apps/pcm/metadata.xml        |  9 ++++++
 sys-apps/pcm/pcm-201902.0.ebuild |  1 +
 sys-apps/pcm/pcm-999999.ebuild   | 69 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 82 insertions(+)

diff --git a/sys-apps/pcm/Manifest b/sys-apps/pcm/Manifest
new file mode 100644
index 0000000..e043455
--- /dev/null
+++ b/sys-apps/pcm/Manifest
@@ -0,0 +1,3 @@
+EBUILD pcm-201902.0.ebuild 1295 BLAKE2B ebaf7bf7b2781efeb9787bf534c9fbb99ef274d49d289d435ae7e44eeb89ec6c34d079caa13751681ef15157a6a26b387c0abfe76a6c32ec853b358fb90f4440 SHA512 991f4c0514379083bb86cb83c8625a89f621a9779b3df09d45880e1b87338765eace020096b5834bb27bbba3a2336f7af20b38185c633bb3b9bbafcc070c5a2c
+EBUILD pcm-999999.ebuild 1295 BLAKE2B ebaf7bf7b2781efeb9787bf534c9fbb99ef274d49d289d435ae7e44eeb89ec6c34d079caa13751681ef15157a6a26b387c0abfe76a6c32ec853b358fb90f4440 SHA512 991f4c0514379083bb86cb83c8625a89f621a9779b3df09d45880e1b87338765eace020096b5834bb27bbba3a2336f7af20b38185c633bb3b9bbafcc070c5a2c
+MISC metadata.xml 465 BLAKE2B ec83d6c09feb51ff6b91e9369c26c9a1e3749489cc9f36d9cac9a32d1eb3c4a2ac4087ed8c40b47c1c30faac92ead54b0f73d27acf8ed0a4fd551dda0c1b4dd5 SHA512 4978d475dbdc8667bb3d7157c28c7975605ec85a5a6af7200e3e6a4812b6c8ef2be7ce55c0c8703c8b317ee9d1e6f41b38b28d5711a5f098786b61daa563e9cc

diff --git a/sys-apps/pcm/metadata.xml b/sys-apps/pcm/metadata.xml
new file mode 100644
index 0000000..00bcf7b
--- /dev/null
+++ b/sys-apps/pcm/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>samuelbernardo.mail@gmail.com</email>
+		<name>Samuel Bernardo</name>
+		<description>Processor Counter Monitor (PCM) is an application programming interface (API) and a set of tools based on the API to monitor performance and energy metrics of Intel processors</description>
+	</maintainer>
+</pkgmetadata>

diff --git a/sys-apps/pcm/pcm-201902.0.ebuild b/sys-apps/pcm/pcm-201902.0.ebuild
new file mode 120000
index 0000000..096e097
--- /dev/null
+++ b/sys-apps/pcm/pcm-201902.0.ebuild
@@ -0,0 +1 @@
+pcm-999999.ebuild
\ No newline at end of file

diff --git a/sys-apps/pcm/pcm-999999.ebuild b/sys-apps/pcm/pcm-999999.ebuild
new file mode 100644
index 0000000..ac2f2db
--- /dev/null
+++ b/sys-apps/pcm/pcm-999999.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib git-r3
+
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+HOMEPAGE="http://mega.co.nz"
+if [[ ${PV} == *999999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	MYPV=$(ver_cut 1)
+	EGIT_REPO_URI="https://github.com/opcm/pcm.git"
+	EGIT_COMMIT="${MYPV}"
+	EGIT_SUBMODULES=( '*' )
+	KEYWORDS="~x86 ~amd64"
+	S="${WORKDIR}/${PN}"
+fi
+
+LICENSE="Intel"
+SLOT="0"
+IUSE=""
+
+#DEPEND=""
+#RDEPEND="${DEPEND}"
+
+PATCHES=( )
+
+if [[ ${PV} != *999999* ]];then
+	src_prepare(){
+		default
+	}
+fi
+
+src_configure(){
+	true
+}
+
+src_compile(){
+	cd "${S}"
+	emake INSTALL_ROOT="${D}" || die
+}
+
+src_install(){
+	insinto usr/share/licenses/${PN}
+	doins LICENCE
+
+	newbin pcm.x pcm
+	newbin pcm-numa.x pcm-numa
+	newbin pcm-latency.x pcm-latency
+	newbin pcm-power.x pcm-power
+	newbin pcm-sensor.x pcm-sensor
+	newbin pcm-msr.x pcm-msr
+	newbin pcm-memory.x pcm-memory
+	newbin pcm-tsx.x pcm-tsx
+	newbin pcm-pcie.x pcm-pcie
+	newbin pcm-core.x pcm-core
+	newbin pcm-iio.x pcm-iio
+	newbin pcm-lspci.x pcm-lspci
+	newbin pcm-pcicfg.x pcm-pcicfg
+
+	into usr/lib/${PN}
+	dolib.a libPCM.a
+}


             reply	other threads:[~2019-05-26  0:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-26  0:53 Samuel Bernardo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-05-26  1:00 [gentoo-commits] repo/user/ssnb:master commit in: sys-apps/pcm/ Samuel Bernardo
2019-05-26  1:19 Samuel Bernardo
2022-02-03  1:59 Samuel Bernardo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1558831985.5040564561c5c04532bc2b081ae00532052be8b6.samuelbernardo@gentoo \
    --to=samuelbernardo.mail@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox