summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-12-22 02:14:31 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-12-22 02:14:31 +0000
commitb5e07c09f124bc35c20bd8f053df6998271c1d6b (patch)
treecc02f100c3ff25a46e2561e8125c5cef31a0dd2a /media-libs/libquicktime
parentremove old (diff)
downloadhistorical-b5e07c09f124bc35c20bd8f053df6998271c1d6b.tar.gz
historical-b5e07c09f124bc35c20bd8f053df6998271c1d6b.tar.bz2
historical-b5e07c09f124bc35c20bd8f053df6998271c1d6b.zip
version bump
Package-Manager: portage-2.2.0_alpha9/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libquicktime')
-rw-r--r--media-libs/libquicktime/ChangeLog7
-rw-r--r--media-libs/libquicktime/libquicktime-1.2.1.ebuild113
2 files changed, 119 insertions, 1 deletions
diff --git a/media-libs/libquicktime/ChangeLog b/media-libs/libquicktime/ChangeLog
index 07f49b6fe023..028c133b3b07 100644
--- a/media-libs/libquicktime/ChangeLog
+++ b/media-libs/libquicktime/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libquicktime
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.156 2010/12/15 20:43:51 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.157 2010/12/22 02:14:29 aballier Exp $
+
+*libquicktime-1.2.1 (22 Dec 2010)
+
+ 22 Dec 2010; Alexis Ballier <aballier@gentoo.org> +libquicktime-1.2.1.ebuild:
+ version bump
*libquicktime-1.2.0 (15 Dec 2010)
diff --git a/media-libs/libquicktime/libquicktime-1.2.1.ebuild b/media-libs/libquicktime/libquicktime-1.2.1.ebuild
new file mode 100644
index 000000000000..cd5f879fb075
--- /dev/null
+++ b/media-libs/libquicktime/libquicktime-1.2.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-1.2.1.ebuild,v 1.1 2010/12/22 02:14:31 aballier Exp $
+
+inherit libtool eutils
+
+MY_P=${P/_pre/pre}
+
+DESCRIPTION="A library based on quicktime4linux with extensions"
+HOMEPAGE="http://libquicktime.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="mmx X opengl dv gtk alsa aac encode png jpeg vorbis lame x264 ffmpeg doc schroedinger"
+
+RDEPEND="dv? ( media-libs/libdv )
+ gtk? ( >=x11-libs/gtk+-2.4.0 )
+ aac? (
+ media-libs/faad2
+ encode? ( media-libs/faac )
+ )
+ alsa? ( >=media-libs/alsa-lib-1.0.16 )
+ png? ( media-libs/libpng )
+ jpeg? ( virtual/jpeg )
+ vorbis? ( media-libs/libvorbis media-libs/libogg )
+ lame? ( media-sound/lame )
+ ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20070616 )
+ x264? ( media-libs/x264 )
+ schroedinger? ( >=media-libs/schroedinger-1.0.5 )
+ X? ( x11-libs/libXaw
+ x11-libs/libXv
+ x11-libs/libXext
+ x11-libs/libX11
+ opengl? ( media-libs/mesa )
+ )
+ virtual/libintl
+ !virtual/quicktime"
+DEPEND="${RDEPEND}
+ X? (
+ x11-proto/videoproto
+ x11-proto/xextproto
+ )
+ doc? ( app-doc/doxygen )
+ dev-util/pkgconfig
+ sys-devel/gettext"
+
+PROVIDE="virtual/quicktime"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i -e 's:-DGTK_DISABLE_DEPRECATED::' configure || die #343419
+
+ # Needed for sane .so versionning on g/fbsd
+ elibtoolize
+}
+
+src_compile() {
+ local MY_OPTS=""
+ if use !encode || use !aac; then
+ MY_OPTS="--without-faac"
+ fi
+
+ econf --enable-shared \
+ --enable-static \
+ --enable-gpl \
+ $(use_with doc doxygen) \
+ $(use_enable mmx asm) \
+ $(use_with X x) \
+ $(use_with gtk) \
+ $(use_with dv libdv) \
+ $(use_with alsa) \
+ $(use_with aac faad2) \
+ $(use_with png libpng) \
+ $(use_with jpeg libjpeg) \
+ $(use vorbis || echo "--without-vorbis") \
+ $(use_with lame) \
+ $(use_with x264) \
+ $(use_with ffmpeg) \
+ $(use_with opengl) \
+ $(use_with schroedinger) \
+ ${MY_OPTS} \
+ --without-cpuflags || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc README TODO ChangeLog
+ # Compatibility with software that uses quicktime prefix, but
+ # don't do that when building for Darwin/MacOS
+ [[ ${CHOST} != *-darwin* ]] && \
+ dosym /usr/include/lqt /usr/include/quicktime
+}
+
+pkg_preinst() {
+ if [[ -d /usr/include/quicktime && ! -L /usr/include/quicktime ]]; then
+ elog "For compatibility with other quicktime libraries, ${PN} was"
+ elog "going to create a /usr/include/quicktime symlink, but for some"
+ elog "reason that is a directory on your system."
+
+ elog "Please check that is empty, and remove it, or submit a bug"
+ elog "telling us which package owns the directory."
+ die "/usr/include/quicktime is a directory."
+ fi
+}