https://github.com/sztomi/conan-flac
Conan package for FLAC
https://github.com/sztomi/conan-flac
Last synced: 3 months ago
JSON representation
Conan package for FLAC
- Host: GitHub
- URL: https://github.com/sztomi/conan-flac
- Owner: sztomi
- License: other
- Created: 2017-12-04T21:30:04.000Z (over 7 years ago)
- Default Branch: testing/1.3.2
- Last Pushed: 2017-12-10T21:21:35.000Z (over 7 years ago)
- Last Synced: 2025-01-28T13:52:38.591Z (5 months ago)
- Language: Python
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[ ](https://bintray.com/bincrafters/public-conan/flac%3Abincrafters/_latestVersion)
[]()
[]()[Conan.io](https://conan.io) package recipe for *flac*.
Free Lossless Audio Codec
The packages generated with this **conanfile** can be found on [Bintray](https://bintray.com/bincrafters/public-conan/flac%3Abincrafters).
## For Users: Use this package
### Basic setup
$ conan install flac/1.3.2@bincrafters/testing
### Project setup
If you handle multiple dependencies in your project is better to add a *conanfile.txt*
[requires]
flac/1.3.2@bincrafters/testing[generators]
cmakeComplete the installation of requirements for your project running:
$ mkdir build && cd build && conan install ..
Note: It is recommended that you run conan install from a build directory and not the root of the project directory. This is because conan generates *conanbuildinfo* files specific to a single build configuration which by default comes from an autodetected default profile located in ~/.conan/profiles/default . If you pass different build configuration options to conan install, it will generate different *conanbuildinfo* files. Thus, they should not be added to the root of the project, nor committed to git.
## For Packagers: Publish this Package
The example below shows the commands used to publish to bincrafters conan repository. To publish to your own conan respository (for example, after forking this git repository), you will need to change the commands below accordingly.
## Build and package
The following command both runs all the steps of the conan file, and publishes the package to the local system cache. This includes downloading dependencies from "build_requires" and "requires" , and then running the build() method.
$ conan create bincrafters/testing
### Available Options
| Option | Default | Possible Values |
| ------------- |:----------------- |:------------:|
| shared | False | [True, False] |
| use_asm | False | [True, False] |The `use_asm` option will compile ASM implementations of some routines. This does not work on all configurations so it is disabled by default.
## Add Remote
$ conan remote add bincrafters "https://api.bintray.com/conan/bincrafters/public-conan"
## Upload
$ conan upload flac/1.3.2@bincrafters/testing --all -r bincrafters
## Conan Recipe License
NOTE: The conan recipe license applies only to the files of this recipe, which can be used to build and package flac.
It does *not* in any way apply or is related to the actual software being packaged.[LICENSE](LICENSE.md)