summaryrefslogtreecommitdiff
path: root/app-pda/gtkpod
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda/gtkpod')
-rw-r--r--app-pda/gtkpod/Manifest7
-rw-r--r--app-pda/gtkpod/files/gtkpod-2.1.3-gold.patch15
-rw-r--r--app-pda/gtkpod/files/gtkpod-2.1.5-m4a.patch11
-rw-r--r--app-pda/gtkpod/gtkpod-2.1.5.ebuild97
-rw-r--r--app-pda/gtkpod/metadata.xml11
5 files changed, 141 insertions, 0 deletions
diff --git a/app-pda/gtkpod/Manifest b/app-pda/gtkpod/Manifest
new file mode 100644
index 000000000000..115331b67243
--- /dev/null
+++ b/app-pda/gtkpod/Manifest
@@ -0,0 +1,7 @@
+AUX gtkpod-2.1.3-gold.patch 451 SHA256 420272234c4ebff9884c658fe8e1fe4721d8221c8a1f380d0aec45a14dc62ce2 SHA512 b6fb32ce37087beed99c475f747a6c79541821d836892ab4b8673ec49ca0a72ca6d55aaeaf8cf25895cc8e4f54341673e0f5616c5fa5ebc610250c641f4a2b13 WHIRLPOOL 0b34955fd576bb39619d87310a007acb454b7bbc0bcf0e9552d02779803b745321f49bdb5fde1d5e54892510b5089f042432ad41c1d1e0f12e0baa16082cedef
+AUX gtkpod-2.1.5-m4a.patch 405 SHA256 7a2eb6e4f56b8c2d6152c10049bc39d8daa903dd01ebfa37f9b722507bf5dc42 SHA512 d7774f82d5a30c393354da9302f4cd62eb2c9c0588bb6afcc1429850730f727db91bd200c78934e9a3a64a112a11a51d62d7bfb3a17f74c77e259ebb126037a4 WHIRLPOOL 791728b7441803a6a2418a60dd5b7cf863c757662fb788d9f6a1fa2294462a13a0b02cf101101d73a065a2634b937d440ca78b0df7b30546424680a5341a0823
+DIST gtkpod-2.1.5.tar.gz 3780232 SHA256 a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76 SHA512 428b9ce75d2c7c208a847bee6f10f6ed0c9f896efbedd86ed41ecce64fdbf1b937968042ad9945aec33a714fc3031427a54f924619db99cc111945355978f24c WHIRLPOOL 93d44bd1c5eea80e811473bc311e8423b76506567ee73444b56b3ff57508e41795214bb4c4e29d33b671723e2f2057469ff4b611b6bb2bdf0174775ac916ff93
+EBUILD gtkpod-2.1.5.ebuild 2240 SHA256 4dfc9146e2d394ef0091e54b80930ad3606ffee016cf4ef0f13d195e6cafdd58 SHA512 5619e8def4900659558842cecbd8017cbf21d1c0d402ce116e5350915fcd17f189cc4aefa7e80df0185998138cd21eb230746d37cf25ff2fa7ba09782e5f3eca WHIRLPOOL 15b9f7f3308e54b982d8d7b968d3b4778451672bc67e5af1453a0dc4cc2dc4c37036dd48f5155d57d4c5c87af3d957cd98054be545724c3d0f1cfaee0f7081fd
+MISC ChangeLog 3439 SHA256 2d627df2251631307f4c64e1752b629b979edb92460bb8dd640f8d87fbcbaf25 SHA512 f45f0d7999ba8986576e808333bd6ff3c56821f3a877658527707d0fb30972b912fac066e32b291a99241fe13d010355d3532d42aa4eef75cdb9cd9b64f980ee WHIRLPOOL 26e1e305fc43e7a9f0f6e069ba150bd55f3f8f0becb2ba657592237fd0c7cc115d5a109ccce27b081c96116c40b40682bd9e758f8f187fdb52f7617773ae385b
+MISC ChangeLog-2015 17980 SHA256 3932c73bbf0f16788ea466b98cc73daf38eb881d5abf10ddb8b88ce9dd224257 SHA512 707ccb27574603dbb7cec7a0762d9d470f6c63f9723671f3c01650f7eac099bdabbf88d2ee5e19490cdeaa1f89c3ff8436046d3525696feb6c0d7d435c3342fe WHIRLPOOL 28233a6c102c007fcd9f1dc4a6e24b362604c9136f4497c90f9d4b13e6f30380351ea006f6ac3a907db3edc5fee2c77dabe43daf20633e3e1c5e5c66f588cd7d
+MISC metadata.xml 335 SHA256 13a8c538d359f8e10fa6f1b3c9f85be332a40a1f96956f04ccd75bffea88149f SHA512 97aa0c82eebf5b63b8f3de0ea32f3f51eed2ebb2ba37a90a60759ffd7caf20ce90235851cdbf05fb5d45e3a0d35e1c062fb92e10cf10285c42e5ff20657ff061 WHIRLPOOL 4920770ad41439e1dcd4eb3b7bfe359c639d3d79e39fb56219a1ca279b86b6ce1bf332b91120043493c532fd735e1a2b79bbf8df0ec5885ff47f074263cccba0
diff --git a/app-pda/gtkpod/files/gtkpod-2.1.3-gold.patch b/app-pda/gtkpod/files/gtkpod-2.1.3-gold.patch
new file mode 100644
index 000000000000..93c9f72a3747
--- /dev/null
+++ b/app-pda/gtkpod/files/gtkpod-2.1.3-gold.patch
@@ -0,0 +1,15 @@
+ libgtkpod/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libgtkpod/Makefile.am b/libgtkpod/Makefile.am
+index 464741f..c69dac8 100644
+--- a/libgtkpod/Makefile.am
++++ b/libgtkpod/Makefile.am
+@@ -50,6 +50,7 @@ AM_CFLAGS = \
+ libgtkpod_la_LDFLAGS = $(LIBGTKPOD_LDFLAGS) -version-info $(LIBGTKPOD_SO_VERSION) -no-undefined
+ libgtkpod_la_LIBADD = \
+ $(LIBGTKPOD_LIBS) \
++ -lm \
+ @LIBOBJS@
+
+ libgtkpodincludebase = $(includedir)/gtkpod
diff --git a/app-pda/gtkpod/files/gtkpod-2.1.5-m4a.patch b/app-pda/gtkpod/files/gtkpod-2.1.5-m4a.patch
new file mode 100644
index 000000000000..1b286803f4b5
--- /dev/null
+++ b/app-pda/gtkpod/files/gtkpod-2.1.5-m4a.patch
@@ -0,0 +1,11 @@
+--- gtkpod-2.1.5/configure.ac.orig 2016-01-29 00:40:08.559840172 +0000
++++ gtkpod-2.1.5/configure.ac 2016-01-29 00:51:53.901127707 +0000
+@@ -341,7 +341,7 @@ fi
+ dnl Set up variables for M4A plugin
+ dnl -------------------------------------------------------------
+
+-if test "x$have_mp4" = "xyes" -a "x$have_faad" = "xyes"; then
++if test "x$have_mp4" = "xyes"; then
+ have_m4a="yes"
+ else
+ have_m4a="no"
diff --git a/app-pda/gtkpod/gtkpod-2.1.5.ebuild b/app-pda/gtkpod/gtkpod-2.1.5.ebuild
new file mode 100644
index 000000000000..3e412ebd2564
--- /dev/null
+++ b/app-pda/gtkpod/gtkpod-2.1.5.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+GNOME2_LA_PUNT="yes"
+GCONF_DEBUG="no"
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="A graphical user interface to the Apple productline"
+HOMEPAGE="http://www.gtkpod.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE="aac clutter curl cdr flac gstreamer mp3 vorbis"
+REQUIRED_USE="cdr? ( gstreamer )"
+
+COMMON_DEPEND="
+ >=dev-libs/gdl-3.6:3
+ >=dev-libs/glib-2.31:2
+ >=dev-libs/libxml2-2.7.7:2
+ >=dev-util/anjuta-3.6
+ >=media-libs/libgpod-0.8.2:=
+ >=media-libs/libid3tag-0.15
+ >=x11-libs/gtk+-3.0.8:3
+ aac? ( media-libs/faad2 )
+ clutter? ( >=media-libs/clutter-gtk-1.2:1.0 )
+ curl? ( >=net-misc/curl-7.10 )
+ flac? ( media-libs/flac )
+ gstreamer? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ cdr? (
+ >=app-cdr/brasero-3
+ >=media-libs/libdiscid-0.2.2
+ media-libs/musicbrainz:5
+ )
+ )
+ mp3? ( media-sound/lame )
+ vorbis? (
+ media-libs/libvorbis
+ media-sound/vorbis-tools
+ )
+"
+
+# to pull in at least -flac and -vorbis plugins , but others at the same time
+RDEPEND="${COMMON_DEPEND}
+ gstreamer? ( media-plugins/gst-plugins-meta:1.0 )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/flex
+ sys-devel/gettext
+ virtual/os-headers
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.1.3-gold.patch
+ epatch "${FILESDIR}"/${PN}-2.1.5-m4a.patch
+
+ sed -i -e 's:python:python2:' scripts/sync-palm-jppy.py || die
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # Prevent sandbox violations, bug #420279
+ addpredict /dev
+
+ gnome2_src_configure \
+ --enable-deprecations \
+ --disable-static \
+ --disable-plugin-coverweb \
+ $(use_enable clutter plugin-clarity) \
+ $(use_enable gstreamer plugin-media-player) \
+ $(use_enable cdr plugin-sjcd) \
+ $(use_with curl) \
+ $(use_with vorbis ogg) \
+ $(use_with flac) \
+ $(use_with aac mp4)
+}
+
+src_install() {
+ gnome2_src_install \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF}/html \
+ figuresdir=/usr/share/doc/${PF}/html/figures \
+ install
+
+ dodoc AUTHORS ChangeLog NEWS README TODO TROUBLESHOOTING
+ rm -f "${ED}"/usr/share/gtkpod/data/{AUTHORS,COPYING} || die
+}
diff --git a/app-pda/gtkpod/metadata.xml b/app-pda/gtkpod/metadata.xml
new file mode 100644
index 000000000000..94faaf79ac49
--- /dev/null
+++ b/app-pda/gtkpod/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="clutter">Enable clutter support for displaying coverart</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gtkpod</remote-id>
+ </upstream>
+</pkgmetadata>