diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-05-25 07:52:47 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-05-25 07:52:47 +0000 |
commit | d8ab67f12f657daabfd097fca6bf81a945391187 (patch) | |
tree | 4e9ab005ed727066004ebf7dfd007758435a8ab9 /media-sound/gmtp | |
parent | fix Changelog (diff) | |
download | gentoo-2-d8ab67f12f657daabfd097fca6bf81a945391187.tar.gz gentoo-2-d8ab67f12f657daabfd097fca6bf81a945391187.tar.bz2 gentoo-2-d8ab67f12f657daabfd097fca6bf81a945391187.zip |
Revision bump for GTK+ 3.x migration. Use gsettings instead of gconf. Remove bogus libusb dependency since gMTP is using it only through libmtp indirectly.
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/gmtp')
-rw-r--r-- | media-sound/gmtp/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/gmtp/gmtp-1.3.1-r300.ebuild | 58 |
2 files changed, 66 insertions, 1 deletions
diff --git a/media-sound/gmtp/ChangeLog b/media-sound/gmtp/ChangeLog index c2aad8688420..059312bea04f 100644 --- a/media-sound/gmtp/ChangeLog +++ b/media-sound/gmtp/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/gmtp # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/gmtp/ChangeLog,v 1.7 2012/05/22 16:30:44 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/gmtp/ChangeLog,v 1.8 2012/05/25 07:52:47 ssuominen Exp $ + +*gmtp-1.3.1-r300 (25 May 2012) + + 25 May 2012; Samuli Suominen <ssuominen@gentoo.org> +gmtp-1.3.1-r300.ebuild: + Revision bump for GTK+ 3.x migration. Use gsettings instead of gconf. Remove + bogus libusb dependency since gMTP is using it only through libmtp + indirectly. 22 May 2012; Samuli Suominen <ssuominen@gentoo.org> gmtp-1.2.0.ebuild, gmtp-1.3.0.ebuild, gmtp-1.3.1.ebuild: diff --git a/media-sound/gmtp/gmtp-1.3.1-r300.ebuild b/media-sound/gmtp/gmtp-1.3.1-r300.ebuild new file mode 100644 index 000000000000..9119e5babb20 --- /dev/null +++ b/media-sound/gmtp/gmtp-1.3.1-r300.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/gmtp/gmtp-1.3.1-r300.ebuild,v 1.1 2012/05/25 07:52:47 ssuominen Exp $ + +EAPI=4 +inherit gnome2-utils toolchain-funcs + +DESCRIPTION="A simple MTP client for MP3 players" +HOMEPAGE="http://gmtp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-i386.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.16 + media-libs/flac + media-libs/libid3tag + >=media-libs/libmtp-1.1.0 + media-libs/libvorbis + x11-libs/gtk+:3" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +S=${WORKDIR}/gMTP + +src_prepare() { + sed -i \ + -e '/CFLAGS/s:-g::' \ + -e '/glib-compile-schemas/d' \ + Makefile || die +} + +src_compile() { + emake gtk3 CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install-gtk3 register-gsettings-schemas + dodoc AUTHORS ChangeLog README +} + +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 +} |