diff options
author | Thomas Kahle <tomka@gentoo.org> | 2011-07-22 22:58:07 +0000 |
---|---|---|
committer | Thomas Kahle <tomka@gentoo.org> | 2011-07-22 22:58:07 +0000 |
commit | 12d42e1a9fd416275cf47af0ada97ae1910505e3 (patch) | |
tree | 804d9b089e7d07454122748d2a4e5b2b0a982f29 /media-sound | |
parent | Version bump to the latest. Drop older. (diff) | |
download | gentoo-2-12d42e1a9fd416275cf47af0ada97ae1910505e3.tar.gz gentoo-2-12d42e1a9fd416275cf47af0ada97ae1910505e3.tar.bz2 gentoo-2-12d42e1a9fd416275cf47af0ada97ae1910505e3.zip |
initial upload of media-sound/gmtp
(Portage version: 2.1.10.7/cvs/Linux i686)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/gmtp/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/gmtp/files/makefile-gentoo.patch | 70 | ||||
-rw-r--r-- | media-sound/gmtp/gmtp-1.1.0.ebuild | 49 | ||||
-rw-r--r-- | media-sound/gmtp/metadata.xml | 12 |
4 files changed, 141 insertions, 0 deletions
diff --git a/media-sound/gmtp/ChangeLog b/media-sound/gmtp/ChangeLog new file mode 100644 index 000000000000..c2a615aac1f6 --- /dev/null +++ b/media-sound/gmtp/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2011/07/22 22:58:07 tomka Exp $ + +*gmtp-1.1.0 (22 Jul 2011) + + 22 Jul 2011; Thomas Kahle <tomka@gentoo.org> +gmtp-1.1.0.ebuild, + +files/makefile-gentoo.patch, +metadata.xml: + initial upload + diff --git a/media-sound/gmtp/files/makefile-gentoo.patch b/media-sound/gmtp/files/makefile-gentoo.patch new file mode 100644 index 000000000000..438bb3d89189 --- /dev/null +++ b/media-sound/gmtp/files/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.1.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.1.0.ebuild b/media-sound/gmtp/gmtp-1.1.0.ebuild new file mode 100644 index 000000000000..67b459a4be46 --- /dev/null +++ b/media-sound/gmtp/gmtp-1.1.0.ebuild @@ -0,0 +1,49 @@ +# 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.1.0.ebuild,v 1.1 2011/07/22 22:58:07 tomka Exp $ + +EAPI=4 + +inherit eutils gnome2-utils + +DESCRIPTION="simple MP3 player client for MTP based devices" +HOMEPAGE="http://chewy509.110mb.com/gMTP.html" +# Upstream's download is broken for a while +# This file was fetched from Debian mirrors +SRC_URI="mirror://gentoo/${PN}_${PV}.orig.tar.gz + http://dev.gentoo.org/~tomka/files/${PN}_${PV}.orig.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}/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 +}
\ No newline at end of file diff --git a/media-sound/gmtp/metadata.xml b/media-sound/gmtp/metadata.xml new file mode 100644 index 000000000000..c25404090364 --- /dev/null +++ b/media-sound/gmtp/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>tomka@gentoo.org</email> + <name>Thomas Kahle</name> +</maintainer> +<herd>media-sound</herd> +<longdescription lang="en"> +gMTP is a graphical frontend to libmtp. It allows to transfer files to mtp devices like mp3 players or android tablets. +</longdescription> +</pkgmetadata> |