[73572] trunk/dports/multimedia
ryandesign at macports.org
ryandesign at macports.org
Thu Nov 18 11:43:51 PST 2010
Revision: 73572
http://trac.macports.org/changeset/73572
Author: ryandesign at macports.org
Date: 2010-11-18 11:43:45 -0800 (Thu, 18 Nov 2010)
Log Message:
-----------
pHash: new port, version 0.9.3; see #27366
Added Paths:
-----------
trunk/dports/multimedia/pHash/
trunk/dports/multimedia/pHash/Portfile
trunk/dports/multimedia/pHash/files/
trunk/dports/multimedia/pHash/files/patch-configure.ac.diff
trunk/dports/multimedia/pHash/files/patch-src-ph_fft.h.diff
Added: trunk/dports/multimedia/pHash/Portfile
===================================================================
--- trunk/dports/multimedia/pHash/Portfile (rev 0)
+++ trunk/dports/multimedia/pHash/Portfile 2010-11-18 19:43:45 UTC (rev 73572)
@@ -0,0 +1,46 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name pHash
+version 0.9.3
+categories multimedia
+platforms darwin
+maintainers workisfun.ru:ivan
+license GPL-3
+
+description Perceptual hash library
+
+long_description Tool to build hash from multimedia files
+
+homepage http://phash.org/
+master_sites ${homepage}releases/
+
+checksums sha1 9bd19917263d9228aeb7a1f58e26b4b58c7e327a \
+ rmd160 d5b38e4957d7d7805c4609d9c5c42b3dc06c782d
+
+depends_lib port:ffmpeg \
+ port:jpeg \
+ port:libsndfile \
+ port:libsamplerate \
+ port:mpg123 \
+ port:CImg
+
+# ffmpeg is not universal
+universal_variant no
+
+patchfiles patch-configure.ac.diff \
+ patch-src-ph_fft.h.diff
+
+use_autoreconf yes
+
+post-destroot {
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ AUTHORS \
+ COPYING \
+ ChangeLog \
+ ${docdir}
+}
Property changes on: trunk/dports/multimedia/pHash/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/multimedia/pHash/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/multimedia/pHash/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/multimedia/pHash/files/patch-configure.ac.diff 2010-11-18 19:43:45 UTC (rev 73572)
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2010-08-28 21:58:12.000000000 -0500
++++ configure.ac 2010-11-18 13:36:37.000000000 -0600
+@@ -104,8 +104,6 @@
+
+ AC_SUBST([LIBTOOLS_DEPS])
+
+-LDFLAGS="$LDFLAGS -L/usr/local/lib"
+-CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+ AC_DEFUN([AC_CHECK_CIMG], [
+ AC_CHECK_HEADER([CImg.h], [found_cimg="y"], [found_cimg="n"])
+
Added: trunk/dports/multimedia/pHash/files/patch-src-ph_fft.h.diff
===================================================================
--- trunk/dports/multimedia/pHash/files/patch-src-ph_fft.h.diff (rev 0)
+++ trunk/dports/multimedia/pHash/files/patch-src-ph_fft.h.diff 2010-11-18 19:43:45 UTC (rev 73572)
@@ -0,0 +1,11 @@
+--- src/ph_fft.h.orig 2010-03-24 12:54:07.000000000 -0500
++++ src/ph_fft.h 2010-11-18 13:30:42.000000000 -0600
+@@ -29,7 +29,7 @@
+ #define PI 3.1415926535897932
+
+ #include <math.h>
+-#include "complex.h"
++#include </usr/include/complex.h>
+ #include <stdlib.h>
+
+ int fft(double *x, int N, complex double *X);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101118/89aef705/attachment.html>
More information about the macports-changes
mailing list