Lines 1-5
Link Here
|
1 |
PORTNAME= lensfun |
1 |
PORTNAME= lensfun |
2 |
DISTVERSION= 0.2.5-dev |
2 |
DISTVERSION= 0.2.5-dev |
|
|
3 |
PORTREVISION= 1 |
3 |
CATEGORIES= graphics |
4 |
CATEGORIES= graphics |
4 |
PKGNAMEPREFIX= gimp- |
5 |
PKGNAMEPREFIX= gimp- |
5 |
PKGNAMESUFFIX= -plugin |
6 |
PKGNAMESUFFIX= -plugin |
Lines 14-28
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
Link Here
|
14 |
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/exiv2.pc:graphics/exiv2 \ |
15 |
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/exiv2.pc:graphics/exiv2 \ |
15 |
${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:graphics/gimp-app \ |
16 |
${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:graphics/gimp-app \ |
16 |
${LOCALBASE}/libdata/pkgconfig/lensfun.pc:graphics/lensfun |
17 |
${LOCALBASE}/libdata/pkgconfig/lensfun.pc:graphics/lensfun |
|
|
18 |
|
19 |
LIB_DEPENDS+= libatk-1.0.so:accessibility/at-spi2-core \ |
20 |
libbabl-0.1.so:x11/babl \ |
21 |
libfontconfig.so:x11-fonts/fontconfig \ |
22 |
libfreetype.so:print/freetype2 \ |
23 |
libgegl-0.4.so:graphics/gegl \ |
24 |
libgegl-npd-0.4.so:graphics/gegl \ |
25 |
libharfbuzz.so:print/harfbuzz \ |
26 |
libjson-glib-1.0.so:devel/json-glib |
27 |
|
17 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
28 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
18 |
|
29 |
|
19 |
USES= compiler:c++11-lang gmake pkgconfig |
30 |
USES= compiler:c++11-lang gettext-runtime gmake gnome pkgconfig |
20 |
|
31 |
|
21 |
USE_GITHUB= yes |
32 |
USE_GITHUB= yes |
22 |
GH_ACCOUNT= seebk |
33 |
GH_ACCOUNT= seebk |
23 |
GH_PROJECT= GIMP-Lensfun |
34 |
GH_PROJECT= GIMP-Lensfun |
24 |
GH_TAGNAME= c5eaf97 |
35 |
GH_TAGNAME= c5eaf97 |
25 |
|
36 |
|
|
|
37 |
USE_GNOME+= cairo gdkpixbuf2 glib20 gtk20 pango |
38 |
|
26 |
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins |
39 |
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins |
27 |
PLUGINS= gimp-lensfun |
40 |
PLUGINS= gimp-lensfun |
28 |
|
41 |
|
Lines 35-42
post-patch:
Link Here
|
35 |
@${REINPLACE_CMD} \ |
48 |
@${REINPLACE_CMD} \ |
36 |
-e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \ |
49 |
-e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \ |
37 |
${WRKSRC}/Makefile |
50 |
${WRKSRC}/Makefile |
38 |
# CCI support has been removed from recent versions of lensfun |
|
|
39 |
@${REINPLACE_CMD} -e '/CCI/d' ${WRKSRC}/src/gimplensfun.cpp |
40 |
|
51 |
|
41 |
do-install: |
52 |
do-install: |
42 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
53 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |