summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2007-12-10 17:13:32 +0000
committerMarkus Meier <maekke@gentoo.org>2007-12-10 17:13:32 +0000
commit658c698761738d7e90ad1be21fe8827912824cbf (patch)
tree502c6a4e1db43ed3599c5036ce08d55909f8da0b /media-gfx/autopano-sift
parentAdd ~alpha/~ia64/~sparc wrt #201744 (diff)
downloadgentoo-2-658c698761738d7e90ad1be21fe8827912824cbf.tar.gz
gentoo-2-658c698761738d7e90ad1be21fe8827912824cbf.tar.bz2
gentoo-2-658c698761738d7e90ad1be21fe8827912824cbf.zip
make >{glade,gtk}-sharp-2 work, bug #164884
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'media-gfx/autopano-sift')
-rw-r--r--media-gfx/autopano-sift/ChangeLog8
-rw-r--r--media-gfx/autopano-sift/autopano-sift-2.4-r1.ebuild62
-rw-r--r--media-gfx/autopano-sift/files/digest-autopano-sift-2.4-r13
3 files changed, 72 insertions, 1 deletions
diff --git a/media-gfx/autopano-sift/ChangeLog b/media-gfx/autopano-sift/ChangeLog
index 478e90f0819e..e76d89600759 100644
--- a/media-gfx/autopano-sift/ChangeLog
+++ b/media-gfx/autopano-sift/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/autopano-sift
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/autopano-sift/ChangeLog,v 1.14 2007/04/08 04:51:35 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/autopano-sift/ChangeLog,v 1.15 2007/12/10 17:13:30 maekke Exp $
+
+*autopano-sift-2.4-r1 (10 Dec 2007)
+
+ 10 Dec 2007; Markus Meier <maekke@gentoo.org>
+ +autopano-sift-2.4-r1.ebuild:
+ make >{glade,gtk}-sharp-2 work, bug #164884
08 Apr 2007; Joseph Jezak <josejx@gentoo.org> autopano-sift-2.4.ebuild:
Marked ppc stable for bug #173068.
diff --git a/media-gfx/autopano-sift/autopano-sift-2.4-r1.ebuild b/media-gfx/autopano-sift/autopano-sift-2.4-r1.ebuild
new file mode 100644
index 000000000000..2dc5788ca7ce
--- /dev/null
+++ b/media-gfx/autopano-sift/autopano-sift-2.4-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/autopano-sift/autopano-sift-2.4-r1.ebuild,v 1.1 2007/12/10 17:13:30 maekke Exp $
+
+inherit mono eutils
+
+DESCRIPTION="SIFT algorithm for automatic panorama creation"
+HOMEPAGE="http://user.cs.tu-berlin.de/~nowozin/autopano-sift/"
+SRC_URI="http://user.cs.tu-berlin.de/~nowozin/autopano-sift/${P}.tar.gz"
+LICENSE="GPL-2"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-lang/mono
+ dev-dotnet/glade-sharp
+ dev-dotnet/gtk-sharp
+ >=dev-dotnet/libgdiplus-1.1.11"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"/src
+ sed -i 's%^AUTOPANO_PATH=.*%AUTOPANO_PATH=/usr/lib/autopano-sift%' \
+ bin/autopano-complete.sh
+ if has_version '>=dev-dotnet/gtk-sharp-2' ; then
+ sed -i 's%pkg:gtk-sharp%pkg:gtk-sharp-2.0%g' Makefile util/Makefile \
+ util/autopanog/Makefile || die "sed failed"
+ fi
+ if has_version '>=dev-dotnet/glade-sharp-2' ; then
+ sed -i 's%pkg:glade-sharp%pkg:glade-sharp-2.0%g' util/Makefile \
+ util/autopanog/Makefile || die "sed failed"
+ fi
+}
+
+src_compile() {
+ cd "${S}"/src
+
+ emake -j1 || die "Compile failed"
+}
+
+src_install() {
+ insinto /usr/lib/${PN}
+ doins src/util/*.exe src/util/autopanog/*.exe src/libsift.dll
+
+ exeinto /usr/bin
+
+ doexe "${FILESDIR}"/autopano
+
+ for file in autopanog generatekeys; do
+ dosym autopano /usr/bin/"$file"
+ done
+
+ doexe src/bin/autopano-complete.sh
+
+ dodoc README CHANGES
+ cd "${S}"/doc
+ rm -f template.1 autopano-complete.old.*
+ dodoc *.pdf *.txt
+ doman *.1 *.7
+}
diff --git a/media-gfx/autopano-sift/files/digest-autopano-sift-2.4-r1 b/media-gfx/autopano-sift/files/digest-autopano-sift-2.4-r1
new file mode 100644
index 000000000000..57ae916f8b67
--- /dev/null
+++ b/media-gfx/autopano-sift/files/digest-autopano-sift-2.4-r1
@@ -0,0 +1,3 @@
+MD5 e497074d0cb5586cdc66506d782ccbd7 autopano-sift-2.4.tar.gz 640117
+RMD160 7b0a4a96d793b8ca0100be55dae41a629f95b4b0 autopano-sift-2.4.tar.gz 640117
+SHA256 0f2ee8887550f77ca77be9ba7ff1888099c316de03362cb324ed32fd6ffeea35 autopano-sift-2.4.tar.gz 640117