summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-04-03 11:09:26 +0200
committerPacho Ramos <pacho@gentoo.org>2016-04-03 11:10:03 +0200
commit7fd4134cc6d6bb31615b0e23ce65fdd3135e1021 (patch)
tree785bcbc4651073ed990e3165a5cefeeb2acd9a9f /app-pda/gtkpod
parentsci-mathematics/maxima: bump to 5.38.0 (diff)
downloadgentoo-7fd4134cc6d6bb31615b0e23ce65fdd3135e1021.tar.gz
gentoo-7fd4134cc6d6bb31615b0e23ce65fdd3135e1021.tar.bz2
gentoo-7fd4134cc6d6bb31615b0e23ce65fdd3135e1021.zip
app-pda/gtkpod: Version bump (#572978)
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-pda/gtkpod')
-rw-r--r--app-pda/gtkpod/Manifest1
-rw-r--r--app-pda/gtkpod/files/gtkpod-2.1.5-m4a.patch11
-rw-r--r--app-pda/gtkpod/gtkpod-2.1.5.ebuild98
3 files changed, 110 insertions, 0 deletions
diff --git a/app-pda/gtkpod/Manifest b/app-pda/gtkpod/Manifest
index eb7482895f5f..f74bac5d3678 100644
--- a/app-pda/gtkpod/Manifest
+++ b/app-pda/gtkpod/Manifest
@@ -1,2 +1,3 @@
DIST gst-element-check-0.10.m4.xz 420 SHA256 805f798eb9fcd79fdd7a937e321a7a61b7a1ff54aa1191270ae48e84f062d7f9 SHA512 07f59b8cdd65263b7f861cafcadbc22620ac66c80ae526dbfb4b305c64680dc353c18b18f347dcf8858dfd996802690b48ab3a539c42c5a75cf4d981ae61811c WHIRLPOOL 13c237320eb684a665e0c386aee4824bb7b1799fd9fc2afcb9b3825cca575ccf8e29e022856b29571f3332cdea5f9304dccc787b3621a402e9215df2b3cb4de5
DIST gtkpod-2.1.4.tar.gz 3721445 SHA256 ba12b35f3f24a155b68f0ffdaf4d3c5c7d1b8df04843a53306e1c83fc811dfaa SHA512 803e37729e8d0bb2e9f6a4bb00c89bdfb4a2dfeffe713808ce9a88af68dc0d017a30159a532e74dcf6b05ee50028b854d4358d84752a52d6ca4f259060501a8a WHIRLPOOL 43c8b301846caee00a01d2c8e990d431c5dfbd748796c724ea035218ffe56224f69db6c3ad01e354a6f1f83a579e169aa6f7e57345ce050fde4e22f2a0b1235c
+DIST gtkpod-2.1.5.tar.gz 3780232 SHA256 a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76 SHA512 428b9ce75d2c7c208a847bee6f10f6ed0c9f896efbedd86ed41ecce64fdbf1b937968042ad9945aec33a714fc3031427a54f924619db99cc111945355978f24c WHIRLPOOL 93d44bd1c5eea80e811473bc311e8423b76506567ee73444b56b3ff57508e41795214bb4c4e29d33b671723e2f2057469ff4b611b6bb2bdf0174775ac916ff93
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..6fe9102cc567
--- /dev/null
+++ b/app-pda/gtkpod/gtkpod-2.1.5.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}