diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-11-13 10:08:18 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-11-13 10:08:18 +0000 |
commit | 180f37d44ea1473d6e8e0786e8b8502a7b7d9f5f (patch) | |
tree | a629ae0addbbf2b19c82b9fedf4c87fb70cd574d /media-libs/mlt++ | |
parent | Remove old versions (diff) | |
download | historical-180f37d44ea1473d6e8e0786e8b8502a7b7d9f5f.tar.gz historical-180f37d44ea1473d6e8e0786e8b8502a7b7d9f5f.tar.bz2 historical-180f37d44ea1473d6e8e0786e8b8502a7b7d9f5f.zip |
version bump
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.27.5 x86_64
Diffstat (limited to 'media-libs/mlt++')
-rw-r--r-- | media-libs/mlt++/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/mlt++/files/mlt++-0.3.2-asneeded.patch | 57 | ||||
-rw-r--r-- | media-libs/mlt++/mlt++-0.3.2.ebuild | 36 |
3 files changed, 100 insertions, 1 deletions
diff --git a/media-libs/mlt++/ChangeLog b/media-libs/mlt++/ChangeLog index ef560db42fcf..d7d4894f8e27 100644 --- a/media-libs/mlt++/ChangeLog +++ b/media-libs/mlt++/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/mlt++ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt++/ChangeLog,v 1.13 2008/09/21 11:45:22 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt++/ChangeLog,v 1.14 2008/11/13 10:08:18 aballier Exp $ + +*mlt++-0.3.2 (13 Nov 2008) + + 13 Nov 2008; Alexis Ballier <aballier@gentoo.org> + +files/mlt++-0.3.2-asneeded.patch, +mlt++-0.3.2.ebuild: + version bump *mlt++-0.3.0 (21 Sep 2008) diff --git a/media-libs/mlt++/files/mlt++-0.3.2-asneeded.patch b/media-libs/mlt++/files/mlt++-0.3.2-asneeded.patch new file mode 100644 index 000000000000..b1f64646b340 --- /dev/null +++ b/media-libs/mlt++/files/mlt++-0.3.2-asneeded.patch @@ -0,0 +1,57 @@ +Index: mlt++-0.3.2/configure +=================================================================== +--- mlt++-0.3.2.orig/configure ++++ mlt++-0.3.2/configure +@@ -38,13 +38,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 -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.2/src/Makefile +=================================================================== +--- mlt++-0.3.2.orig/src/Makefile ++++ mlt++-0.3.2/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.2/test/Makefile +=================================================================== +--- mlt++-0.3.2.orig/test/Makefile ++++ mlt++-0.3.2/test/Makefile +@@ -1,16 +1,18 @@ + include ../config.mak + + CXXFLAGS+=-Wall -g `mlt-config --cflags` -I ../src +-LDFLAGS+=-L../src -lmlt++ -lmiracle -lvalerie `mlt-config --libs` ++OURLDFLAGS+=-L../src -lmlt++ -lmiracle -lvalerie `mlt-config --libs` + CC=c++ + + all: play server + + play: play.o ++ $(CC) $(LDFLAGS) -o $@ play.o $(OURLDFLAGS) + + play.o: play.cpp + + server: server.o ++ $(CC) $(LDFLAGS) -o $@ server.o $(OURLDFLAGS) + + server.o: server.cpp + diff --git a/media-libs/mlt++/mlt++-0.3.2.ebuild b/media-libs/mlt++/mlt++-0.3.2.ebuild new file mode 100644 index 000000000000..d36d99950184 --- /dev/null +++ b/media-libs/mlt++/mlt++-0.3.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt++/mlt++-0.3.2.ebuild,v 1.1 2008/11/13 10:08:18 aballier Exp $ + +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.2" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-0.3.2-asneeded.patch" + epatch "${FILESDIR}/${PN}-20060601-relink.patch" +} + +src_compile() { + tc-export CXX + econf + emake CC="$(tc-getCXX)" || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + dodoc README CUSTOMISING HOWTO +} |