Package Details: solvespace-git r1792.bb193890-1

Git Clone URL: https://aur.archlinux.org/solvespace-git.git (read-only, click to copy)
Package Base: solvespace-git
Description: Parametric 2d/3d CAD
Upstream URL: https://solvespace.com
Keywords: cad design
Licenses: GPL3
Conflicts: solvespace
Provides: solvespace
Submitter: keenerd
Maintainer: None
Last Packager: premysl
Votes: 10
Popularity: 0.003560
First Submitted: 2015-08-09 17:08 (UTC)
Last Updated: 2021-10-02 07:19 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

tgirod commented on 2015-11-26 19:22 (UTC)

then it means something is missing in the makedepends ...

keenerd commented on 2015-10-20 12:47 (UTC)

Builds fine here, without that patch.

tgirod commented on 2015-10-17 20:59 (UTC)

Didn't work for me. I had to update the dependencies based on the README and patched the makefile to add -std=c++11 (I will send the patch upstream ASAP) ---8<--- PKGBUILD pkgname='solvespace-git' pkgver=r581.0159a87 pkgrel=1 pkgdesc="SOLVESPACE is a parametric 3d CAD program." arch=('i686' 'x86_64') url='http://solvespace.com/' license=('GPL3') depends=('libpng' 'zlib' 'json-c' 'fontconfig' 'gtkmm' 'pangomm') makedepends=('git' 'cmake') source=('solvespace-git::git+https://github.com/jwesthues/solvespace.git' 'cmake.patch') sha256sums=('SKIP' '326196740c0a25ecbc270171cd5765f93d7a0a32ac367c1d5b709ebb280dc865') pkgver() { cd "$pkgname" #git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { cd "$pkgname" git apply ../cmake.patch } build() { cd "$pkgname" mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ../ make } package() { cd "$pkgname/build" make DESTDIR="$pkgdir" install } ---8<--- cmake.patch diff --git a/CMakeLists.txt b/CMakeLists.txt index 796ef81..8f4ab3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,8 +41,9 @@ if(WIN32) -DWIN32_LEAN_AND_MEAN=1) endif() -if((CMAKE_CXX_PLATFORM_ID STREQUAL "Linux") AND CMAKE_COMPILER_IS_GNUCC) +if((CMAKE_SYSTEM_NAME MATCHES "Linux") AND CMAKE_COMPILER_IS_GNUCC) set(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed ${CMAKE_EXE_LINKER_FLAGS}") + set(CMAKE_CXX_FLAGS "-std=c++11") endif() if(MINGW)

GAZ082 commented on 2015-10-16 00:04 (UTC)

src/CMakeFiles/solvespace.dir/build.make:230: recipe for target 'src/CMakeFiles/solvespace.dir/gtk/gtkmain.cpp.o' failed make[2]: *** [src/CMakeFiles/solvespace.dir/gtk/gtkmain.cpp.o] Error 1 CMakeFiles/Makefile2:125: recipe for target 'src/CMakeFiles/solvespace.dir/all' failed make[1]: *** [src/CMakeFiles/solvespace.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... The build failed. What can it be? Thanks!

nimrod_mack commented on 2015-09-07 12:44 (UTC)

Correct me if I'm wrong but shouldn't be cmake in makedepends?