summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-16 22:09:40 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-16 22:09:40 +0000
commit8fb103ad824261550abc37f9a1173f14c07f933a (patch)
tree4a59b459b71cd7976d6a2f2067d795b4a2402011
parentBump to 0.6, fixes #276242 (diff)
downloadgentoo-2-8fb103ad824261550abc37f9a1173f14c07f933a.tar.gz
gentoo-2-8fb103ad824261550abc37f9a1173f14c07f933a.tar.bz2
gentoo-2-8fb103ad824261550abc37f9a1173f14c07f933a.zip
Update libmp4v2 >= 1.9.0 patch to one from upstream.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r--media-sound/kid3/ChangeLog10
-rw-r--r--media-sound/kid3/files/kid3-1.2-new_libmp4v2.patch78
-rw-r--r--media-sound/kid3/kid3-1.2-r2.ebuild (renamed from media-sound/kid3/kid3-1.2-r1.ebuild)10
-rw-r--r--media-sound/kid3/kid3-1.2.ebuild24
4 files changed, 13 insertions, 109 deletions
diff --git a/media-sound/kid3/ChangeLog b/media-sound/kid3/ChangeLog
index 3b9bdbf19763..b6a88fa01219 100644
--- a/media-sound/kid3/ChangeLog
+++ b/media-sound/kid3/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/kid3
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/ChangeLog,v 1.41 2009/07/12 22:43:53 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/ChangeLog,v 1.42 2009/07/16 22:09:39 ssuominen Exp $
+
+*kid3-1.2-r2 (16 Jul 2009)
+
+ 16 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> +kid3-1.2-r2.ebuild:
+ Update libmp4v2 >= 1.9.0 patch to one from upstream.
*kid3-1.2-r1 (12 Jul 2009)
@@ -8,8 +13,7 @@
+files/kid3-1.2-new_libmp4v2.patch:
Detect and compile with libmp4v2 >= 1.9.0.
- 21 May 2009; Samuli Suominen <ssuominen@gentoo.org> -kid3-1.1.ebuild,
- kid3-1.2.ebuild:
+ 21 May 2009; Samuli Suominen <ssuominen@gentoo.org> kid3-1.2.ebuild:
Move to kde4-base.eclass, thanks to scarabeus.
*kid3-1.2 (20 May 2009)
diff --git a/media-sound/kid3/files/kid3-1.2-new_libmp4v2.patch b/media-sound/kid3/files/kid3-1.2-new_libmp4v2.patch
deleted file mode 100644
index 9742af4818b7..000000000000
--- a/media-sound/kid3/files/kid3-1.2-new_libmp4v2.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-FIXME. Detect and build with MP4V2 1.9.0. Uncompatible with old version,
-since the headers checking should be done based on version.
-
-diff -ur kid3-1.2.orig/CMakeLists.txt kid3-1.2/CMakeLists.txt
---- kid3-1.2.orig/CMakeLists.txt 2008-03-12 22:24:35.000000000 +0200
-+++ kid3-1.2/CMakeLists.txt 2009-07-13 01:38:25.000000000 +0300
-@@ -45,7 +45,7 @@
- ### Check for mp4v2
- set(MP4V2_LIBRARIES)
- if(WITH_MP4V2)
-- find_path(MP4V2_INCLUDE_DIR mp4.h
-+ find_path(MP4V2_INCLUDE_DIR mp4v2/mp4v2.h
- /usr/include/
- /usr/local/include/
- )
-@@ -63,7 +63,7 @@
-
- set(_CMAKE_REQUIRED_LIBRARIES_TMP ${CMAKE_REQUIRED_LIBRARIES})
- set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${MP4V2_LIBRARIES})
-- CHECK_CXX_SOURCE_COMPILES("#include <mp4.h>\nint main() {\n MP4FileHandle hFile;\n u_int32_t index;\n char* ppName;\n u_int8_t* ppValue;\n u_int32_t pValueSize;\n MP4GetMetadataByIndex(hFile, index, &ppName, &ppValue, &pValueSize);\n return 0;\n}\n" HAVE_MP4V2_MP4GETMETADATABYINDEX_CHARPP_ARG)
-+ CHECK_CXX_SOURCE_COMPILES("#include <mp4v2/mp4v2.h>\n#include <sys/types.h>\nint main() {\n MP4FileHandle hFile;\n u_int32_t index;\n char* ppName;\n u_int8_t* ppValue;\n u_int32_t pValueSize;\n MP4GetMetadataByIndex(hFile, index, &ppName, &ppValue, &pValueSize);\n return 0;\n}\n" HAVE_MP4V2_MP4GETMETADATABYINDEX_CHARPP_ARG)
- set(CMAKE_REQUIRED_LIBRARIES ${_CMAKE_REQUIRED_LIBRARIES_TMP})
-
- else (MP4V2_INCLUDE_DIR AND MP4V2_LIBRARIES)
-diff -ur kid3-1.2.orig/configure.in.in kid3-1.2/configure.in.in
---- kid3-1.2.orig/configure.in.in 2009-04-02 20:44:10.000000000 +0300
-+++ kid3-1.2/configure.in.in 2009-07-13 00:57:38.000000000 +0300
-@@ -62,7 +62,7 @@
- ac_cppflags_save=$CPPFLAGS
- CPPFLAGS="$CPPFLAGS -I."
- AC_CHECK_HEADERS(systems.h)
-- AC_CHECK_HEADERS([mp4.h], [have_mp4_h=yes], [],
-+ AC_CHECK_HEADERS([mp4v2/mp4v2.h], [have_mp4_h=yes], [],
- [#ifdef HAVE_SYSTEMS_H
- # include <systems.h>
- #endif
-@@ -99,7 +99,7 @@
- AC_LANG_SAVE
- AC_LANG_CPLUSPLUS
- cat > conftest.$ac_ext <<EOF
--#include <mp4.h>
-+#include <mp4v2/mp4v2.h>
- int main() {
- MP4FileHandle hFile;
- u_int32_t index;
-diff -ur kid3-1.2.orig/doc/en/index.docbook kid3-1.2/doc/en/index.docbook
---- kid3-1.2.orig/doc/en/index.docbook 2009-04-26 19:52:47.000000000 +0300
-+++ kid3-1.2/doc/en/index.docbook 2009-07-13 00:59:34.000000000 +0300
-@@ -1463,7 +1463,7 @@
- files. These three formats are also supported by
- <ulink url="http://developer.kde.org/~wheeler/taglib.html">TagLib</ulink>,
- which can also handle MPC, MP2, Speex, TrueAudio and WavPack files.
--<ulink url="http://mpeg4ip.sourceforge.net">mp4v2</ulink> is required for
-+<ulink url="http://code.google.com/p/mp4v2">mp4v2</ulink> is required for
- MP4 files.
- For MusicBrainz support,
- <ulink url="http://musicbrainz.org/doc/libtunepimp">libtunepimp</ulink>
-diff -ur kid3-1.2.orig/kid3/m4afile.cpp kid3-1.2/kid3/m4afile.cpp
---- kid3-1.2.orig/kid3/m4afile.cpp 2008-12-22 11:57:24.000000000 +0200
-+++ kid3-1.2/kid3/m4afile.cpp 2009-07-13 01:36:31.000000000 +0300
-@@ -42,10 +42,16 @@
- #include <utime.h>
- #endif
- #include <stdio.h>
--#include <mp4.h>
-+#include <mp4v2/mp4v2.h>
- #include <cstdlib>
- #include <cstring>
-
-+/** FIXME. Define MP4V2 project version to MPEG4IP project version. */
-+#if defined MP4V2_PROJECT_version_major && MP4V2_PROJECT_version_minor
-+#define MPEG4IP_MAJOR_VERSION 0x1
-+#define MPEG4IP_MINOR_VERSION 0x9
-+#endif
-+
- /** MPEG4IP version as 16-bit hex number with major and minor version. */
- #if defined MPEG4IP_MAJOR_VERSION && defined MPEG4IP_MINOR_VERSION
- #define MPEG4IP_MAJOR_MINOR_VERSION ((MPEG4IP_MAJOR_VERSION << 8) | MPEG4IP_MINOR_VERSION)
diff --git a/media-sound/kid3/kid3-1.2-r1.ebuild b/media-sound/kid3/kid3-1.2-r2.ebuild
index f8562dcce797..7b6a35d817b2 100644
--- a/media-sound/kid3/kid3-1.2-r1.ebuild
+++ b/media-sound/kid3/kid3-1.2-r2.ebuild
@@ -1,13 +1,15 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/kid3-1.2-r1.ebuild,v 1.1 2009/07/12 22:41:59 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/kid3-1.2-r2.ebuild,v 1.1 2009/07/16 22:09:39 ssuominen Exp $
EAPI=2
inherit kde4-base
DESCRIPTION="A simple ID3 tag editor for QT/KDE."
HOMEPAGE="http://kid3.sourceforge.net/"
-SRC_URI="mirror://sourceforge/kid3/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/kid3/${P}.tar.gz
+ http://dev.gentoo.org/~ssuominen/${P}-libmp4v2.patch.bz2
+ mirror://gentoo/${P}-libmp4v2.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -16,11 +18,11 @@ IUSE=""
RDEPEND="media-libs/id3lib
media-libs/taglib
- >=media-libs/libmp4v2-1.9.0
+ media-libs/libmp4v2
media-libs/libvorbis
media-libs/flac[cxx]
media-libs/musicbrainz:3
media-libs/tunepimp"
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}/${P}-new_libmp4v2.patch" )
+PATCHES=( "${WORKDIR}/${P}-libmp4v2.patch" )
diff --git a/media-sound/kid3/kid3-1.2.ebuild b/media-sound/kid3/kid3-1.2.ebuild
deleted file mode 100644
index ffebdb76737e..000000000000
--- a/media-sound/kid3/kid3-1.2.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/kid3-1.2.ebuild,v 1.4 2009/07/12 22:43:53 ssuominen Exp $
-
-EAPI=2
-inherit kde4-base
-
-DESCRIPTION="A simple ID3 tag editor for QT/KDE."
-HOMEPAGE="http://kid3.sourceforge.net/"
-SRC_URI="mirror://sourceforge/kid3/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-RDEPEND="media-libs/id3lib
- media-libs/taglib
- <media-libs/libmp4v2-1.9.0
- media-libs/libvorbis
- media-libs/flac[cxx]
- media-libs/musicbrainz:3
- media-libs/tunepimp"
-DEPEND="${RDEPEND}"