1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

graphics/evolvotron: Update 0.6.3 -> 0.7.1

Port changes:
* Change to DISTVERSION
* Update LICENSE, add LICENSE_FILE
* Change to Qt5
* Add USES=compiler:c++11-lib and USE_CXXSTD=c++11
* Delete redundant static libraries
* Remove MAKE_JOBS_UNSAFE - build doesn't seem to fail with -j8
This commit is contained in:
Yuri Victorovich 2018-07-15 05:53:59 +00:00
parent bc2f036479
commit 2e963a6160
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474662
5 changed files with 15 additions and 44 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= evolvotron
PORTVERSION= 0.6.3
PORTREVISION= 9
DISTVERSION= 0.7.1
CATEGORIES= graphics
MASTER_SITES= SF \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
@ -13,21 +12,21 @@ DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
MAINTAINER= ports@FreeBSD.org
COMMENT= Generative software that evolves images/textures/patterns
LICENSE= GPLv3+ # LICENSE file is GPLv2 though
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= fails to link: evolvotron.o: undefined reference to boost::program_options::options_description::options_description
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= python qmake qt:4
USE_QT= corelib gui xml moc_build
USES= compiler:c++11-lib python qmake qt:5
USE_QT= core gui widgets xml buildtools_build
USE_GL= gl
QMAKE_ARGS= VERSION_NUMBER="${PORTVERSION}"
QMAKE_SOURCE_PATH= ${WRKSRC}/main.pro
MAKE_JOBS_UNSAFE= yes
USE_CXXSTD= c++11
PORTDOCS= NEWS README TODO USAGE evolvotron.html
WRKSRC= ${WRKDIR}/${PORTNAME}
INSTALLS_ICONS= yes
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128
@ -37,9 +36,7 @@ DESKTOP_ENTRIES="Evolvotron" "Interactive image generator" "${PORTNAME}" \
OPTIONS_DEFINE= DOCS
.for i in libevolvotron libfunction
CXXFLAGS+= -include ${WRKSRC}/${i}/${i}_precompiled.h
.endfor
PORTDOCS= NEWS README TODO USAGE evolvotron.html
post-patch:
@${REINPLACE_CMD} -e \
@ -65,6 +62,9 @@ do-install:
${STAGEDIR}${MAN1PREFIX}/man/man1/
.endfor
post-install: # delete static libs installed by mistake
@${RM} -r ${STAGEDIR}${PREFIX}/lib
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

View File

@ -1,4 +1,5 @@
SHA256 (evolvotron-0.6.3.tar.gz) = d1735fe84d90be004888017068f49fa00c97378fd7cca11a90a4a889ef681393
SIZE (evolvotron-0.6.3.tar.gz) = 182357
TIMESTAMP = 1531631740
SHA256 (evolvotron-0.7.1.tar.gz) = 9a5bd7680aa3617de7b822ef1114f04548909be35facbf78c676bd0c4d42f9a9
SIZE (evolvotron-0.7.1.tar.gz) = 179516
SHA256 (evolvotron_icons.tar.gz) = f7d98eab15bf39d6de66a548457223daaffab4e5fe4aa444c926343786400d85
SIZE (evolvotron_icons.tar.gz) = 93696

View File

@ -1,13 +0,0 @@
--- USAGE.orig
+++ USAGE
@@ -68,8 +68,8 @@
-m, --multisample <multisample grid>
Enables additional antialiasing passes.
- Specifing 2 or 3 will provide an additional pass with 2x2 or 3x3 samples per pixel.
- Specifiying 4 (of higher) will provide a 2x2 and a final 4x4 pass.
+ Specifying 2 or 3 will provide an additional pass with 2x2 or 3x3 samples per pixel.
+ Specifying 4 (of higher) will provide a 2x2 and a final 4x4 pass.
Specifying 1 provides the default behaviour of one sample per pixel.
For best rendering quality also specify -j.

View File

@ -1,15 +0,0 @@
--- libevolvotron/dialog_help.cpp.orig
+++ libevolvotron/dialog_help.cpp
@@ -45,10 +45,10 @@
" Esc - Returns to normal mode from full-screen/menu-hidden mode."
" </li>"
" <li>"
-" R - Reset (reset mutation paramters and locks)"
+" R - Reset (reset mutation parameters and locks)"
" </li>"
" <li>"
-" T - Restart (preserve mutation paramters and locks)"
+" T - Restart (preserve mutation parameters and locks)"
" </li>"
" <li>"
" X - Remix (randomize function weights and restart)"

View File

@ -1,8 +1,6 @@
bin/evolvotron
bin/evolvotron_mutate
bin/evolvotron_render
lib/libevolvotron.a
lib/libfunction.a
man/man1/evolvotron.1.gz
man/man1/evolvotron_mutate.1.gz
man/man1/evolvotron_render.1.gz