blob: f674d77b9b46ff0735882074c714f39af686aaca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/cantus/cantus-20060206.ebuild,v 1.6 2006/10/28 01:39:59 flameeyes Exp $
inherit eutils multilib
DESCRIPTION="Easy to use tool for tagging and renaming MP3 and OGG/Vorbis files"
HOMEPAGE="http://www.debain.org/software/cantus/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64 ~ppc sparc ~x86"
IUSE=""
RDEPEND="media-libs/libvorbis
media-libs/libogg
>=dev-cpp/gtkmm-2.4.0
>=dev-cpp/libglademm-2.4.0"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-gentoo.patch
}
src_compile() {
GENTOO_LIBDIR="$(get_libdir)" ./build.sh --prefix /usr || die "Build failed"
}
src_install() {
# this package has an amazingly stupid installer
dodir /usr/$(get_libdir)
GENTOO_LIBDIR="$(get_libdir)" ./build.sh --install --prefix ${D}/usr || die "Install failed"
rm -rf "${D}"/usr/doc "${D}"/usr/share/gnome/help/cantus_3/C/figures/CVS/
dodoc AUTHORS TODO README NEWS CHANGELOG
insinto /usr/share/pixmaps
newins ${FILESDIR}/${PN}.png ${PN}3.png
insinto /usr/share/applications
doins ${FILESDIR}/${PN}.desktop
}
|