mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
parent
48dd4fc808
commit
84cd334184
2 changed files with 27 additions and 4 deletions
|
@ -25,12 +25,26 @@ dependencies:
|
||||||
openjpeg.org: ^2
|
openjpeg.org: ^2
|
||||||
qt.io: ~5
|
qt.io: ~5
|
||||||
curl.se: ^8
|
curl.se: ^8
|
||||||
|
linux:
|
||||||
|
gnu.org/gcc: '*' # apparently, clang c++20 std isn't good enough
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
gnome.org/gobject-introspection: '*'
|
gnome.org/gobject-introspection: '*'
|
||||||
|
linux:
|
||||||
|
gnu.org/binutils: ^2
|
||||||
script:
|
script:
|
||||||
|
# FIXME:
|
||||||
|
# llvm.org from a dep is infecting our build env for linux, where we _need_ gcc;
|
||||||
|
# all methods of overriding assembler detection are failing; so we have this nonsense
|
||||||
|
- run: |
|
||||||
|
ORIG_AS="$(command -v as)"
|
||||||
|
if echo $ORIG_AS | grep llvm.org; then
|
||||||
|
mv ${ORIG_AS}{,.bak}
|
||||||
|
fi
|
||||||
|
if: linux
|
||||||
|
|
||||||
- cmake . $CMAKE_ARGS
|
- cmake . $CMAKE_ARGS
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install
|
||||||
- make clean
|
- make clean
|
||||||
|
@ -41,10 +55,13 @@ build:
|
||||||
curl -L "$FONT_DATA" | tar -xz --strip-components=1
|
curl -L "$FONT_DATA" | tar -xz --strip-components=1
|
||||||
make install prefix={{prefix}}
|
make install prefix={{prefix}}
|
||||||
working-directory: font-data
|
working-directory: font-data
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
if test -e "${ORIG_AS}.bak"; then
|
||||||
|
mv ${ORIG_AS}{.bak,}
|
||||||
|
fi
|
||||||
|
if: linux
|
||||||
env:
|
env:
|
||||||
CC: clang
|
|
||||||
CXX: clang++
|
|
||||||
LD: clang
|
|
||||||
FONT_DATA: https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz
|
FONT_DATA: https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz
|
||||||
CMAKE_ARGS:
|
CMAKE_ARGS:
|
||||||
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
||||||
|
@ -63,10 +80,14 @@ build:
|
||||||
- -DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
- -DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
||||||
- -DRUN_GPERF_IF_PRESENT=OFF
|
- -DRUN_GPERF_IF_PRESENT=OFF
|
||||||
- -DWITH_GObjectIntrospection=ON
|
- -DWITH_GObjectIntrospection=ON
|
||||||
CXXFLAGS: '$CXXFLAGS -std=c++11'
|
darwin:
|
||||||
|
CXXFLAGS: '$CXXFLAGS -std=c++11'
|
||||||
linux:
|
linux:
|
||||||
# ld.lld: error: undefined symbol: std::filesystem::__cxx11::path::_M_split_cmpts()
|
# ld.lld: error: undefined symbol: std::filesystem::__cxx11::path::_M_split_cmpts()
|
||||||
LDFLAGS: '$LDFLAGS -lstdc++fs'
|
LDFLAGS: '$LDFLAGS -lstdc++fs'
|
||||||
|
CC: gcc
|
||||||
|
CXX: g++
|
||||||
|
LD: ld.gold
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/pdfattach
|
- bin/pdfattach
|
||||||
|
|
|
@ -42,6 +42,8 @@ dependencies:
|
||||||
gnupg.org/libgpg-error: 1
|
gnupg.org/libgpg-error: 1
|
||||||
gnupg.org/libassuan: 2
|
gnupg.org/libassuan: 2
|
||||||
littlecms.com: ^2.9
|
littlecms.com: ^2.9
|
||||||
|
linux:
|
||||||
|
gnu.org/gcc: '*' # apparently, clang c++20 std isn't good enough
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue