Last active
October 12, 2026 23:08
-
-
Save defremov/c438477d0aa145d3674bee8e79876d42 to your computer and use it in GitHub Desktop.
crrcsim-hg PKGBUILD update for pkgver 0.9.13.r3.1fc598ff00b1-1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -Naur crrcsim-hg/PKGBUILD crrcsim-hg.patched/PKGBUILD | |
| --- crrcsim-hg/PKGBUILD 2017-10-30 12:31:34.000000000 +0300 | |
| +++ crrcsim-hg.patched/PKGBUILD 2026-10-12 23:21:19.861216529 +0300 | |
| @@ -14,12 +14,12 @@ | |
| arch=('i686' 'x86_64') | |
| url="http://sourceforge.net/projects/crrcsim/" | |
| license=('GPL') | |
| -depends=('sdl>=1.2.5' 'portaudio' 'libjpeg' 'cgal') | |
| +depends=('sdl>=1.2.5' 'portaudio' 'libjpeg-turbo' 'gmp') | |
| groups=() | |
| -makedepends=('mercurial' 'gawk' 'plib>=1.8.4') | |
| +makedepends=('mercurial' 'gawk' 'cgal>=5.0' 'plib>=1.8.4') | |
| provides=('crrcsim') | |
| conflicts=('crrcsim') | |
| -source=('hg+https://hg.code.sf.net/p/crrcsim/code') | |
| +source=('hg+http://hg.code.sf.net/p/crrcsim/code') | |
| sha256sums=('SKIP') | |
| pkgver() { | |
| @@ -40,7 +40,7 @@ | |
| # BUILD HERE | |
| # | |
| sed -i "s/boost_thread-mt/boost_thread/g" ./configure.ac | |
| - sed -i "s/-lCGAL/\"-lCGAL -lgmp\"/g" ./configure.ac | |
| + sed -i "s/-lCGAL/-lgmp/g" ./configure.ac | |
| ./autogen.sh | |
| ./configure --prefix=/usr | |
| make |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- crrcsim-hg/PKGBUILD 2017-10-30 12:31:34.000000000 +0300 | |
| +++ crrcsim-hg.patched/PKGBUILD 2026-09-08 00:26:45.089101716 +0300 | |
| @@ -14,13 +14,19 @@ | |
| arch=('i686' 'x86_64') | |
| url="http://sourceforge.net/projects/crrcsim/" | |
| license=('GPL') | |
| -depends=('sdl>=1.2.5' 'portaudio' 'libjpeg' 'cgal') | |
| +depends=('sdl>=1.2.5' 'portaudio' 'libjpeg-turbo' 'gmp') | |
| groups=() | |
| -makedepends=('mercurial' 'gawk' 'plib>=1.8.4') | |
| +makedepends=('git' 'mercurial' 'gawk' 'mpfr' 'plib>=1.8.4') | |
| provides=('crrcsim') | |
| conflicts=('crrcsim') | |
| -source=('hg+https://hg.code.sf.net/p/crrcsim/code') | |
| -sha256sums=('SKIP') | |
| +source=( | |
| + 'git+https://github.com/CGAL/cgal.git' | |
| + 'hg+http://hg.code.sf.net/p/crrcsim/code' | |
| +) | |
| +sha256sums=( | |
| + 'SKIP' | |
| + 'SKIP' | |
| +) | |
| pkgver() { | |
| cd code | |
| @@ -29,6 +35,12 @@ | |
| } | |
| build() { | |
| + mkdir -p "$srcdir/cgal/build" | |
| + cd "$srcdir/cgal/build" | |
| + local _cgal_pkg="$srcdir/cgal-pkg" | |
| + cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$_cgal_pkg" | |
| + make install | |
| + | |
| cd "$srcdir" | |
| msg "Connecting to Mercurial server...." | |
| @@ -40,9 +52,9 @@ | |
| # BUILD HERE | |
| # | |
| sed -i "s/boost_thread-mt/boost_thread/g" ./configure.ac | |
| - sed -i "s/-lCGAL/\"-lCGAL -lgmp\"/g" ./configure.ac | |
| + sed -i "s/-lCGAL/-lgmp/g" ./configure.ac | |
| ./autogen.sh | |
| - ./configure --prefix=/usr | |
| + CPPFLAGS="-I $_cgal_pkg/include" ./configure --prefix=/usr | |
| make | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment