Created attachment 586704 [details] metrics-discovery-1.5.108.ebuild Hi! Please find attached metrics-discovery-1.5.108.ebuild Metrics Discovery is a user mode library that provides access to GPU performance data. The library has OS abstraction layer that allows for interoperability in different environments. I suggest media-libs/metrics-discovery. ankit
Comment on attachment 586704 [details] metrics-discovery-1.5.108.ebuild ># Distributed under the terms of the GNU General Public License v2 > >EAPI=4 I do not see a reason not to use the latest EAPI. >inherit cmake-utils > >DESCRIPTION="Intel Metrics Discovery Application Programming Interface" This description does not match the website's description. >HOMEPAGE="https://github.com/intel/metrics-discovery" >SRC_URI="https://github.com/intel/metrics-discovery/archive/${P}.tar.gz" > >LICENSE="MIT" >SLOT="0" >KEYWORDS="*" >IUSE="" > >src_configure() { > local mycmakeargs=( > . > ) What does the dot do? > > cmake-utils_src_configure >} > >src_install() { > default >} src_install() is defined by default, so you shouldn't need to explicate this.
(In reply to Jeroen Roovers from comment #1) > Comment on attachment 586704 [details] > metrics-discovery-1.5.108.ebuild > > ># Distributed under the terms of the GNU General Public License v2 > > > >EAPI=4 > > I do not see a reason not to use the latest EAPI. Ok, I will use the latest EAPI. > > >inherit cmake-utils > > > >DESCRIPTION="Intel Metrics Discovery Application Programming Interface" > > This description does not match the website's description. github doesn't have any description. Shall I use "Intel Metrics Discovery Application Programming Interface is a user mode library that provides access to GPU performance data."? > > >HOMEPAGE="https://github.com/intel/metrics-discovery" > >SRC_URI="https://github.com/intel/metrics-discovery/archive/${P}.tar.gz" > > > >LICENSE="MIT" > >SLOT="0" > >KEYWORDS="*" > >IUSE="" > > > >src_configure() { > > local mycmakeargs=( > > . > > ) > > What does the dot do? My bad, I referred github and kept for cmake generation. I will remove it. > > > > > cmake-utils_src_configure > >} > > > >src_install() { > > default > >} > > src_install() is defined by default, so you shouldn't need to explicate this. I was not aware of it. Thank you for your valuable feedback.
Created attachment 587592 [details, diff] metrics-discovery-1.5.108.ebuild
Can you please review ?
Let me know any feedback on the patch.
When can I expect this changes to be merged ?
I tried your ebuild. Not sure it is the proper way but I had to add S=${WORKDIR}/${PN}-${P} because the unpacking directory was different than expected