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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jun 20 08:17:39 2012 UTC (11 months ago) by ssuominen
Branch: MAIN
Changes since 1.2: +2 -2 lines
x86 stable wrt #420007

(Portage version: 2.2.0_alpha110/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-r3.ebuild,v 1.2 2012/06/11 11:12:59 ago 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 # libmp4v2.so.1 from SLOT=1 is dlopened but gtkpod has switched to
18 # AtomicParsley in git for the upcoming 2.1.2 release
19 COMMON_DEPEND="dev-libs/gdl:3
20 >=dev-libs/glib-2.28.5
21 >=dev-libs/libxml2-2.7.7
22 >=dev-util/anjuta-2.91
23 >=media-libs/libgpod-0.7.0
24 >=media-libs/libid3tag-0.15
25 >=x11-libs/gtk+-3.0.8:3
26 aac? (
27 media-libs/faad2
28 || ( media-libs/libmp4v2:1 <=media-libs/libmp4v2-1.9.1:0 )
29 )
30 clutter? ( media-libs/clutter-gtk:1.0 )
31 curl? ( >=net-misc/curl-7.10 )
32 flac? ( media-libs/flac )
33 gstreamer? ( >=media-libs/gst-plugins-base-0.10.25:0.10 )
34 mp3? ( media-sound/lame )
35 vorbis? (
36 media-libs/libvorbis
37 media-sound/vorbis-tools
38 )
39 webkit? ( >=net-libs/webkit-gtk-1.3:3 )"
40 RDEPEND="${COMMON_DEPEND}
41 gstreamer? ( media-plugins/gst-plugins-meta:0.10 )"
42 DEPEND="${COMMON_DEPEND}
43 dev-util/intltool
44 virtual/pkgconfig
45 sys-devel/flex
46 sys-devel/gettext
47 virtual/os-headers"
48
49 src_prepare() {
50 epatch "${FILESDIR}"/${P}-segfault_with_directory_creation.patch #414753
51 }
52
53 src_configure() {
54 econf \
55 --disable-static \
56 $(use_enable webkit plugin-coverweb) \
57 $(use_enable clutter plugin-clarity) \
58 $(use_enable gstreamer plugin-media-player) \
59 $(use_with curl) \
60 $(use_with vorbis ogg) \
61 $(use_with flac) \
62 $(use_with aac faad)
63 }
64
65 src_install() {
66 emake \
67 DESTDIR="${D}" \
68 docdir=/usr/share/doc/${PF}/html \
69 figuresdir=/usr/share/doc/${PF}/html/figures \
70 install
71
72 dodoc AUTHORS ChangeLog NEWS README TODO TROUBLESHOOTING
73
74 find "${D}" -name '*.la' -exec rm -f {} +
75 rm -f "${D}"/usr/share/gtkpod/data/{AUTHORS,COPYING}
76 }
77
78 pkg_preinst() {
79 gnome2_icon_savelist
80 gnome2_schemas_savelist
81 }
82
83 pkg_postinst() {
84 gnome2_icon_cache_update
85 gnome2_schemas_update
86 }
87
88 pkg_postrm() {
89 gnome2_icon_cache_update
90 gnome2_schemas_update
91 }

  ViewVC Help
Powered by ViewVC 1.1.13