summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2012-06-21 15:33:19 +0000
committerThomas Kahle <tomka@gentoo.org>2012-06-21 15:33:19 +0000
commit8b1069cd1c35090abc27c4797008bc22ab6b3366 (patch)
treeee365ecac62d5c79493890550d04dbbb81acfb70 /media-sound/gmtp
parentDepend on pkgconfig. Fixes bug#422691. (diff)
downloadgentoo-2-8b1069cd1c35090abc27c4797008bc22ab6b3366.tar.gz
gentoo-2-8b1069cd1c35090abc27c4797008bc22ab6b3366.tar.bz2
gentoo-2-8b1069cd1c35090abc27c4797008bc22ab6b3366.zip
bump to 1.3.3
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/gmtp')
-rw-r--r--media-sound/gmtp/ChangeLog7
-rw-r--r--media-sound/gmtp/gmtp-1.3.3.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/media-sound/gmtp/ChangeLog b/media-sound/gmtp/ChangeLog
index 413434c54d62..99800745b9c3 100644
--- a/media-sound/gmtp/ChangeLog
+++ b/media-sound/gmtp/ChangeLog
@@ -1,6 +1,11 @@
# 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.10 2012/06/01 18:11:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gmtp/ChangeLog,v 1.11 2012/06/21 15:33:19 tomka Exp $
+
+*gmtp-1.3.3 (21 Jun 2012)
+
+ 21 Jun 2012; Thomas Kahle <tomka@gentoo.org> +gmtp-1.3.3.ebuild:
+ bump to 1.3.3
01 Jun 2012; Mike Frysinger <vapier@gentoo.org>
+files/gmtp-1.3.1-pkg-config.patch, gmtp-1.3.1-r300.ebuild:
diff --git a/media-sound/gmtp/gmtp-1.3.3.ebuild b/media-sound/gmtp/gmtp-1.3.3.ebuild
new file mode 100644
index 000000000000..cb4cb0825cad
--- /dev/null
+++ b/media-sound/gmtp/gmtp-1.3.3.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.3.ebuild,v 1.1 2012/06/21 15:33:18 tomka Exp $
+
+EAPI=4
+inherit gnome2-utils toolchain-funcs eutils
+
+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
+ media-libs/flac
+ media-libs/libid3tag
+ media-libs/libmtp
+ 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)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+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
+}