[Lunar-commits] <moonbase> hugin: Version bump, adding some optional_depends and adjusting the BUILD.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Mar 18 02:25:40 CET 2010


commit 9f9a48bfa22ef1f35d91fb1d8e258dfea008e564
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Mar 17 21:25:40 2010 -0400

    hugin: Version bump, adding some optional_depends and adjusting the BUILD.
---
 graphics/hugin/BUILD   |   16 ++++++++++++++--
 graphics/hugin/DEPENDS |    2 +-
 graphics/hugin/DETAILS |   11 +++++++----
 3 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/graphics/hugin/BUILD b/graphics/hugin/BUILD
index f18f7fc..b99c8e3 100644
--- a/graphics/hugin/BUILD
+++ b/graphics/hugin/BUILD
@@ -1,9 +1,21 @@
 (
+
  if ! in_depends wxGTK mesa-lib ; then
   message "${PROBLEM_COLOR}Error: ${DEFAULT_COLOR}Compile wxGTK with OpenGL support"
   exit 1;
  fi
-  cmake -DCMAKE_INSTALL_PREFIX=/usr &&
-  sedit s at CMAKE_EXE_LINKER_FLAGS:STRING=@CMAKE_EXE_LINKER_FLAGS:STRING=-lpthread@ CMakeCache.txt &&
+
+  patch_it $SOURCE_CACHE/$SOURCE2 0 &&
+
+  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
+
+  mkdir $OOTB_DIR  &&
+  cd $OOTB_DIR     &&
+
+  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+                           -DCMAKE_BUILD_TYPE=RELEASE             \
+                           $OPTS                                 &&
+
   default_make
+
 ) > $C_FIFO 2>&1
diff --git a/graphics/hugin/DEPENDS b/graphics/hugin/DEPENDS
index ec5c3b3..b31c264 100644
--- a/graphics/hugin/DEPENDS
+++ b/graphics/hugin/DEPENDS
@@ -2,8 +2,8 @@ depends wxGTK
 depends libpano13
 depends boost
 depends OpenEXR
-
 depends enblend-enfuse
+
 optional_depends autopano-sift-C \
                  "" \
                  "" \
diff --git a/graphics/hugin/DETAILS b/graphics/hugin/DETAILS
index cb9cf79..5b6420d 100644
--- a/graphics/hugin/DETAILS
+++ b/graphics/hugin/DETAILS
@@ -1,12 +1,15 @@
           MODULE=hugin
-         VERSION=0.8.0
+         VERSION=2009.4.0
           SOURCE=$MODULE-$VERSION.tar.gz
-      SOURCE_URL=$SFORGE_URL/hugin/
-      SOURCE_VFY=sha1:698f0a7c4bb25efdf06313d05e3980f20d088ce5
+         SOURCE2=matchpoint_lpthread_new.patch
+      SOURCE_URL=$SFORGE_URL/hugin/hugin-2009.4/
+     SOURCE2_URL=$PATCH_URL
+      SOURCE_VFY=sha1:a801a2521d66a9b0c8680bdfe84afe67bc79d1c8
+     SOURCE2_VFY=sha1:d5d2e64a3cffbcda2bf41c52b993351df55423fc
         WEB_SITE=http://hugin.sourceforge.net
       MAINTAINER=perldude at lunar-linux.org
          ENTERED=20060720
-         UPDATED=20090908
+         UPDATED=20100317
            SHORT="an easy to use cross-platform GUI for Panorama Tools"
 
 PSAFE=no


More information about the Lunar-commits mailing list