mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
Pencil is an animation/drawing software. It lets you
create traditional hand-drawn animation (cartoon) using both bitmap and vector graphics. WWW: http://www.les-stooges.org/pascal/pencil PR: ports/122827 Submitted by: Ganael Laplanche <ganael.laplanche at martymac.com>
This commit is contained in:
parent
bca380651e
commit
13a2874db9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=212339
@ -552,6 +552,7 @@
|
||||
SUBDIR += pecl-imlib2
|
||||
SUBDIR += pecl-qrencode
|
||||
SUBDIR += pecomato
|
||||
SUBDIR += pencil
|
||||
SUBDIR += peps
|
||||
SUBDIR += pfscalibration
|
||||
SUBDIR += pfstmo
|
||||
|
57
graphics/pencil/Makefile
Normal file
57
graphics/pencil/Makefile
Normal file
@ -0,0 +1,57 @@
|
||||
# New ports collection makefile for: pencil
|
||||
# Date created: 2008-04-16
|
||||
# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pencil
|
||||
PORTVERSION= 0.4.4b
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF/pencil-planner
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFFIX}
|
||||
|
||||
MAINTAINER= ganael.laplanche@martymac.com
|
||||
COMMENT= Pencil - a traditional 2D animation software
|
||||
|
||||
LIB_DEPENDS+= ming:${PORTSDIR}/graphics/ming \
|
||||
png:${PORTSDIR}/graphics/png \
|
||||
freetype:${PORTSDIR}/print/freetype2 \
|
||||
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
|
||||
iconv:${PORTSDIR}/converters/libiconv \
|
||||
ungif:${PORTSDIR}/graphics/libungif \
|
||||
expat:${PORTSDIR}/textproc/expat2 \
|
||||
pcre:${PORTSDIR}/devel/pcre \
|
||||
drm:${PORTSDIR}/graphics/libdrm
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_GETTEXT= yes
|
||||
USE_GNOME= glib20
|
||||
USE_QT_VER= 4
|
||||
QT_COMPONENTS= gui moc_build qmake_build rcc_build xml_build opengl_build
|
||||
USE_XORG= xi xrender xrandr xfixes xcursor xinerama xext x11 xau xdmcp \
|
||||
xxf86vm xdamage
|
||||
USE_GL= gl glu
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
||||
${QMAKE} -unix PREFIX=${PREFIX} \
|
||||
INCLUDEPATH+=${LOCALBASE}/include/ming \
|
||||
${PORTNAME}.pro
|
||||
|
||||
post-patch:
|
||||
@${MKDIR} ${WRKSRC}/src/external/freebsd
|
||||
@${CP} ${FILESDIR}/src-external-freebsd-freebsd.cpp \
|
||||
${WRKSRC}/src/external/freebsd/freebsd.cpp
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/Pencil ${PREFIX}/bin/pencil
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for file in LICENSE.TXT README TODO
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/pencil/distinfo
Normal file
3
graphics/pencil/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pencil-0.4.4b-src.zip) = 5b7b7222fa4856b1eebe8c03358b54f8
|
||||
SHA256 (pencil-0.4.4b-src.zip) = 8a1373e745d9c039e15c7b3f0c1846190fcc4621306b2dd507c31ac31de64303
|
||||
SIZE (pencil-0.4.4b-src.zip) = 1147003
|
12
graphics/pencil/files/patch-pencil.pro
Normal file
12
graphics/pencil/files/patch-pencil.pro
Normal file
@ -0,0 +1,12 @@
|
||||
--- pencil.pro.orig 2008-04-16 14:23:57.000000000 +0000
|
||||
+++ pencil.pro 2008-04-16 14:19:45.000000000 +0000
|
||||
@@ -86,5 +86,9 @@
|
||||
SOURCES += src/external/linux/linux.cpp
|
||||
LIBS += -Lliblinux -lming -lpng
|
||||
}
|
||||
+freebsd-g++ {
|
||||
+ SOURCES += src/external/freebsd/freebsd.cpp
|
||||
+ LIBS += -lming -lpng
|
||||
+}
|
||||
RESOURCES += pencil.qrc
|
||||
QT += xml opengl
|
26
graphics/pencil/files/src-external-freebsd-freebsd.cpp
Normal file
26
graphics/pencil/files/src-external-freebsd-freebsd.cpp
Normal file
@ -0,0 +1,26 @@
|
||||
/*
|
||||
|
||||
Pencil - Traditional Animation Software
|
||||
Copyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation;
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
*/
|
||||
#include "object.h"
|
||||
|
||||
void initialise() {
|
||||
// nothing, for now
|
||||
}
|
||||
|
||||
void Object::exportMovie(int startFrame, int endFrame, QMatrix view, Layer* currentLayer, QSize exportSize, QString filePath, int fps) {
|
||||
QMessageBox assembling("Export",tr("Not supported yet on this platform..."),QMessageBox::Information,0,0,0);
|
||||
assembling.show();
|
||||
// nothing
|
||||
}
|
6
graphics/pencil/pkg-descr
Normal file
6
graphics/pencil/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Pencil is an animation/drawing software. It lets you
|
||||
create traditional hand-drawn animation (cartoon) using
|
||||
both bitmap and vector graphics. Pencil is free and open
|
||||
source.
|
||||
|
||||
WWW: http://www.les-stooges.org/pascal/pencil
|
5
graphics/pencil/pkg-plist
Normal file
5
graphics/pencil/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
bin/pencil
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.TXT
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
x
Reference in New Issue
Block a user