diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-17 14:24:32 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-17 14:24:32 +0000 |
commit | f27f6462d1cd2d32ccf6da81b37a5e3558e7a39e (patch) | |
tree | 606c7f0ac261bd9f9ffd6c4c0e7e8dfd6b2d5de4 /app-pda/gtkpod | |
parent | Insert app-pda/gtkpod >= 2.1.0 mask next to required dev-util/anjuta >= 3 dep... (diff) | |
download | gentoo-2-f27f6462d1cd2d32ccf6da81b37a5e3558e7a39e.tar.gz gentoo-2-f27f6462d1cd2d32ccf6da81b37a5e3558e7a39e.tar.bz2 gentoo-2-f27f6462d1cd2d32ccf6da81b37a5e3558e7a39e.zip |
Version bump wrt #362461 by Alex Ermakov
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'app-pda/gtkpod')
-rw-r--r-- | app-pda/gtkpod/ChangeLog | 7 | ||||
-rw-r--r-- | app-pda/gtkpod/gtkpod-2.1.0.ebuild | 87 |
2 files changed, 93 insertions, 1 deletions
diff --git a/app-pda/gtkpod/ChangeLog b/app-pda/gtkpod/ChangeLog index 5aad06527839..8b8b1fc23c5b 100644 --- a/app-pda/gtkpod/ChangeLog +++ b/app-pda/gtkpod/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-pda/gtkpod # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/gtkpod/ChangeLog,v 1.92 2011/09/17 14:11:33 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/gtkpod/ChangeLog,v 1.93 2011/09/17 14:24:32 ssuominen Exp $ + +*gtkpod-2.1.0 (17 Sep 2011) + + 17 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> +gtkpod-2.1.0.ebuild: + Version bump wrt #362461 by Alex Ermakov 17 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> -gtkpod-1.0.0.ebuild, -gtkpod-2.0.0.ebuild: diff --git a/app-pda/gtkpod/gtkpod-2.1.0.ebuild b/app-pda/gtkpod/gtkpod-2.1.0.ebuild new file mode 100644 index 000000000000..129fb2bfb299 --- /dev/null +++ b/app-pda/gtkpod/gtkpod-2.1.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/gtkpod/gtkpod-2.1.0.ebuild,v 1.1 2011/09/17 14:24:32 ssuominen Exp $ + +EAPI=4 +inherit gnome2-utils + +DESCRIPTION="A graphical user interface to the Apple productline" +HOMEPAGE="http://gtkpod.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 FDL-1.2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="aac curl flac gstreamer mp3 ogg webkit" + +COMMON_DEPEND="dev-libs/gdl:3 + >=dev-libs/glib-2.28.5:2 + >=dev-libs/libxml2-2.7.7 + >=dev-util/anjuta-2.91 + >=media-libs/libgpod-0.7.0 + >=media-libs/libid3tag-0.15 + >=x11-libs/gtk+-3.0.8:3 + aac? ( media-libs/faad2 + media-libs/libmp4v2 ) + curl? ( >=net-misc/curl-7.10 ) + flac? ( media-libs/flac ) + gstreamer? ( >=media-libs/gst-plugins-base-0.10.25:0.10 ) + mp3? ( media-sound/lame ) + ogg? ( media-libs/libvorbis + media-sound/vorbis-tools ) + webkit? ( >=net-libs/webkit-gtk-1.3:3 )" +RDEPEND="${COMMON_DEPEND} + gstreamer? ( media-plugins/gst-plugins-meta:0.10 )" +DEPEND="${COMMON_DEPEND} + dev-util/intltool + dev-util/pkgconfig + sys-kernel/linux-headers + sys-devel/flex + sys-devel/gettext" + +src_prepare() { + sed -i \ + -e 's:-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED::' \ + -e 's:-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED::' \ + -e '/-no-undefined/s:LDFLAGS=":&$LDFLAGS :' \ + configure || die +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable webkit plugin-coverweb) \ + $(use_enable gstreamer plugin-media-player) \ + $(use_with curl) \ + $(use_with ogg) \ + $(use_with flac) \ + $(use_with aac faad) +} + +src_install() { + emake \ + DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF}/html \ + figuresdir=/usr/share/doc/${PF}/html/figures \ + install + + dodoc AUTHORS ChangeLog NEWS README TODO TODOandBUGS.txt TROUBLESHOOTING + + find "${D}" -name '*.la' -exec rm -f {} + + rm -f "${D}"/usr/share/gtkpod/data/{AUTHORS,COPYING} +} + +pkg_preinst() { + gnome2_icon_savelist + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_icon_cache_update + gnome2_schemas_update --uninstall +} |