blob: 76cc66fa1f3649b3deaa0377eff5b3debae4815d (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/gmtp/gmtp-1.2.0.ebuild,v 1.3 2012/05/22 16:30:44 ssuominen Exp $
EAPI=4
inherit eutils gnome2-utils
DESCRIPTION="simple MP3 player client for MTP based devices"
HOMEPAGE="http://gmtp.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PF}-i386.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="x11-libs/gtk+
gnome-base/gconf
media-libs/libmtp
media-libs/libid3tag
virtual/libusb
media-libs/flac
media-libs/libvorbis"
RDEPEND="${DEPEND}"
S="${WORKDIR}/gMTP"
src_prepare() {
epatch "${FILESDIR}/${PF}-makefile-gentoo.patch"
}
pkg_preinst() {
gnome2_gconf_savelist
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_gconf_install
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_gconf_uninstall
gnome2_icon_cache_update
}
|