summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-04-15 18:37:59 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-04-15 18:37:59 +0000
commit1e4d86bb7d3a5351df05cd109dc9bdc8ec01c165 (patch)
tree9feb39135c18467d90815d842ebb23a441c69db6 /media-libs/mlt++
parentMarking R-2.7.2 | 2.8.1 ppc64 stable for bugs 244621 and 265338 respectively (diff)
downloadhistorical-1e4d86bb7d3a5351df05cd109dc9bdc8ec01c165.tar.gz
historical-1e4d86bb7d3a5351df05cd109dc9bdc8ec01c165.tar.bz2
historical-1e4d86bb7d3a5351df05cd109dc9bdc8ec01c165.zip
version bump
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'media-libs/mlt++')
-rw-r--r--media-libs/mlt++/ChangeLog8
-rw-r--r--media-libs/mlt++/files/mlt++-0.3.8-asneeded.patch58
-rw-r--r--media-libs/mlt++/mlt++-0.3.8.ebuild32
3 files changed, 97 insertions, 1 deletions
diff --git a/media-libs/mlt++/ChangeLog b/media-libs/mlt++/ChangeLog
index 6340ee0bebcb..dca27f38af10 100644
--- a/media-libs/mlt++/ChangeLog
+++ b/media-libs/mlt++/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/mlt++
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt++/ChangeLog,v 1.18 2009/04/13 19:20:37 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt++/ChangeLog,v 1.19 2009/04/15 18:37:59 aballier Exp $
+
+*mlt++-0.3.8 (15 Apr 2009)
+
+ 15 Apr 2009; Alexis Ballier <aballier@gentoo.org>
+ +files/mlt++-0.3.8-asneeded.patch, +mlt++-0.3.8.ebuild:
+ version bump
13 Apr 2009; Peter Alfredsen <loki_val@gentoo.org> mlt++-0.3.4.ebuild,
mlt++-0.3.6.ebuild:
diff --git a/media-libs/mlt++/files/mlt++-0.3.8-asneeded.patch b/media-libs/mlt++/files/mlt++-0.3.8-asneeded.patch
new file mode 100644
index 000000000000..68763dc2e770
--- /dev/null
+++ b/media-libs/mlt++/files/mlt++-0.3.8-asneeded.patch
@@ -0,0 +1,58 @@
+Index: mlt++-0.3.8/configure
+===================================================================
+--- mlt++-0.3.8.orig/configure
++++ mlt++-0.3.8/configure
+@@ -40,13 +40,13 @@ case $targetos in
+ echo LIBSUF=.dylib
+ echo "CXXFLAGS+=-D__DARWIN__ -Wall -fPIC `pkg-config --cflags mlt-framework`"
+ echo "LIBFLAGS=-dynamiclib -single_module"
+- echo "LDFLAGS+=`pkg-config --libs mlt-framework` `pkg-config mlt-miracle --libs` `pkg-config mlt-valerie --libs`"
++ echo "OURLDFLAGS+=`pkg-config --libs mlt-framework` `pkg-config mlt-miracle --libs` `pkg-config mlt-valerie --libs`"
+ ;;
+ Linux|FreeBSD)
+ echo LIBSUF=.so
+ echo "CXXFLAGS+=-pthread -Wall $WARNINGS -fPIC `pkg-config --cflags mlt-framework`"
+ echo "LIBFLAGS=-shared"
+- echo "LDFLAGS+=`pkg-config --libs mlt-framework` `pkg-config mlt-miracle --libs`"
++ echo "OURLDFLAGS+=`pkg-config --libs mlt-framework` `pkg-config mlt-miracle --libs`"
+ ;;
+ esac >> config.mak
+
+Index: mlt++-0.3.8/src/Makefile
+===================================================================
+--- mlt++-0.3.8.orig/src/Makefile
++++ mlt++-0.3.8/src/Makefile
+@@ -43,7 +43,7 @@ HEADERS = config.h Mlt.h $(OBJS:.o=.h)
+ all: $(TARGET)
+
+ $(TARGET): $(OBJS)
+- $(CXX) $(LIBFLAGS) -o $@ $(OBJS) $(LDFLAGS)
++ $(CXX) $(LIBFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(OURLDFLAGS)
+ ln -sf $(TARGET) $(NAME)
+ ln -sf $(TARGET) $(SONAME)
+
+Index: mlt++-0.3.8/test/Makefile
+===================================================================
+--- mlt++-0.3.8.orig/test/Makefile
++++ mlt++-0.3.8/test/Makefile
+@@ -1,16 +1,19 @@
+ include ../config.mak
+
+ CXXFLAGS+=-Wall -g `pkg-config mlt-framework --cflags` -I ../src
+-LDFLAGS+=-L../src -lmlt++ -lmiracle -lvalerie `pkg-config mlt-framework --libs`
++LDFLAGS+=-L../src
++OURLDFLAGS+=-lmlt++ -lmiracle -lvalerie `pkg-config mlt-framework --libs`
+ CC=c++
+
+ all: play server
+
+ play: play.o
++ $(CC) $(LDFLAGS) -o $@ $< $(OURLDFLAGS)
+
+ play.o: play.cpp
+
+ server: server.o
++ $(CC) $(LDFLAGS) -o $@ $< $(OURLDFLAGS)
+
+ server.o: server.cpp
+
diff --git a/media-libs/mlt++/mlt++-0.3.8.ebuild b/media-libs/mlt++/mlt++-0.3.8.ebuild
new file mode 100644
index 000000000000..48b154587759
--- /dev/null
+++ b/media-libs/mlt++/mlt++-0.3.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt++/mlt++-0.3.8.ebuild,v 1.1 2009/04/15 18:37:59 aballier Exp $
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Various bindings for mlt"
+HOMEPAGE="http://mlt.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mlt/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=">=media-libs/mlt-0.3.8"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.3.8-asneeded.patch"
+ sed -i -e '/ldconfig/d' src/Makefile || die
+}
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" CC="$(tc-getCXX)" || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc README CUSTOMISING HOWTO
+}