View | Details | Raw Unified | Return to bug 256713 | Differences between
and this patch

Collapse All | Expand All

(-)b/multimedia/opentoonz/Makefile (-7 / +39 lines)
Lines 5-17 PORTREVISION= 1 Link Here
5
CATEGORIES=	multimedia
5
CATEGORIES=	multimedia
6
6
7
MAINTAINER=	kde@FreeBSD.org
7
MAINTAINER=	kde@FreeBSD.org
8
COMMENT=	2D animation software
8
COMMENT=	Open-source full-featured 2D animation creation software
9
9
10
LICENSE=	GPLv2+
10
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
11
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
11
12
12
BUILD_DEPENDS=	boost-libs>0:devel/boost-libs
13
BUILD_DEPENDS=	boost-libs>0:devel/boost-libs
13
LIB_DEPENDS=	libgslcblas.so:math/gsl \
14
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
14
		libjson-c.so:devel/json-c \
15
		liblz4.so:archivers/liblz4 \
15
		liblz4.so:archivers/liblz4 \
16
		liblzo2.so:archivers/lzo2 \
16
		liblzo2.so:archivers/lzo2 \
17
		libmypaint.so:graphics/libmypaint \
17
		libmypaint.so:graphics/libmypaint \
Lines 19-34 LIB_DEPENDS= libgslcblas.so:math/gsl \ Link Here
19
		libpng.so:graphics/png \
19
		libpng.so:graphics/png \
20
		libsuperlu.so:math/superlu \
20
		libsuperlu.so:math/superlu \
21
		libturbojpeg.so:graphics/libjpeg-turbo
21
		libturbojpeg.so:graphics/libjpeg-turbo
22
RUN_DEPENDS=	${LOCALBASE}/bin/ffprobe:multimedia/ffmpeg
22
23
23
USES=		cmake:noninja compiler:c++11-lang gettext-runtime gl \
24
USES=		blaslapack:openblas cmake:noninja compiler:c++11-lang \
24
		gnome jpeg pkgconfig qt:5
25
		gl gnome jpeg pkgconfig qt:5
25
USE_GITHUB=	yes
26
USE_GITHUB=	yes
26
USE_GL=		gl glew glu glut
27
USE_GL=		gl glew glu glut
27
USE_GNOME=	glib20
28
USE_QT=		core gui multimedia network opengl printsupport \
28
USE_QT=		core gui multimedia network opengl printsupport \
29
		script serialport svg widgets xml \
29
		script serialport svg widgets xml \
30
		buildtools_build linguisttools_build qmake_build
30
		buildtools_build linguisttools_build qmake_build
31
31
CMAKE_ARGS=	-DWITH_SYSTEM_LZO:BOOL=ON \
32
		-DWITH_SYSTEM_SUPERLU:BOOL=ON
32
CMAKE_SOURCE_PATH=	${WRKSRC}/toonz/sources
33
CMAKE_SOURCE_PATH=	${WRKSRC}/toonz/sources
34
INSTALLS_ICONS=	yes
35
36
OPTIONS_SINGLE=		BLASLIB
37
OPTIONS_SINGLE_BLASLIB=	CBLAS GSLCBLAS NETLIB OPENBLAS
38
OPTIONS_DEFAULT=	OPENBLAS
39
40
CBLAS_LIB_DEPENDS=	libcblas.so:math/cblas
41
CBLAS_VARS=		BLASLIBS="cblas"
42
CBLAS_DESC=		C interface to the legacy Fortran BLAS
43
GSLCBLAS_LIB_DEPENDS=	libgslcblas.so:math/gsl
44
GSLCBLAS_VARS=		BLASLIBS="gslcblas"
45
GSLCBLAS_DESC=		The GNU Scientific Library - mathematical libs
46
NETLIB_USES=		blaslapack:netlib
47
NETLIB_VARS=		BLASLIBS="blas"
48
OPENBLAS_USES=		blaslapack:openblas
49
OPENBLAS_VARS=		BLASLIBS="openblas"
50
51
.include <bsd.port.options.mk>
52
53
.if defined(WITH_DEBUG)
54
CXXFLAGS+=	-DDEBUG -g3 -ggdb
55
.else
56
CXXFLAGS+=	-DNDEBUG
57
.endif
58
59
post-extract:
60
	${FIND} ${WRKSRC} -name '*.gitkeep' -delete
61
62
post-patch:
63
	@${REINPLACE_CMD} -e "s|find_library(OPENBLAS_LIB NAMES.*|find_library(OPENBLAS_LIB NAMES ${BLASLIBS})|g" \
64
		${WRKSRC}/toonz/sources/CMakeLists.txt
33
65
34
.include <bsd.port.mk>
66
.include <bsd.port.mk>
(-)b/multimedia/opentoonz/pkg-descr (-4 / +5 lines)
Lines 1-5 Link Here
1
OpenToonz is a 2D animation software published by DWANGO. It is based on Toonz
1
OpenToonz is a 2D animation software published by DWANGO.
2
Studio Ghibli Version, originally developed in Italy by Digital Video, Inc.,
2
It is based on Toonz Studio Ghibli Version, originally developed in
3
and customized by Studio Ghibli over many years of production.
3
Italy by Digital Video, Inc., and customized by Studio Ghibli over
4
many years of production.
4
5
5
WWW: https://github.com/opentoonz/opentoonz
6
WWW: https://opentoonz.github.io/e/
(-)b/multimedia/opentoonz/pkg-message (+12 lines)
Added Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
5
!!! ATTENTION !!!
6
7
No TIFF support now, set in settings some other image format!
8
SSE2 available only on Windows.
9
10
EOM
11
}
12
]
(-)b/multimedia/opentoonz/pkg-plist (-3 / +3 lines)
Lines 1338-1344 share/metainfo/io.github.OpenToonz.appdata.xml Link Here
1338
%%DATADIR%%/stuff/library/vector brushes/thickening.pli
1338
%%DATADIR%%/stuff/library/vector brushes/thickening.pli
1339
%%DATADIR%%/stuff/library/vector brushes/trail_shape1.pli
1339
%%DATADIR%%/stuff/library/vector brushes/trail_shape1.pli
1340
%%DATADIR%%/stuff/library/vector brushes/trail_shape2.pli
1340
%%DATADIR%%/stuff/library/vector brushes/trail_shape2.pli
1341
%%DATADIR%%/stuff/plugins/.gitkeep
1342
%%DATADIR%%/stuff/profiles/layouts/check.bmp
1341
%%DATADIR%%/stuff/profiles/layouts/check.bmp
1343
%%DATADIR%%/stuff/profiles/layouts/fxs/SHADER_caustics.xml
1342
%%DATADIR%%/stuff/profiles/layouts/fxs/SHADER_caustics.xml
1344
%%DATADIR%%/stuff/profiles/layouts/fxs/SHADER_fireball.xml
1343
%%DATADIR%%/stuff/profiles/layouts/fxs/SHADER_fireball.xml
Lines 1526-1535 share/metainfo/io.github.OpenToonz.appdata.xml Link Here
1526
%%DATADIR%%/stuff/profiles/layouts/shortcuts/otretas.ini
1525
%%DATADIR%%/stuff/profiles/layouts/shortcuts/otretas.ini
1527
%%DATADIR%%/stuff/profiles/layouts/toolbars/maintoolbar.xml
1526
%%DATADIR%%/stuff/profiles/layouts/toolbars/maintoolbar.xml
1528
%%DATADIR%%/stuff/profiles/project_folders.txt
1527
%%DATADIR%%/stuff/profiles/project_folders.txt
1529
%%DATADIR%%/stuff/projects/.gitkeep
1530
%%DATADIR%%/stuff/studiopalette/Global Palettes/basics.tpl
1528
%%DATADIR%%/stuff/studiopalette/Global Palettes/basics.tpl
1531
%%DATADIR%%/stuff/studiopalette/Global Palettes/color_key.tpl
1529
%%DATADIR%%/stuff/studiopalette/Global Palettes/color_key.tpl
1532
%%DATADIR%%/stuff/studiopalette/Global Palettes/skin.tpl
1530
%%DATADIR%%/stuff/studiopalette/Global Palettes/skin.tpl
1533
%%DATADIR%%/stuff/studiopalette/Global Palettes/variety.tpl
1531
%%DATADIR%%/stuff/studiopalette/Global Palettes/variety.tpl
1534
%%DATADIR%%/stuff/studiopalette/cleanup_default.tpl
1532
%%DATADIR%%/stuff/studiopalette/cleanup_default.tpl
1535
%%DATADIR%%/stuff/toonzfarm/.gitkeep
1533
@dir %%DATADIR%%/stuff/plugins
1534
@dir %%DATADIR%%/stuff/projects
1535
@dir %%DATADIR%%/stuff/toonzfarm

Return to bug 256713