/[gentoo-x86]/app-pda/gtkpod/gtkpod-2.1.1-r1.ebuild
Gentoo

Contents of /app-pda/gtkpod/gtkpod-2.1.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed May 9 18:50:26 2012 UTC (2 years, 7 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-pda/gtkpod/gtkpod-2.1.1-r1.ebuild,v 1.3 2012/05/03 20:20:57 jdhore Exp $
4
5 EAPI=4
6 inherit eutils gnome2-utils
7
8 DESCRIPTION="A graphical user interface to the Apple productline"
9 HOMEPAGE="http://gtkpod.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11
12 LICENSE="GPL-2 FDL-1.2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="aac clutter curl flac gstreamer mp3 vorbis webkit"
16
17 COMMON_DEPEND="dev-libs/gdl:3
18 >=dev-libs/glib-2.28.5
19 >=dev-libs/libxml2-2.7.7
20 >=dev-util/anjuta-2.91
21 >=media-libs/libgpod-0.7.0
22 >=media-libs/libid3tag-0.15
23 >=x11-libs/gtk+-3.0.8:3
24 aac? (
25 media-libs/faad2
26 >=media-libs/libmp4v2-1.9.1
27 )
28 clutter? ( media-libs/clutter-gtk:1.0 )
29 curl? ( >=net-misc/curl-7.10 )
30 flac? ( media-libs/flac )
31 gstreamer? ( >=media-libs/gst-plugins-base-0.10.25:0.10 )
32 mp3? ( media-sound/lame )
33 vorbis? (
34 media-libs/libvorbis
35 media-sound/vorbis-tools
36 )
37 webkit? ( >=net-libs/webkit-gtk-1.3:3 )"
38 RDEPEND="${COMMON_DEPEND}
39 gstreamer? ( media-plugins/gst-plugins-meta:0.10 )"
40 DEPEND="${COMMON_DEPEND}
41 dev-util/intltool
42 virtual/pkgconfig
43 sys-devel/flex
44 sys-devel/gettext
45 virtual/os-headers"
46
47 src_prepare() {
48 epatch "${FILESDIR}"/${PN}-2.1.1-libmp4v2_so_2.patch
49 }
50
51 src_configure() {
52 econf \
53 --disable-static \
54 $(use_enable webkit plugin-coverweb) \
55 $(use_enable clutter plugin-clarity) \
56 $(use_enable gstreamer plugin-media-player) \
57 $(use_with curl) \
58 $(use_with vorbis ogg) \
59 $(use_with flac) \
60 $(use_with aac faad)
61 }
62
63 src_install() {
64 emake \
65 DESTDIR="${D}" \
66 docdir=/usr/share/doc/${PF}/html \
67 figuresdir=/usr/share/doc/${PF}/html/figures \
68 install
69
70 dodoc AUTHORS ChangeLog NEWS README TODO TROUBLESHOOTING
71
72 find "${D}" -name '*.la' -exec rm -f {} +
73 rm -f "${D}"/usr/share/gtkpod/data/{AUTHORS,COPYING}
74 }
75
76 pkg_preinst() {
77 gnome2_icon_savelist
78 gnome2_schemas_savelist
79 }
80
81 pkg_postinst() {
82 gnome2_icon_cache_update
83 gnome2_schemas_update
84 }
85
86 pkg_postrm() {
87 gnome2_icon_cache_update
88 gnome2_schemas_update
89 }

  ViewVC Help
Powered by ViewVC 1.1.20