2017-06-05 10:04:35 +03:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
2012-02-06 16:39:49 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2017-06-05 10:04:35 +03:00
|
|
|
EAPI=6
|
2012-02-06 16:39:49 +04:00
|
|
|
|
2017-06-05 10:04:35 +03:00
|
|
|
inherit toolchain-funcs
|
2012-02-06 16:39:49 +04:00
|
|
|
|
2017-06-05 10:04:35 +03:00
|
|
|
DESCRIPTION="Utility for adding image files (e.g. album cover art) to metadata of FLAC files"
|
2012-02-06 16:39:49 +04:00
|
|
|
HOMEPAGE="http://www.singingtree.com/software/"
|
|
|
|
SRC_URI="http://www.singingtree.com/software/${PN}.tar.gz -> ${P}.tar.gz"
|
|
|
|
# FIXME: no version in tarball, but also no updates for a long time. So it's ok.
|
|
|
|
|
2017-06-05 10:04:35 +03:00
|
|
|
LICENSE="BSD"
|
2012-02-06 16:39:49 +04:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="media-libs/flac"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
2017-06-05 10:04:35 +03:00
|
|
|
S=${WORKDIR}
|
2012-02-06 16:39:49 +04:00
|
|
|
|
2017-06-05 10:04:35 +03:00
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}"/${PN}-1.00-add-missing-string-include.patch
|
|
|
|
"${FILESDIR}"/${PN}-1.00-fix-build-system.patch
|
|
|
|
)
|
2012-02-06 16:39:49 +04:00
|
|
|
|
2017-06-05 10:04:35 +03:00
|
|
|
src_configure() {
|
|
|
|
# remove pre-compiled binary
|
|
|
|
rm -f "${PN}" || die
|
2012-02-06 16:39:49 +04:00
|
|
|
|
2017-06-05 10:04:35 +03:00
|
|
|
tc-export CC
|
2012-02-06 16:39:49 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dobin "${PN}"
|
|
|
|
}
|