summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2011-08-08 11:09:00 +0000
committerThomas Kahle <tomka@gentoo.org>2011-08-08 11:09:00 +0000
commit4733735ea3526e87f7d2fe6c61b057db6b610419 (patch)
treedfe353a12960ec5a47c52f9ff125eab71aa8f79f /media-sound/gmtp
parentVersion bump (diff)
downloadgentoo-2-4733735ea3526e87f7d2fe6c61b057db6b610419.tar.gz
gentoo-2-4733735ea3526e87f7d2fe6c61b057db6b610419.tar.bz2
gentoo-2-4733735ea3526e87f7d2fe6c61b057db6b610419.zip
bump to 1.2.0
(Portage version: 2.1.10.7/cvs/Linux i686)
Diffstat (limited to 'media-sound/gmtp')
-rw-r--r--media-sound/gmtp/ChangeLog8
-rw-r--r--media-sound/gmtp/files/gmtp-1.2.0-makefile-gentoo.patch70
-rw-r--r--media-sound/gmtp/gmtp-1.2.0.ebuild46
3 files changed, 123 insertions, 1 deletions
diff --git a/media-sound/gmtp/ChangeLog b/media-sound/gmtp/ChangeLog
index 398b1c9bad5c..49cfd4d3413f 100644
--- a/media-sound/gmtp/ChangeLog
+++ b/media-sound/gmtp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/gmtp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gmtp/ChangeLog,v 1.2 2011/07/27 15:25:26 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gmtp/ChangeLog,v 1.3 2011/08/08 11:09:00 tomka Exp $
+
+*gmtp-1.2.0 (08 Aug 2011)
+
+ 08 Aug 2011; Thomas Kahle <tomka@gentoo.org> +gmtp-1.2.0.ebuild,
+ +files/gmtp-1.2.0-makefile-gentoo.patch:
+ bump to 1.2.0
27 Jul 2011; Thomas Kahle <tomka@gentoo.org> gmtp-1.1.0.ebuild:
Fixing homepage
diff --git a/media-sound/gmtp/files/gmtp-1.2.0-makefile-gentoo.patch b/media-sound/gmtp/files/gmtp-1.2.0-makefile-gentoo.patch
new file mode 100644
index 000000000000..4928e6d2a239
--- /dev/null
+++ b/media-sound/gmtp/files/gmtp-1.2.0-makefile-gentoo.patch
@@ -0,0 +1,70 @@
+diff -U 3 -dHrN gMTP-orig/Makefile gMTP/Makefile
+--- gMTP-orig/Makefile 2011-07-22 22:43:46.000000000 +0100
++++ gMTP/Makefile 2011-07-22 23:47:35.000000000 +0100
+@@ -1,7 +1,7 @@
+ # gMTP Sync tool
+
+ PKG_NAME = gmtp
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ VER = 1.2.0
+ # Note: If you update above, please update the config.h and pkginfo file as well.
+
+@@ -28,7 +28,7 @@
+ GCONFTOOL = gconftool-2
+ TAR = tar
+
+-CFLAGS += -c -g -O
++CFLAGS += -c
+ LDFLAGS +=
+ LIBS +=
+
+@@ -115,7 +115,7 @@
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/applications
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/pixmaps
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/gconf
+- $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/gconf/schemas
++ $(INSTALL) -d $(DESTDIR)/etc/gconf/schemas
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/locale
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/locale/es
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/locale/it
+@@ -143,17 +143,17 @@
+ $(INSTALL) -m 644 images/view-refresh.png $(DESTDIR)$(PREFIX)/share/$(PKG_NAME)
+ $(INSTALL) -m 644 misc/gMTP.desktop $(DESTDIR)$(PREFIX)/share/applications
+ $(INSTALL) -m 644 images/icon.png $(DESTDIR)$(PREFIX)/share/pixmaps
+- $(INSTALL) -m 644 misc/gMTP.schemas $(DESTDIR)$(PREFIX)/share/gconf/schemas
++ $(INSTALL) -m 644 misc/gMTP.schemas $(DESTDIR)/etc/gconf/schemas
+ mv $(DESTDIR)$(PREFIX)/share/pixmaps/icon.png $(DESTDIR)$(PREFIX)/share/pixmaps/gMTPicon.png
+ cp po/es.mo $(DESTDIR)$(PREFIX)/share/locale/es/LC_MESSAGES/gmtp.mo
+ cp po/fr.mo $(DESTDIR)$(PREFIX)/share/locale/fr/LC_MESSAGES/gmtp.mo
+ cp po/it.mo $(DESTDIR)$(PREFIX)/share/locale/it/LC_MESSAGES/gmtp.mo
+ cp po/da.mo $(DESTDIR)$(PREFIX)/share/locale/da/LC_MESSAGES/gmtp.mo
+ cp po/de.mo $(DESTDIR)$(PREFIX)/share/locale/de/LC_MESSAGES/gmtp.mo
+- mv $(DESTDIR)$(PREFIX)/share/gconf/schemas/gMTP.schemas $(DESTDIR)$(PREFIX)/share/gconf/schemas/gmtp.schemas
++ mv $(DESTDIR)/etc/gconf/schemas/gMTP.schemas $(DESTDIR)/etc/gconf/schemas/gmtp.schemas
+
+ register-gconf-schemas: install
+- GCONF_CONFIG_SOURCE=`$(GCONFTOOL) --get-default-source` $(GCONFTOOL) --makefile-install-rule $(DESTDIR)$(PREFIX)/share/gconf/schemas/gmtp.schemas
++ GCONF_CONFIG_SOURCE=`$(GCONFTOOL) --get-default-source` $(GCONFTOOL) --makefile-install-rule $(DESTDIR)/etc/gconf/schemas/gmtp.schemas
+
+ install-gtk3: gmtp $(catalogues)
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)
+@@ -215,7 +215,7 @@
+ rm -f $(DESTDIR)$(PREFIX)/share/$(PKG_NAME)/*
+ rm -f $(DESTDIR)$(PREFIX)/share/applications/gMTP.desktop
+ rm -f $(DESTDIR)$(PREFIX)/share/pixmaps/gMTPicon.png
+- rm -f $(DESTDIR)$(PREFIX)/share/gconf/schemas/gmtp.schemas
++ rm -f $(DESTDIR)/etc/gconf/schemas/gmtp.schemas
+ rm -f $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas/org.gnome.gMTP.gschema.xml
+ rm -f $(DESTDIR)$(PREFIX)/share/locale/es/LC_MESSAGES/gmtp.mo
+ rm -f $(DESTDIR)$(PREFIX)/share/locale/fr/LC_MESSAGES/gmtp.mo
+diff -U 3 -dHrN gMTP-orig/pkginfo gMTP/pkginfo
+--- gMTP-orig/pkginfo 2011-07-22 22:43:46.000000000 +0100
++++ gMTP/pkginfo 2011-07-22 22:44:02.000000000 +0100
+@@ -1,5 +1,5 @@
+ CLASSES=none
+-BASEDIR=/usr/local
++BASEDIR=/usr
+ TZ=PST
+ PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
+ PKG=gmtp
diff --git a/media-sound/gmtp/gmtp-1.2.0.ebuild b/media-sound/gmtp/gmtp-1.2.0.ebuild
new file mode 100644
index 000000000000..159d0b1035ca
--- /dev/null
+++ b/media-sound/gmtp/gmtp-1.2.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gmtp/gmtp-1.2.0.ebuild,v 1.1 2011/08/08 11:09:00 tomka Exp $
+
+EAPI=4
+
+inherit eutils gnome2-utils
+
+DESCRIPTION="simple MP3 player client for MTP based devices"
+HOMEPAGE="http://gmtp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PF}-i386.tar.gz"
+LICENSE="gmtp"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/gtk+
+gnome-base/gconf
+media-libs/libmtp
+media-libs/libid3tag
+dev-libs/libusb
+media-libs/flac
+media-libs/libvorbis"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/gMTP"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PF}-makefile-gentoo.patch"
+}
+
+pkg_preinst() {
+ gnome2_gconf_savelist
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_gconf_install
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_gconf_uninstall
+ gnome2_icon_cache_update
+}