mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/taglib.org/package.yml
This commit is contained in:
parent
7a01ee4e0e
commit
bc9688caf1
1 changed files with 38 additions and 0 deletions
38
projects/taglib.org/package.yml
Normal file
38
projects/taglib.org/package.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
distributable:
|
||||
url: https://taglib.github.io/releases/taglib-{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
versions:
|
||||
github: taglib/taglib
|
||||
dependencies:
|
||||
zlib.net: '*'
|
||||
build:
|
||||
dependencies:
|
||||
cmake.org: '*'
|
||||
linux:
|
||||
gnu.org/gcc: '*'
|
||||
script:
|
||||
- cmake $CMAKE_ARGS
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
- run: |
|
||||
sed -i.bak "s|prefix=|prefix=\$(dirname \$0)/..|g" taglib-config
|
||||
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" taglib-config
|
||||
rm taglib-config.bak
|
||||
working-directory: "{{prefix}}/bin"
|
||||
env:
|
||||
CMAKE_ARGS:
|
||||
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
||||
- -DCMAKE_INSTALL_LIBDIR=lib
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DCMAKE_FIND_FRAMEWORK=LAST
|
||||
- -DCMAKE_VERBOSE_MAKEFILE=ON
|
||||
- -Wno-dev
|
||||
- -DBUILD_TESTING=OFF
|
||||
- -DWITH_MP4=ON
|
||||
- -DWITH_ASF=ON
|
||||
- -DBUILD_SHARED_LIBS=ON
|
||||
provides:
|
||||
- bin/taglib-config
|
||||
test:
|
||||
script:
|
||||
- taglib-config --version | grep {{version}}
|
||||
- taglib-config --prefix | grep {{prefix}}
|
Loading…
Reference in a new issue