You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
958 B
50 lines
958 B
2 years ago
|
# Copyright 1999-2022 Gentoo Authors
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
2 years ago
|
EAPI=8
|
||
9 years ago
|
|
||
2 years ago
|
inherit autotools xdg
|
||
9 years ago
|
|
||
|
DESCRIPTION="Audio Tag Tool Ogg/Mp3 Tagger"
|
||
8 years ago
|
HOMEPAGE="https://sourceforge.net/projects/tagtool/"
|
||
|
SRC_URI="https://sourceforge.net/projects/${PN}/files/${PN}/${PV}/${P}.tar.bz2"
|
||
9 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
8 years ago
|
KEYWORDS="amd64 ppc ~sparc x86"
|
||
8 years ago
|
IUSE="mp3 +vorbis"
|
||
|
REQUIRED_USE="|| ( mp3 vorbis )"
|
||
9 years ago
|
|
||
2 years ago
|
RDEPEND="
|
||
|
x11-libs/gtk+:2
|
||
9 years ago
|
>=gnome-base/libglade-2.6
|
||
|
mp3? ( >=media-libs/id3lib-3.8.3-r6 )
|
||
8 years ago
|
vorbis? ( >=media-libs/libvorbis-1 )"
|
||
2 years ago
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="virtual/pkgconfig"
|
||
9 years ago
|
|
||
|
PATCHES=(
|
||
2 years ago
|
"${FILESDIR}"/${P}-autotools.patch
|
||
|
"${FILESDIR}"/${P}-QA-desktop.patch
|
||
9 years ago
|
)
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
8 years ago
|
econf \
|
||
|
$(use_enable mp3) \
|
||
|
$(use_enable vorbis)
|
||
9 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake \
|
||
|
DESTDIR="${D}" \
|
||
2 years ago
|
GNOME_SYSCONFDIR="${ED}"/etc \
|
||
|
sysdir="${ED}"/usr/share/applets/Multimedia \
|
||
8 years ago
|
install
|
||
2 years ago
|
einstalldocs
|
||
9 years ago
|
}
|