mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
fix(shared-mime-info) (#3563)
* fix(shared-mime-info) closes #3559 * wip * wip * wip * wip * wip * wip * last one
This commit is contained in:
parent
f193be5d01
commit
93735a6372
1 changed files with 17 additions and 5 deletions
|
@ -16,11 +16,23 @@ build:
|
||||||
ninja-build.org: 1
|
ninja-build.org: 1
|
||||||
gnome.org/libxml2: 2
|
gnome.org/libxml2: 2
|
||||||
working-directory: build
|
working-directory: build
|
||||||
script: |
|
script:
|
||||||
meson .. --prefix={{prefix}} --buildtype=release
|
# darwin doesn't have fdatasync like linux does, but it has an alias that
|
||||||
ninja
|
# gets detected wrongly.
|
||||||
ninja install
|
- run: |
|
||||||
{{prefix}}/bin/update-mime-database {{prefix}}/share/mime
|
sed -i.bak -e '/fdatasync/d' meson.build
|
||||||
|
rm meson.build.bak
|
||||||
|
working-directory: ..
|
||||||
|
if: darwin
|
||||||
|
- meson .. --prefix={{prefix}} --buildtype=release
|
||||||
|
- ninja
|
||||||
|
- ninja install
|
||||||
|
- run: ./update-mime-database ../share/mime
|
||||||
|
working-directory: ${{prefix}}/bin
|
||||||
|
env:
|
||||||
|
CXXFLAGS: $CXXFLAGS -std=c++17 -Wno-reserved-user-defined-literal
|
||||||
|
linux:
|
||||||
|
LDFLAGS: $LDFLAGS -lstdc++fs
|
||||||
|
|
||||||
#TODO you need a library to use this db
|
#TODO you need a library to use this db
|
||||||
#see: https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/
|
#see: https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/
|
||||||
|
|
Loading…
Reference in a new issue