1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

New port: misc/valentina: Sewing pattern drafting tool aiming to remake the garment industry

This commit is contained in:
Yuri Victorovich 2018-08-12 05:45:52 +00:00
parent 21bd3d9735
commit e1e560f159
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476962
7 changed files with 1186 additions and 0 deletions

View File

@ -540,6 +540,7 @@
SUBDIR += usbids
SUBDIR += usbrh-libusb
SUBDIR += utftools
SUBDIR += valentina
SUBDIR += valspeak
SUBDIR += vdmfec
SUBDIR += vera

38
misc/valentina/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $FreeBSD$
PORTNAME= valentina
DISTVERSION= 0.6.0.0
DISTVERSIONSUFFIX= a
CATEGORIES= misc
MASTER_SITES= http://cdn.bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Sewing pattern drafting tool aiming to remake the garment industry
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE_GPL.txt
BUILD_DEPENDS= gmake:devel/gmake
USES= desktop-file-utils qmake qt:5
USE_QT= concurrent core gui network opengl printsupport svg widgets xml xmlpatterns buildtools_build linguisttools_build testlib_build
USE_GL= gl
USE_LDCONFIG= yes
BB_ACCOUNT= dismine
BB_PROJECT= ${PORTNAME}
BB_COMMIT= fccfd7b0aa17
QMAKE_ARGS= CONFIG+="no_ccache" CONFIG+="noTests" CONFIG+="noRunPath"
BINARY_ALIAS= hg=/usr/bin/true
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
post-patch:
@${REINPLACE_CMD} 's|DEFAULT_PREFIX = /usr|DEFAULT_PREFIX = ${PREFIX}|' ${WRKSRC}/common.pri
@${REINPLACE_CMD} 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/src/app/valentina/valentina.pro ${WRKSRC}/src/app/tape/tape.pro
post-configure:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} 's|$$(MAKE)|${GMAKE}|'
.include <bsd.port.mk>

3
misc/valentina/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1534027764
SHA256 (valentina-0.6.0.0a.tar.gz) = fca1eea2f68a796e8925b291b5693da9e465f0fc8d4c384a06f1c90f075369e0
SIZE (valentina-0.6.0.0a.tar.gz) = 35595152

View File

@ -0,0 +1,17 @@
--- common.pri.orig 2018-08-11 23:09:01 UTC
+++ common.pri
@@ -164,11 +164,11 @@ defineTest(forceCopyToDestdir) {
# We use precompiled headers for more fast compilation source code.
defineReplace(set_PCH){
no_ccache{
- CONFIG += precompile_header # Turn on creation precompiled headers (PCH).
+ CONFIG -= precompile_header # Turn on creation precompiled headers (PCH).
export(CONFIG) # export value to global variable.
- PRECOMPILED_HEADER = stable.h # Header file with all all static headers: libraries, static local headers.
- export(PRECOMPILED_HEADER) # export value to global variable
+ #PRECOMPILED_HEADER = stable.h # Header file with all all static headers: libraries, static local headers.
+ #export(PRECOMPILED_HEADER) # export value to global variable
*msvc* {
PRECOMPILED_SOURCE = stable.cpp # MSVC need also cpp file.

View File

@ -0,0 +1,11 @@
--- src/libs/ifc/xml/vabstractconverter.h.orig 2018-08-11 23:31:52 UTC
+++ src/libs/ifc/xml/vabstractconverter.h
@@ -31,7 +31,7 @@
#include <qcompilerdetection.h>
-#if !defined(Q_OS_OSX) && !defined(Q_OS_WIN) && defined(Q_CC_GNU)
+#if !defined(Q_OS_OSX) && !defined(Q_OS_WIN) && !defined(Q_OS_FREEBSD) && defined(Q_CC_GNU)
#include <sys/sysmacros.h>
#endif

10
misc/valentina/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
Valentina is an open source pattern drafting software tool, designed to be the
foundation of a new stack of open source tools to remake the garment industry.
Small-batch and custom-sized clothing manufacturing is essential to create a
sustainable future, preserve small- to medium-sized textile spinning and weaving
manufacturers, enable independent and small designers and manufacturers to scale
up to make a decent living, rebuild local garment districts, and reduce or
eliminate slave labor.
WWW: https://valentinaproject.bitbucket.io/

1106
misc/valentina/pkg-plist Normal file

File diff suppressed because it is too large Load Diff