mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
0108bb77fd
commit
5329f278df
1 changed files with 11 additions and 8 deletions
|
@ -1,10 +1,14 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://taglib.github.io/releases/taglib-{{version}}.tar.gz
|
url: https://taglib.github.io/releases/taglib-{{version.raw}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: taglib/taglib
|
github: taglib/taglib
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
zlib.net: '*'
|
zlib.net: ^1
|
||||||
|
github.com/nemtrif/utfcpp: ^4
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
|
@ -13,11 +17,8 @@ build:
|
||||||
script:
|
script:
|
||||||
- cmake $CMAKE_ARGS
|
- cmake $CMAKE_ARGS
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install
|
||||||
- run: |
|
- run: sed -i -e "s|prefix=|prefix=\$(dirname \$0)/..|g" -e "s|{{prefix}}|\$(dirname \$0)/..|g" taglib-config
|
||||||
sed -i.bak "s|prefix=|prefix=\$(dirname \$0)/..|g" taglib-config
|
working-directory: '{{prefix}}/bin'
|
||||||
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" taglib-config
|
|
||||||
rm taglib-config.bak
|
|
||||||
working-directory: "{{prefix}}/bin"
|
|
||||||
env:
|
env:
|
||||||
CMAKE_ARGS:
|
CMAKE_ARGS:
|
||||||
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
||||||
|
@ -30,9 +31,11 @@ build:
|
||||||
- -DWITH_MP4=ON
|
- -DWITH_MP4=ON
|
||||||
- -DWITH_ASF=ON
|
- -DWITH_ASF=ON
|
||||||
- -DBUILD_SHARED_LIBS=ON
|
- -DBUILD_SHARED_LIBS=ON
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/taglib-config
|
- bin/taglib-config
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- taglib-config --version | grep {{version}}
|
- taglib-config --version | grep {{version.raw}}
|
||||||
- taglib-config --prefix | grep {{prefix}}
|
- taglib-config --prefix | grep {{prefix}}
|
||||||
|
|
Loading…
Reference in a new issue