Merge branch 'qdiskinfo' into 'master'
sys-apps/qdiskinfo: new package, add 0.2_p20240714 See uest src_prepare/src_prepare-overlay!416
This commit is contained in:
commit
be4c62e9c9
1
sys-apps/qdiskinfo/Manifest
Normal file
1
sys-apps/qdiskinfo/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST qdiskinfo-ec0ea8fa0ec10baab2f2df60aadbe9c2f1ca99b5.tar.gz 2651301 BLAKE2B fa7f31b57408e09a1e736362fba52160d616221d1d0455df35904663d4f96f5ba07198a93ce2ba01fc9c87061f4f528094ebebbf144d4af8a84198ac1a474710 SHA512 ea257a6f5928a9afec39cd844ac2165fd053e89275f7170aa2acde339c3a32034cddabfd6a1cfbf94faa1f644146b1aeefb39acb9c6346ddaf009fcfd6d322b8
|
11
sys-apps/qdiskinfo/metadata.xml
Normal file
11
sys-apps/qdiskinfo/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sighunter@gmx.de</email>
|
||||
<name>SigHunter</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">edisionnano/QDiskInfo</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
37
sys-apps/qdiskinfo/qdiskinfo-0.2_p20240714.ebuild
Normal file
37
sys-apps/qdiskinfo/qdiskinfo-0.2_p20240714.ebuild
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg
|
||||
|
||||
MY_PV=${PV/_p*}
|
||||
COMMIT="ec0ea8fa0ec10baab2f2df60aadbe9c2f1ca99b5"
|
||||
|
||||
DESCRIPTION="CrystalDiskInfo alternative for Linux"
|
||||
HOMEPAGE="https://github.com/edisionnano/QDiskInfo"
|
||||
SRC_URI="
|
||||
https://github.com/edisionnano/QDiskInfo/archive/${COMMIT}.tar.gz
|
||||
-> ${PN}-${COMMIT}.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/QDiskInfo-${COMMIT}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtbase:6[dbus,gui,widgets]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-apps/smartmontools
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
sed -i CMakeLists.txt \
|
||||
-e "s/QDiskInfo VERSION 0.1/QDiskInfo VERSION ${MY_PV}/" \
|
||||
-e 's/set(CMAKE_CXX_FLAGS "\(.*\)")/add_compile_options(\1)/' \
|
||||
|| die
|
||||
}
|
Loading…
Reference in New Issue
Block a user