app-emacs/emms: minor style refactor

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-10-17 12:18:12 +02:00
parent 16cb3a63e8
commit b49f82758d
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 26 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors # Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -11,21 +11,27 @@ HOMEPAGE="https://www.gnu.org/software/emms/
if [[ "${PV}" == *9999* ]] ; then if [[ "${PV}" == *9999* ]] ; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emms.git"
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emms"
else else
SRC_URI="https://git.savannah.gnu.org/cgit/emms.git/snapshot/${P}.tar.gz" SRC_URI="https://git.savannah.gnu.org/cgit/emms.git/snapshot/${P}.tar.gz"
KEYWORDS="~amd64 ~ppc ~sparc ~x86" KEYWORDS="~amd64 ~ppc ~sparc ~x86"
fi fi
LICENSE="GPL-3+ FDL-1.1+" LICENSE="GPL-3+ FDL-1.1+"
SLOT="0" SLOT="0"
RDEPEND="media-libs/taglib:=" # NOTE: EMMS can use almost anything for playing media files therefore
DEPEND="${RDEPEND}" # the dependency possibilities are so broad that we refrain from setting
# anything explicitly in DEPEND/RDEPEND.
# EMMS can use almost anything for playing media files therefore the dependency RDEPEND="
# possibilities are so broad that we refrain from setting anything explicitly media-libs/taglib:=
# in DEPEND/RDEPEND. "
DEPEND="
${RDEPEND}
"
DOCS=( AUTHORS NEWS README ) DOCS=( AUTHORS NEWS README )
SITEFILE="50${PN}-gentoo.el" SITEFILE="50${PN}-gentoo.el"

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors # Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -11,21 +11,27 @@ HOMEPAGE="https://www.gnu.org/software/emms/
if [[ "${PV}" == *9999* ]] ; then if [[ "${PV}" == *9999* ]] ; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emms.git"
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emms"
else else
SRC_URI="https://git.savannah.gnu.org/cgit/emms.git/snapshot/${P}.tar.gz" SRC_URI="https://git.savannah.gnu.org/cgit/emms.git/snapshot/${P}.tar.gz"
KEYWORDS="~amd64 ~ppc ~sparc ~x86" KEYWORDS="~amd64 ~ppc ~sparc ~x86"
fi fi
LICENSE="GPL-3+ FDL-1.1+" LICENSE="GPL-3+ FDL-1.1+"
SLOT="0" SLOT="0"
RDEPEND="media-libs/taglib:=" # NOTE: EMMS can use almost anything for playing media files therefore
DEPEND="${RDEPEND}" # the dependency possibilities are so broad that we refrain from setting
# anything explicitly in DEPEND/RDEPEND.
# EMMS can use almost anything for playing media files therefore the dependency RDEPEND="
# possibilities are so broad that we refrain from setting anything explicitly media-libs/taglib:=
# in DEPEND/RDEPEND. "
DEPEND="
${RDEPEND}
"
DOCS=( AUTHORS NEWS README ) DOCS=( AUTHORS NEWS README )
SITEFILE="50${PN}-gentoo.el" SITEFILE="50${PN}-gentoo.el"