Compare commits

..

2 Commits

Author SHA1 Message Date
Parona
be4c62e9c9 Merge branch 'qdiskinfo' into 'master'
sys-apps/qdiskinfo: new package, add 0.2_p20240714

See uest src_prepare/src_prepare-overlay!416
2024-07-24 11:28:26 +00:00
SigHunter
5f804707cd
sys-apps/qdiskinfo: new package, add 0.2_p20240714
Signed-off-by: SigHunter <sighunter@gmx.de>
2024-07-24 13:25:44 +02:00
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST qdiskinfo-ec0ea8fa0ec10baab2f2df60aadbe9c2f1ca99b5.tar.gz 2651301 BLAKE2B fa7f31b57408e09a1e736362fba52160d616221d1d0455df35904663d4f96f5ba07198a93ce2ba01fc9c87061f4f528094ebebbf144d4af8a84198ac1a474710 SHA512 ea257a6f5928a9afec39cd844ac2165fd053e89275f7170aa2acde339c3a32034cddabfd6a1cfbf94faa1f644146b1aeefb39acb9c6346ddaf009fcfd6d322b8

View 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>

View 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
}