summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2011-05-31 18:40:23 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:31:19 -0400
commite858d369d9a4c76501623a5f2b0c04a33be4a312 (patch)
treedf7f78289f86b24404f9b0f717b4613f6832d16f /audio
parent641a9c050ae2e75a1cc41f16827eaf7443f28de6 (diff)
downloadslackbuilds-e858d369d9a4c76501623a5f2b0c04a33be4a312.tar.gz
audio/gtkpod: Updated for version 0.99.16.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/gtkpod/MP4SetMetadata.diff117
-rw-r--r--audio/gtkpod/README4
-rw-r--r--audio/gtkpod/gtkpod.SlackBuild6
-rw-r--r--audio/gtkpod/gtkpod.info8
4 files changed, 8 insertions, 127 deletions
diff --git a/audio/gtkpod/MP4SetMetadata.diff b/audio/gtkpod/MP4SetMetadata.diff
deleted file mode 100644
index 6f01a50d9d..0000000000
--- a/audio/gtkpod/MP4SetMetadata.diff
+++ /dev/null
@@ -1,117 +0,0 @@
-diff -ur gtkpod-0.99.14.orig/src/mp4file.c gtkpod-0.99.14/src/mp4file.c
---- gtkpod-0.99.14.orig/src/mp4file.c 2009-01-17 23:52:32.000000000 -0600
-+++ gtkpod-0.99.14/src/mp4file.c 2010-03-16 22:12:08.719427169 -0500
-@@ -399,11 +399,7 @@
- #else
- #warning "Album Artist field not supported with this version of libmp4v2. Album Artist support requires at least V1.6.0"
- #endif
--#if HAVE_LIBMP4V2_2
-- if (MP4GetMetadataComposer(mp4File, &value) && value != NULL)
--#else
- if (MP4GetMetadataWriter(mp4File, &value) && value != NULL)
--#endif
- {
- track->composer = charset_to_utf8 (value);
- g_free(value);
-@@ -413,11 +409,7 @@
- track->comment = charset_to_utf8 (value);
- g_free(value);
- }
--#if HAVE_LIBMP4V2_2
-- if (MP4GetMetadataReleaseDate(mp4File, &value) && value != NULL)
--#else
- if (MP4GetMetadataYear(mp4File, &value) && value != NULL)
--#endif
- {
- track->year = atoi (value);
- g_free(value);
-@@ -447,11 +439,7 @@
- track->genre = charset_to_utf8 (value);
- g_free(value);
- }
--#if HAVE_LIBMP4V2_2
-- if (MP4GetMetadataBPM (mp4File, &numvalue))
--#else
- if (MP4GetMetadataTempo (mp4File, &numvalue))
--#endif
- {
- track->BPM = numvalue;
- }
-@@ -541,29 +529,16 @@
- &m_track, &m_tracks);
- gboolean has_disk = MP4GetMetadataDisk (mp4File,
- &m_disk, &m_disks);*/
--#if HAVE_LIBMP4V2_2
-- gboolean has_tempo = MP4GetMetadataBPM (mp4File,
-- &m_tempo);
--#else
- gboolean has_tempo = MP4GetMetadataTempo (mp4File,
- &m_tempo);
--#endif
- gboolean has_compilation = MP4GetMetadataCompilation (mp4File,
- &m_cpl);
- /* MP4GetMetadataName (mp4File, &m_name);
- MP4GetMetadataArtist (mp4File, &m_artist);
- MP4GetMetadataAlbumArtist (mp4File, &m_albumartist);
--#if HAVE_LIBMP4V2_2
-- MP4GetMetadataComposer (mp4File, &m_writer);
--#else
- MP4GetMetadataWriter (mp4File, &m_writer);
--#endif
- MP4GetMetadataComment (mp4File, &m_comment);
--#if HAVE_LIBMP4V2_2
-- MP4GetMetadataReleaseDate (mp4File, &m_year);
--#else
- MP4GetMetadataYear (mp4File, &m_year);
--#endif
- MP4GetMetadataAlbum (mp4File, &m_album);
- MP4GetMetadataGenre (mp4File, &m_genre);*/
- MP4GetMetadataTool (mp4File, &m_tool);
-@@ -584,11 +559,7 @@
- g_free (value);
- #endif
- value = charset_from_utf8 (track->composer);
--#if HAVE_LIBMP4V2_2
-- MP4SetMetadataComposer (mp4File, value);
--#else
- MP4SetMetadataWriter (mp4File, value);
--#endif
- g_free (value);
-
- value = charset_from_utf8 (track->comment);
-@@ -596,11 +567,7 @@
- g_free (value);
-
- value = g_strdup_printf ("%d", track->year);
--#if HAVE_LIBMP4V2_2
-- MP4SetMetadataReleaseDate (mp4File, value);
--#else
- MP4SetMetadataYear (mp4File, value);
--#endif
- g_free (value);
-
- value = charset_from_utf8 (track->album);
-@@ -611,11 +578,7 @@
-
- MP4SetMetadataDisk (mp4File, track->cd_nr, track->cds);
-
--#if HAVE_LIBMP4V2_2
-- MP4SetMetadataBPM (mp4File, track->BPM);
--#else
- MP4SetMetadataTempo (mp4File, track->BPM);
--#endif
-
- value = charset_from_utf8 (track->grouping);
- MP4SetMetadataGrouping (mp4File, value);
-@@ -626,11 +589,7 @@
- g_free (value);
-
- #if MP4V2_HAS_METADATA_BUG
--#if HAVE_LIBMP4V2_2
-- if (has_tempo) MP4SetMetadataBPM (mp4File, m_tempo);
--#else
- if (has_tempo) MP4SetMetadataTempo (mp4File, m_tempo);
--#endif
- if (has_compilation) MP4SetMetadataCompilation (mp4File, m_cpl);
- if (m_tool) MP4SetMetadataTool (mp4File, m_tool);
- if (m_covert) MP4SetMetadataCoverArt (mp4File, m_covert, m_size);
diff --git a/audio/gtkpod/README b/audio/gtkpod/README
index 18a9b0c7d1..a9a30e8e45 100644
--- a/audio/gtkpod/README
+++ b/audio/gtkpod/README
@@ -1,5 +1,5 @@
-gtkpod is a platform independent Graphical User Interface for Apple's
-iPod using GTK2. It supports the first to fifth Generation including
+gtkpod is a platform independent Graphical User Interface for Apple's
+iPod using GTK2. It supports the first to fifth Generation including
the iPod mini, iPod Photo, iPod Shuffle, iPod nano, and iPod Video.
This requires libgnomecanvas and optionally libmp4v2.
diff --git a/audio/gtkpod/gtkpod.SlackBuild b/audio/gtkpod/gtkpod.SlackBuild
index 98674be9a3..eccde834e4 100644
--- a/audio/gtkpod/gtkpod.SlackBuild
+++ b/audio/gtkpod/gtkpod.SlackBuild
@@ -25,8 +25,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtkpod
-VERSION=0.99.14
-BUILD=${BUILD:-2}
+VERSION=0.99.16
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -68,8 +68,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-patch -p1 < $CWD/MP4SetMetadata.diff
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/audio/gtkpod/gtkpod.info b/audio/gtkpod/gtkpod.info
index c69d7e157a..7149c211fc 100644
--- a/audio/gtkpod/gtkpod.info
+++ b/audio/gtkpod/gtkpod.info
@@ -1,10 +1,10 @@
PRGNAM="gtkpod"
-VERSION="0.99.14"
+VERSION="0.99.16"
HOMEPAGE="http://www.gtkpod.org"
-DOWNLOAD="http://downloads.sourceforge.net/gtkpod/gtkpod-0.99.14.tar.gz"
-MD5SUM="f7948eceb955b302f4c47da4c0e1ec12"
+DOWNLOAD="http://downloads.sourceforge.net/gtkpod/gtkpod-0.99.16.tar.gz"
+MD5SUM="1391537b3f84efb8b3b6001cd1f2df37"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"