blob: 2e51bcd7fe29761357ecbd85554ef20f21525438 (
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-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/gmtp/gmtp-1.3.0.ebuild,v 1.1 2011/12/24 10:32:11 tomka 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
dev-libs/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
}
|