Package Details: sfcgal 1.3.0-1

Git Clone URL: https://aur.archlinux.org/sfcgal.git (read-only)
Package Base: sfcgal
Description: Wrapper around the CGAL library that intents to implement 2D and 3D operations on OGC standards models
Upstream URL: http://oslandia.github.io/SFCGAL/index.html
Licenses: GPL
Provides: sfcgal
Submitter: albertid
Maintainer: albertid
Last Packager: albertid
Votes: 4
Popularity: 0.000000
First Submitted: 2013-10-21 08:10
Last Updated: 2016-04-06 08:20

Latest Comments

kikislater commented on 2018-12-15 11:15

@albertid, please update ! It builds fine with :

Maintainer: Hannes Graeuler < hgraeule [at] uos [dot] de >

pkgname=sfcgal

pkgver=1.3.6

pkgrel=1

pkgdesc="Wrapper around the CGAL library that intents to implement 2D and 3D operations on OGC standards models"

arch=(i686 x86_64)

url="http://oslandia.github.io/SFCGAL/index.html"

license=('GPL')

groups=()

provides=('sfcgal')

depends=('cgal>=4.1' 'boost' 'gmp' 'mpfr' 'openscenegraph')

makedepends=('cmake')

source=("https://github.com/Oslandia/SFCGAL/archive/v$pkgver.tar.gz")

sha256sums=('5840192eb4a1a4e500f65eedfebacd4bc4b9192c696ea51d719732dc2c75530a')

build() {

cd $srcdir/SFCGAL-$pkgver

cmake -Wno-dev \

    -DCMAKE_INSTALL_PREFIX:PATH=/usr \

    -DCMAKE_INSTALL_LIBDIR=/usr/lib \

    -DSFCGAL_BUILD_VIEWER=1 \

    -DSFCGAL_BUILD_EXAMPLES=1 \

    -DSFCGAL_BUILD_TEST=1 .

make

}

package() {

cd $srcdir/SFCGAL-$pkgver

make DESTDIR=$pkgdir install

rm -rf $pkgdir/usr/include/CGAL

}

meierphi commented on 2015-04-22 12:17

After the changes made to pacman (since version 4.2) it is necessary to tell cmake where to install libraries. The build section in PKGBUILD should look like this to avoid an installation error:

build() {
cd $srcdir/SFCGAL-$pkgver
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DSFCGAL_BUILD_VIEWER=1 \
-DSFCGAL_BUILD_EXAMPLES=1 \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DSFCGAL_BUILD_TEST=1 .
make
}

albertid commented on 2014-11-19 21:03

Done

geosam commented on 2014-11-17 21:41

Is posible @albertid add the viewer and examples:

cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DSFCGAL_BUILD_VIEWER=1 \
-DSFCGAL_BUILD_EXAMPLES=1 \
-DSFCGAL_BUILD_TEST=1