/[gentoo-x86]/media-libs/libgpod/libgpod-0.8.2.ebuild
Gentoo

Contents of /media-libs/libgpod/libgpod-0.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sun Jul 27 13:10:14 2014 UTC (3 weeks, 5 days ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libgpod/libgpod-0.8.2.ebuild,v 1.10 2013/05/11 22:04:47 ssuominen Exp $
4
5 EAPI=5
6
7 PYTHON_DEPEND="python? 2:2.7"
8
9 inherit eutils mono python toolchain-funcs
10
11 DESCRIPTION="Shared library to access the contents of an iPod"
12 HOMEPAGE="http://www.gtkpod.org/libgpod/"
13 SRC_URI="mirror://sourceforge/gtkpod/${P}.tar.bz2"
14
15 LICENSE="LGPL-2"
16 SLOT="0"
17 KEYWORDS="amd64 x86"
18 IUSE="+gtk python +udev ios mono static-libs"
19
20 RDEPEND=">=app-pda/libplist-1.0:=
21 >=dev-db/sqlite-3
22 >=dev-libs/glib-2.16:2
23 dev-libs/libxml2
24 sys-apps/sg3_utils
25 gtk? ( x11-libs/gdk-pixbuf:2 )
26 ios? ( app-pda/libimobiledevice:= )
27 python? (
28 >=media-libs/mutagen-1.8
29 >=dev-python/pygobject-2.8:2
30 )
31 udev? ( virtual/udev )
32 mono? (
33 >=dev-lang/mono-1.9.1
34 >=dev-dotnet/gtk-sharp-2.12
35 )"
36 DEPEND="${RDEPEND}
37 python? ( >=dev-lang/swig-1.3.24 )
38 dev-libs/libxslt
39 dev-util/intltool
40 sys-devel/gettext
41 virtual/pkgconfig"
42
43 DOCS="AUTHORS NEWS README* TROUBLESHOOTING"
44
45 pkg_setup() {
46 if use python; then
47 python_set_active_version 2
48 python_pkg_setup
49 fi
50 }
51
52 src_prepare() {
53 >py-compile
54 }
55
56 src_configure() {
57 local udevdir=/lib/udev
58 use udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
59
60 econf \
61 $(use_enable static-libs static) \
62 $(use_enable udev) \
63 $(use_enable gtk gdk-pixbuf) \
64 $(use_enable python pygobject) \
65 --without-hal \
66 $(use_with ios libimobiledevice) \
67 --with-udev-dir="${udevdir}" \
68 --with-html-dir=/usr/share/doc/${PF}/html \
69 $(use_with python) \
70 $(use_with mono)
71 }
72
73 src_install() {
74 default
75 prune_libtool_files --all
76 }
77
78 pkg_postinst() {
79 use python && python_mod_optimize gpod
80 }
81
82 pkg_postrm() {
83 use python && python_mod_cleanup gpod
84 }

  ViewVC Help
Powered by ViewVC 1.1.20