[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gsrc-commit] trunk r6446: update librepcb to 0.1.0
From: |
Carl Hansen |
Subject: |
[Gsrc-commit] trunk r6446: update librepcb to 0.1.0 |
Date: |
Tue, 16 Apr 2019 02:43:21 -0400 (EDT) |
User-agent: |
Bazaar (2.7.0dev1) |
------------------------------------------------------------
revno: 6446
revision-id: address@hidden
parent: address@hidden
committer: address@hidden
branch nick: trunk
timestamp: Mon 2019-04-15 23:43:17 -0700
message:
update librepcb to 0.1.0
added:
pkg/other/librepcb/ librepcb-20190416064303-6q4h3hxhb6j7fwdd-1
pkg/other/librepcb/Makefile makefile-20190416064303-6q4h3hxhb6j7fwdd-3
pkg/other/librepcb/config.mk config.mk-20190416064303-6q4h3hxhb6j7fwdd-2
pkg/other/librepcb/sha256sums sha256sums-20190416064303-6q4h3hxhb6j7fwdd-4
=== added directory 'pkg/other/librepcb'
=== added file 'pkg/other/librepcb/Makefile'
--- a/pkg/other/librepcb/Makefile 1970-01-01 00:00:00 +0000
+++ b/pkg/other/librepcb/Makefile 2019-04-16 06:43:17 +0000
@@ -0,0 +1,76 @@
+# Copyright ©2018 Carl Hansen <address@hidden>
+#
+# This file is part of GSRC.
+#
+# GSRC 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, either version 3 of the License, or
+# (at your option) any later version.
+#
+# GSRC 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.
+#
+# You should have received a copy of the GNU General Public License
+# along with GSRC. If not, see <http://www.gnu.org/licenses/>.
+#
+#
+# Send bug reports and comments about GSRC problems to address@hidden
+#
+
+NAME = LibrePCB
+GARNAME = librepcb
+GARVERSION = 0.1.0
+HOME_URL = http://librepcb.org
+DESCRIPTION = EDA and printed circuit board software
+define BLURB
+endef
+LICENSE = GNU GPLv3
+
+######################################################################
+
+#https://download.librepcb.org/releases/0.1.0/librepcb-0.1.0-source.zip
+
+MASTER_SITES = https://download.librepcb.org/
+MASTER_SUBDIR = releases/$(GARVERSION)/
+DISTFILES = $(DISTNAME)-source.zip
+WORKSRC = $(WORKDIR)/$(DISTNAME)
+WORKOBJ = $(WORKDIR)/$(DISTNAME).build
+CONFIGURE_SCRIPTS =
+
+BUILDDEPS =
+LIBDEPS =
+
+# HINT apt install qtcreator # to get qmake
+######################################################################
+
+include ../../../gar/gar.lib/auto.mk
+include config.mk
+
+pre-build:
+ mkdir -p $(WORKOBJ)
+ cd $(WORKOBJ) && qmake DESTDIR=$(prefix) -Wall -r
../$(DISTNAME)/librepcb.pro
+ $(MAKECOOKIE)
+
+# from pari
+#CONFIGURE_SCRIPTS = doconf
+#BUILD_SCRIPTS = gpanddoc
+
+configure-doconf:
+ cd $(WORKSRC) && ./configure --prefix=$(prefix)/ $(CONFIGURE_OPTS)
+ $(MAKECOOKIE)
+#
+#build-gpanddoc:
+# cd $(WORKSRC) && $(MAKE) all
+# $(MAKECOOKIE)
+
+
+pre-install: build
+ mkdir -p $(prefix)/packages/$(DISTNAME)
+ mkdir -p $(prefix)/packages/$(DISTNAME)-DEST
+ $(MAKE) V=1 -C $(WORKOBJ) -f Makefile
DESTDIR=$(prefix)/packages/$(DISTNAME)-DEST install
+ $(MAKECOOKIE)
+
+
+
=== added file 'pkg/other/librepcb/config.mk'
--- a/pkg/other/librepcb/config.mk 1970-01-01 00:00:00 +0000
+++ b/pkg/other/librepcb/config.mk 2019-04-16 06:43:17 +0000
@@ -0,0 +1,8 @@
+## Configuration options ##
+
+# to get around bug in 0.1.0 for now
+CONFIGURE_OPTS ?= -DDEBUG_ASSERT_DISABLE
+
+BUILD_OPTS ?= CPPFLAGS=-DDEBUG_ASSERT_DISABLE
+ CPPFLAGS+=-DDEBUG_ASSERT_DISABLE
+ CFLAGS+=-DDEBUG_ASSERT_DISABLE
=== added file 'pkg/other/librepcb/sha256sums'
--- a/pkg/other/librepcb/sha256sums 1970-01-01 00:00:00 +0000
+++ b/pkg/other/librepcb/sha256sums 2019-04-16 06:43:17 +0000
@@ -0,0 +1,1 @@
+bb8dc605ba4031aea7156a3294e99cec76b7a450ee8fb54ce74206fd38dfce29
download/librepcb-0.1.0-source.zip
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gsrc-commit] trunk r6446: update librepcb to 0.1.0,
Carl Hansen <=