[csw-devel] SF.net SVN: gar:[18108] csw/mgar/pkg
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Thu May 24 16:03:29 CEST 2012
Revision: 18108
http://gar.svn.sourceforge.net/gar/?rev=18108&view=rev
Author: cgrzemba
Date: 2012-05-24 14:03:28 +0000 (Thu, 24 May 2012)
Log Message:
-----------
librecad/trunk: Initial commit
Added Paths:
-----------
csw/mgar/pkg/librecad/
csw/mgar/pkg/librecad/Makefile
csw/mgar/pkg/librecad/branches/
csw/mgar/pkg/librecad/tags/
csw/mgar/pkg/librecad/trunk/
csw/mgar/pkg/librecad/trunk/Makefile
csw/mgar/pkg/librecad/trunk/checksums
csw/mgar/pkg/librecad/trunk/files/
csw/mgar/pkg/librecad/trunk/files/0000-adjust-for-csw-environment.patch
Added: csw/mgar/pkg/librecad/Makefile
===================================================================
--- csw/mgar/pkg/librecad/Makefile (rev 0)
+++ csw/mgar/pkg/librecad/Makefile 2012-05-24 14:03:28 UTC (rev 18108)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/librecad/trunk
___________________________________________________________________
Added: svn:ignore
+ work
Added: csw/mgar/pkg/librecad/trunk/Makefile
===================================================================
--- csw/mgar/pkg/librecad/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/librecad/trunk/Makefile 2012-05-24 14:03:28 UTC (rev 18108)
@@ -0,0 +1,48 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = LibreCAD
+VERSION = 1.0.2
+GIT_VERSION = 216dc66b2a
+GARTYPE = v2
+CATEGORIES = gnome
+
+DESCRIPTION = libreCAD - based on QCAD 2.0
+define BLURB
+ LibreCAD is a free Open Source CAD application for Windows, Apple and Linux. Support and documentation is free from our large, dedicated community of users, contributors and developers
+endef
+
+LICENSE += LICENSE
+LICENSE += gpl-2.0.txt
+LICENSE += gpl-2.0greater.txt
+LICENSE += LICENSE_Apache2.txt
+LICENSE += LICENSE_GPLv3.txt
+
+# git clone https://github.com/LibreCAD/LibreCAD.git
+# https://github.com/LibreCAD/LibreCAD/tarball/master
+MASTER_SITES =
+# DISTFILES = $(DISTNAME).tar.gz
+GIT_REPOS = http://github.com/LibreCAD/LibreCAD.git
+GIT_USE_PROXY = 1
+# GIT_TREEISH_LibreCAD.git = $(GIT_VERSION)
+
+GARCOMPILER = GNU
+prefix = $(BUILD_PREFIX)/gxx
+PACKAGING_PLATFORMS = solaris10-i386 solaris10-sparc
+
+PATCHFILES += 0000-adjust-for-csw-environment.patch
+
+BUILD_DEP_PKGS += CSWqt4-gxx-dev
+BUILD_DEP_PKGS += CSWmuparser-dev
+BUILD_DEP_PKGS += CSWboost-gcc-dev
+BUILD_DEP_PKGS += CSWlibfreetype-dev
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+CONFIGURE_SCRIPTS = custom
+
+configure-custom:
+ cd $(WORKSRC) && $(bindir)/qmake $(call tolower,$(NAME)).pro
+
+include gar/category.mk
+
Property changes on: csw/mgar/pkg/librecad/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/librecad/trunk/checksums
===================================================================
Added: csw/mgar/pkg/librecad/trunk/files/0000-adjust-for-csw-environment.patch
===================================================================
--- csw/mgar/pkg/librecad/trunk/files/0000-adjust-for-csw-environment.patch (rev 0)
+++ csw/mgar/pkg/librecad/trunk/files/0000-adjust-for-csw-environment.patch 2012-05-24 14:03:28 UTC (rev 18108)
@@ -0,0 +1,40 @@
+From 9ae6c98ce011215619dd63c1060a8f836fce5b8b Mon Sep 17 00:00:00 2001
+From: Carsten Grzemba <cgrzemba at opencsw.org>
+Date: Thu, 24 May 2012 15:48:53 +0200
+Subject: [PATCH] adjust for csw environment
+
+---
+ librecad/src/src.pro | 1 -
+ settings.pro | 4 +++-
+ 2 Dateien geändert, 3 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-)
+
+diff --git a/librecad/src/src.pro b/librecad/src/src.pro
+index 4e1a0d3..e6a1ea8 100755
+--- a/librecad/src/src.pro
++++ b/librecad/src/src.pro
+@@ -38,7 +38,6 @@ DESTDIR = $${INSTALLDIR}
+
+ # Make translations at the end of the process
+ unix {
+- SCMREVISION=$$system([ "$(which git)x" != "x" -a -d ../../.git ] && echo "$(git describe --tags)" || echo "$${SCMREVISION}")
+
+ DEFINES += QC_SCMREVISION=\"$$SCMREVISION\"
+ macx {
+diff --git a/settings.pro b/settings.pro
+index b120052..67346d3 100644
+--- a/settings.pro
++++ b/settings.pro
+@@ -4,7 +4,9 @@ win32 {
+ unix {
+ macx {
+ include(settings_macx.pro)
++ } solaris {
++ include(settings_csw.pro)
+ } else {
+- include(settings_linux.pro)
++ include(settings_linx.pro)
+ }
+ }
+--
+1.7.10.2
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list