From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B18791581F0 for ; Thu, 12 Dec 2024 05:12:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E90EE0D3E; Thu, 12 Dec 2024 05:12:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F35CE0D38 for ; Thu, 12 Dec 2024 05:12:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4CF363430DC for ; Thu, 12 Dec 2024 05:12:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ACCFD1CA3 for ; Thu, 12 Dec 2024 05:12:54 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1733980246.a021c3b2be30d0236220baeffe0ff8991433cc14.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/gsmartcontrol/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/gsmartcontrol/Manifest sys-apps/gsmartcontrol/gsmartcontrol-2.0.1.ebuild X-VCS-Directories: sys-apps/gsmartcontrol/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a021c3b2be30d0236220baeffe0ff8991433cc14 X-VCS-Branch: master Date: Thu, 12 Dec 2024 05:12:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dce860f3-d3c6-40f5-a1dd-072204addca6 X-Archives-Hash: 1122296b05b487ff72233a6394176c7a commit: a021c3b2be30d0236220baeffe0ff8991433cc14 Author: Alfred Wingate protonmail com> AuthorDate: Thu Nov 7 16:51:29 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Dec 12 05:10:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a021c3b2 sys-apps/gsmartcontrol: add 2.0.1 Bug: https://bugs.gentoo.org/886527 Signed-off-by: Alfred Wingate protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/39231 Signed-off-by: Sam James gentoo.org> sys-apps/gsmartcontrol/Manifest | 1 + sys-apps/gsmartcontrol/gsmartcontrol-2.0.1.ebuild | 50 +++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/sys-apps/gsmartcontrol/Manifest b/sys-apps/gsmartcontrol/Manifest index aea538f805bd..26eb8cb2711e 100644 --- a/sys-apps/gsmartcontrol/Manifest +++ b/sys-apps/gsmartcontrol/Manifest @@ -1 +1,2 @@ DIST gsmartcontrol-1.1.4.tar.bz2 691155 BLAKE2B 484452b85e848ca9d0539f9fb9e63fc60f837d5e5de1d85d6ef6340fba194ea52cb2026682b263b1391a59eee4ee846dad3863dc1f0bd00296015ddcf86dda9a SHA512 a59147f7adb76fa1cfc55198d175b38f7840c0ec07563bc020757d7609891c8f67953b87a867235821f90c52bc3c8e40a8d8a57a1429e4b75a3afb3a2ada42f1 +DIST gsmartcontrol-2.0.1.tar.gz 1456341 BLAKE2B aaeb586d13b36c37dae78856dde4b929929b45d77ec741b75a4e6cbf42b0aa3c14d3525cc6ef61472a986dcd216e97aeed92d09ef330725641111fb3964b6660 SHA512 e5c1e3981d076c61cf73b69561a51a1099a1f593d3fe892048cd3fae79c241cd5533364404d46f32d385f044dd256f5e3cc68213f82063451cf1e3fda413c541 diff --git a/sys-apps/gsmartcontrol/gsmartcontrol-2.0.1.ebuild b/sys-apps/gsmartcontrol/gsmartcontrol-2.0.1.ebuild new file mode 100644 index 000000000000..cc3c241d5b9a --- /dev/null +++ b/sys-apps/gsmartcontrol/gsmartcontrol-2.0.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Hard Disk Drive and SSD Health Inspection Tool" +HOMEPAGE="https://gsmartcontrol.shaduri.dev/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ashaduri/gsmartcontrol" +else + SRC_URI=" + https://github.com/ashaduri/gsmartcontrol/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz + " + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3 LGPL-3 0BSD Boost-1.0 ZLIB" +#bundles catch2, nlohmann_json, tl_expected and whereami +LICENSE+=" Boost-1.0 CC0-1.0 MIT || ( MIT WTFPL-2 )" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-cpp/glibmm:* + dev-cpp/gtkmm:3.0 + dev-libs/libsigc++:2 + sys-apps/smartmontools +" +RDEPEND=" + ${DEPEND} + x11-apps/xmessage +" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DAPP_BUILD_EXAMPLES=OFF + -DAPP_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +}