summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Sherwood2008-10-01 10:42:41 -0500
committerGeorge Sherwood2008-10-01 10:42:41 -0500
commitff1be9cd410f07a4fb3734414016e45936232c89 (patch)
treef3113b4ca7b642e34491c717e8e8789e917df036
parenta3ef5bc7ba00cb9f967477dca6780a4c8a23c464 (diff)
autopano-sift-c: Added release version 2.5.0. Only devel
depends subversion
-rwxr-xr-xgraphics/autopano-sift-c/DEPENDS4
-rwxr-xr-xgraphics/autopano-sift-c/DETAILS15
-rwxr-xr-xgraphics/autopano-sift-c/PREPARE6
3 files changed, 20 insertions, 5 deletions
diff --git a/graphics/autopano-sift-c/DEPENDS b/graphics/autopano-sift-c/DEPENDS
index 8428c5ed1e..2ab723e4ca 100755
--- a/graphics/autopano-sift-c/DEPENDS
+++ b/graphics/autopano-sift-c/DEPENDS
@@ -4,4 +4,6 @@ depends jpeg &&
depends libpng &&
depends libxml2 &&
depends cmake &&
-depends subversion
+if [[ "$ASC_DEVEL" == "y" ]]; then
+ depends subversion
+fi
diff --git a/graphics/autopano-sift-c/DETAILS b/graphics/autopano-sift-c/DETAILS
index b7b5ba0d9a..154a5dff65 100755
--- a/graphics/autopano-sift-c/DETAILS
+++ b/graphics/autopano-sift-c/DETAILS
@@ -1,14 +1,23 @@
SPELL=autopano-sift-c
+if [ "$ASC_DEVEL" == "y" ]; then
if [ "$ASC_AUTOUPDATE" == "y" ] ; then
- VERSION=$(date +%Y%m%d)
+ VERSION=$(date +%Y%m%d)
else
- VERSION=svn
+ VERSION=svn
fi
SOURCE=$SPELL-svn.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=svn_http://hugin.svn.sourceforge.net/svnroot/hugin/autopano-sift-C/trunk/:$SOURCE_DIRECTORY
SOURCE_IGNORE=volatile
FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+else
+ VERSION=2.5.0
+ SOURCE=autopano-sift-C-$VERSION.tar.gz
+ SOURCE_URL[0]=$SOURCEFORGE_URL/hugin/$SOURCE
+ SOURCE_HASH=sha512:779bf6c74201228fb1821d5d52eeaa67f50b4844624a56ad449aaae807b0577f9a287bc3edf9ec9a0905574c22d52a424f67b850e376b42c6bb62bf78dc95713
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/autopano-sift-C-$VERSION
+fi
+
WEB_SITE="http://wiki.panotools.org/Autopano-sift-C"
LICENSE[0]=GPL
ENTERED=20080722
diff --git a/graphics/autopano-sift-c/PREPARE b/graphics/autopano-sift-c/PREPARE
index cd8a14777d..1deef2e4c5 100755
--- a/graphics/autopano-sift-c/PREPARE
+++ b/graphics/autopano-sift-c/PREPARE
@@ -1 +1,5 @@
-config_query ASC_AUTOUPDATE "Update on every system update?" n
+config_query ASC_DEVEL "Build devel (svn) version?" n &&
+
+if [[ "$ASC_DEVEL" == "y" ]]; then
+ config_query ASC_AUTOUPDATE "Update on every system update?" n
+fi