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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B534A158089 for ; Sat, 28 Oct 2023 15:09:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF9DE2BC013; Sat, 28 Oct 2023 15:09:12 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B33902BC013 for ; Sat, 28 Oct 2023 15:09:12 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B700D335C11 for ; Sat, 28 Oct 2023 15:09:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18EE511E3 for ; Sat, 28 Oct 2023 15:09:10 +0000 (UTC) From: "Konstantin Tutsch" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Konstantin Tutsch" Message-ID: <1698505728.7b12d8b1688e7f7a57e93d9e91d5ff7515a589af.mail@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/eartag/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/eartag/Manifest media-sound/eartag/eartag-0.5.1.ebuild X-VCS-Directories: media-sound/eartag/ X-VCS-Committer: mail X-VCS-Committer-Name: Konstantin Tutsch X-VCS-Revision: 7b12d8b1688e7f7a57e93d9e91d5ff7515a589af X-VCS-Branch: dev Date: Sat, 28 Oct 2023 15:09:10 +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: f1be0821-92f9-4c1e-ab69-bdb80ab79893 X-Archives-Hash: f630ecfa2215712afa0c7dd1a5582862 commit: 7b12d8b1688e7f7a57e93d9e91d5ff7515a589af Author: Konstantin Tutsch konstantintutsch de> AuthorDate: Sat Oct 28 15:08:10 2023 +0000 Commit: Konstantin Tutsch konstantintutsch de> CommitDate: Sat Oct 28 15:08:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b12d8b1 media-sound/eartag: add 0.5.1 Signed-off-by: Konstantin Tutsch konstantintutsch.de> media-sound/eartag/Manifest | 1 + media-sound/eartag/eartag-0.5.1.ebuild | 56 ++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/media-sound/eartag/Manifest b/media-sound/eartag/Manifest index f9ca1fbd78..c045bbe9ea 100644 --- a/media-sound/eartag/Manifest +++ b/media-sound/eartag/Manifest @@ -1 +1,2 @@ DIST eartag-0.5.0.tar.bz2 437537 BLAKE2B 75d7f11a3155b8b1a5e166036164b50c63db1b243aced928dd7ccae9ea8bad4a23f28983cfa41d258a18a259475785ae98647d899ad0b9b69cb2899521e3f0a6 SHA512 41c254d285d3e7372ec5ed06a14ff1ecdf9e6c8b18311d4bb6028a5ae7dc01e8e35219f15dab430f408a08f3dcd8fd20d2112590a757cbc4d40d31e11edfe26b +DIST eartag-0.5.1.tar.bz2 442269 BLAKE2B 34bb7e5d1ae4349f4615fc00b16c02b0d005ef04ae5da3886b6a5a0544adf6609d9e68c5c050a7854ab8e87b62569400fd040eb9d795ada2fa4a2754bbd3a309 SHA512 9103b650b68581a2145963015b02489de675155eddc9ac6095b9e492baeddb9affaa74198837b6bbec47b536c9484ab0e5257024cd6b2c6a14fae650c6c44c1f diff --git a/media-sound/eartag/eartag-0.5.1.ebuild b/media-sound/eartag/eartag-0.5.1.ebuild new file mode 100644 index 0000000000..18254af174 --- /dev/null +++ b/media-sound/eartag/eartag-0.5.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) + +inherit gnome2-utils meson python-single-r1 xdg + +DESCRIPTION="GTK4 MusicBrainz audio tagger" +HOMEPAGE="https://gitlab.gnome.org/World/eartag" +SRC_URI="https://gitlab.gnome.org/World/eartag/-/archive/${PV}/eartag-${PV}.tar.bz2" +S="${WORKDIR}/eartag-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + >=gui-libs/gtk-4.12.0 + >=gui-libs/libadwaita-1.4.0 + >=dev-python/pygobject-3.44.1 + >=dev-python/pillow-10.0.0 + >=media-libs/mutagen-1.46.0 + >=dev-python/python-magic-0.4.27 + >=dev-python/pyacoustid-1.2.2-r1 + test? ( >=dev-python/pytest-7.4.0 ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=dev-util/meson-1.2.1-r1 +" + +src_install() { + sed -i \ + -e 's/^#!.*/#!\/usr\/bin\/python3/g' \ + "${S}-build/src/eartag" \ + || die + + meson_src_install + python_optimize +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}