mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 18:06:27 -04:00
- Support STAGEDIR [1]
- Use options helpers [1] - Move sox dependency from BUILD_DEPENDS to LIB_DEPENDS [1] - Force Imagination to use plugins [2] - Adjust GNOME dependencies - Add patch when NLS is not set - Bump PORTREVISION PR: 186596 [1], 186644 [2] Submitted by: Zsolt Udvari [1], [2] Approved by: Jesse Smith (maintainer) [1], timeout (> 1 month) [2]
This commit is contained in:
parent
7276445cfb
commit
03852c53e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348254
4 changed files with 39 additions and 49 deletions
|
@ -3,36 +3,24 @@
|
|||
|
||||
PORTNAME= imagination
|
||||
PORTVERSION= 3.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
|
||||
|
||||
MAINTAINER= jessefrgsmith@yahoo.ca
|
||||
COMMENT= DVD slideshow maker
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/gtk-2.0:${PORTSDIR}/x11-toolkits/gtk20 \
|
||||
${LOCALBASE}/bin/sox:${PORTSDIR}/audio/sox \
|
||||
${LOCALBASE}/bin/intltool-extract:${PORTSDIR}/textproc/intltool
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/ffmpeg:${PORTSDIR}/multimedia/ffmpeg
|
||||
LIB_DEPENDS= libsox.so:${PORTSDIR}/audio/sox \
|
||||
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake pkgconfig
|
||||
USES= gmake pkgconfig pathfix
|
||||
USE_GNOME= gtk20 intltool intlhack libxslt
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
OPTIONS_DEFINE= NLS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
OPTIONS_SUB= yes
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_USES= gettext
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
11
multimedia/imagination/files/patch-configure
Normal file
11
multimedia/imagination/files/patch-configure
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ./configure.orig 2011-03-06 20:06:44.000000000 +0000
|
||||
+++ ./configure 2014-03-14 15:08:46.000000000 +0000
|
||||
@@ -13029,7 +13029,7 @@
|
||||
|
||||
fi
|
||||
fi
|
||||
- USE_NLS=yes
|
||||
+ #USE_NLS=yes
|
||||
|
||||
|
||||
gt_cv_have_gettext=no
|
11
multimedia/imagination/files/patch-use-plugins.h
Normal file
11
multimedia/imagination/files/patch-use-plugins.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/support.h.orig 2014-02-11 08:51:06.175251265 +0100
|
||||
+++ src/support.h 2014-02-11 08:51:14.270248604 +0100
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifndef __IMAGINATION_SUPPORT_H
|
||||
#define __IMAGINATION_SUPPORT_H
|
||||
|
||||
-#define PLUGINS_INSTALLED 0
|
||||
+#define PLUGINS_INSTALLED 1
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
|
@ -29,21 +29,11 @@ lib/imagination/rochade.la
|
|||
lib/imagination/rochade.so
|
||||
lib/imagination/wave.la
|
||||
lib/imagination/wave.so
|
||||
%%NLS%%lib/locale/cs/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%lib/locale/de/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%lib/locale/en_GB/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%lib/locale/fr/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%lib/locale/it/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%lib/locale/pt_BR/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%lib/locale/sv/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%lib/locale/zh_CN/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%lib/locale/zh_TW/LC_MESSAGES/imagination.mo
|
||||
share/applications/imagination.desktop
|
||||
share/icons/hicolor/16x16/apps/imagination.png
|
||||
share/icons/hicolor/24x24/apps/imagination.png
|
||||
share/icons/hicolor/48x48/apps/imagination.png
|
||||
share/icons/hicolor/scalable/apps/imagination.svg
|
||||
share/icons/hicolor/icon-theme.cache
|
||||
%%DATADIR%%/pixmaps/imagination-1.gif
|
||||
%%DATADIR%%/pixmaps/imagination-1.png
|
||||
%%DATADIR%%/pixmaps/imagination-10.gif
|
||||
|
@ -195,25 +185,15 @@ share/icons/hicolor/icon-theme.cache
|
|||
%%DATADIR%%/pixmaps/imagination-pos-7.png
|
||||
%%DATADIR%%/pixmaps/imagination-pos-8.png
|
||||
%%DATADIR%%/pixmaps/imagination-text.png
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%share/locale/en_GB/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/imagination.mo
|
||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/imagination.mo
|
||||
@dirrmtry %%DATADIR%%/pixmaps
|
||||
@dirrmtry %%DATADIR%%
|
||||
%%NLS%%@dirrm lib/locale/zh_TW/LC_MESSAGES
|
||||
%%NLS%%@dirrm lib/locale/zh_TW
|
||||
%%NLS%%@dirrm lib/locale/zh_CN/LC_MESSAGES
|
||||
%%NLS%%@dirrm lib/locale/zh_CN
|
||||
%%NLS%%@dirrm lib/locale/sv/LC_MESSAGES
|
||||
%%NLS%%@dirrm lib/locale/sv
|
||||
%%NLS%%@dirrm lib/locale/pt_BR/LC_MESSAGES
|
||||
%%NLS%%@dirrm lib/locale/pt_BR
|
||||
%%NLS%%@dirrm lib/locale/it/LC_MESSAGES
|
||||
%%NLS%%@dirrm lib/locale/it
|
||||
%%NLS%%@dirrm lib/locale/fr/LC_MESSAGES
|
||||
%%NLS%%@dirrm lib/locale/fr
|
||||
%%NLS%%@dirrm lib/locale/en_GB/LC_MESSAGES
|
||||
%%NLS%%@dirrm lib/locale/en_GB
|
||||
%%NLS%%@dirrm lib/locale/de/LC_MESSAGES
|
||||
%%NLS%%@dirrm lib/locale/de
|
||||
%%NLS%%@dirrm lib/locale/cs/LC_MESSAGES
|
||||
%%NLS%%@dirrm lib/locale/cs
|
||||
@dirrmtry lib/locale
|
||||
@dirrm lib/imagination
|
||||
|
|
Loading…
Add table
Reference in a new issue