summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rwxr-xr-xgraphics/perceptualdiff/CONFIGURE1
-rwxr-xr-xgraphics/perceptualdiff/DEPENDS2
-rwxr-xr-xgraphics/perceptualdiff/DETAILS16
-rw-r--r--graphics/perceptualdiff/HISTORY2
-rwxr-xr-xgraphics/perceptualdiff/PRE_BUILD3
5 files changed, 24 insertions, 0 deletions
diff --git a/graphics/perceptualdiff/CONFIGURE b/graphics/perceptualdiff/CONFIGURE
new file mode 100755
index 0000000000..b1e2770061
--- /dev/null
+++ b/graphics/perceptualdiff/CONFIGURE
@@ -0,0 +1 @@
+. "$GRIMOIRE"/CMAKE_CONFIGURE
diff --git a/graphics/perceptualdiff/DEPENDS b/graphics/perceptualdiff/DEPENDS
new file mode 100755
index 0000000000..42d3f6e10b
--- /dev/null
+++ b/graphics/perceptualdiff/DEPENDS
@@ -0,0 +1,2 @@
+. "$GRIMOIRE"/CMAKE_DEPENDS &&
+depends freeimage
diff --git a/graphics/perceptualdiff/DETAILS b/graphics/perceptualdiff/DETAILS
new file mode 100755
index 0000000000..d9cea1a6ec
--- /dev/null
+++ b/graphics/perceptualdiff/DETAILS
@@ -0,0 +1,16 @@
+. "$GRIMOIRE"/CMAKE_FUNCTIONS
+ SPELL=perceptualdiff
+ VERSION=1.1.1
+ SOURCE="$SPELL-$VERSION-src.tar.gz"
+ SOURCE_URL[0]=$SOURCEFORGE_URL/project/pdiff/pdiff/$SPELL-$VERSION/$SOURCE
+ SOURCE_HASH=sha512:b25d3903df4e69db7284c6f790a9c21e7064bce358285e34017ab810c67df7e08b98f44e5e16310da28ab898b02b81109a6467b3c976b64ef7b609263aefd8b5
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="http://pdiff.sourceforge.net/"
+ LICENSE[0]="GPL-2.0-or-later"
+ ENTERED=20210906
+ KEYWORDS=""
+ SHORT="Perceptual Image Diff"
+cat << EOF
+PerceptualDiff is an image comparison utility that makes use of a computational
+model of the human visual system to compare two images.
+EOF
diff --git a/graphics/perceptualdiff/HISTORY b/graphics/perceptualdiff/HISTORY
new file mode 100644
index 0000000000..a7468b94d9
--- /dev/null
+++ b/graphics/perceptualdiff/HISTORY
@@ -0,0 +1,2 @@
+2021-09-07 Ismael Luceno <ismael@sourcemage.org>
+ * CONFIGURE, DEPENDS, DETAILS, PRE_BUILD: spell created
diff --git a/graphics/perceptualdiff/PRE_BUILD b/graphics/perceptualdiff/PRE_BUILD
new file mode 100755
index 0000000000..54dc544fbf
--- /dev/null
+++ b/graphics/perceptualdiff/PRE_BUILD
@@ -0,0 +1,3 @@
+mk_source_dir "$SOURCE_DIRECTORY" &&
+cd "$SOURCE_DIRECTORY" &&
+unpack_file