diff --git a/sys-apps/qdiskinfo/Manifest b/sys-apps/qdiskinfo/Manifest new file mode 100644 index 0000000..cdd4479 --- /dev/null +++ b/sys-apps/qdiskinfo/Manifest @@ -0,0 +1 @@ +DIST qdiskinfo-ec0ea8fa0ec10baab2f2df60aadbe9c2f1ca99b5.tar.gz 2651301 BLAKE2B fa7f31b57408e09a1e736362fba52160d616221d1d0455df35904663d4f96f5ba07198a93ce2ba01fc9c87061f4f528094ebebbf144d4af8a84198ac1a474710 SHA512 ea257a6f5928a9afec39cd844ac2165fd053e89275f7170aa2acde339c3a32034cddabfd6a1cfbf94faa1f644146b1aeefb39acb9c6346ddaf009fcfd6d322b8 diff --git a/sys-apps/qdiskinfo/metadata.xml b/sys-apps/qdiskinfo/metadata.xml new file mode 100644 index 0000000..b405a5c --- /dev/null +++ b/sys-apps/qdiskinfo/metadata.xml @@ -0,0 +1,11 @@ + + + + + sighunter@gmx.de + SigHunter + + + edisionnano/QDiskInfo + + diff --git a/sys-apps/qdiskinfo/qdiskinfo-0.2_p20240714.ebuild b/sys-apps/qdiskinfo/qdiskinfo-0.2_p20240714.ebuild new file mode 100644 index 0000000..78ff564 --- /dev/null +++ b/sys-apps/qdiskinfo/qdiskinfo-0.2_p20240714.ebuild @@ -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 +}