https://github.com/sdwebimage/libgav1-xcode
A wrapper for libgav1 + Xcode project. Support SwiftPM && CocoaPods.
https://github.com/sdwebimage/libgav1-xcode
Last synced: 10 months ago
JSON representation
A wrapper for libgav1 + Xcode project. Support SwiftPM && CocoaPods.
- Host: GitHub
- URL: https://github.com/sdwebimage/libgav1-xcode
- Owner: SDWebImage
- Created: 2021-07-27T08:02:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-31T09:37:07.000Z (over 4 years ago)
- Last Synced: 2025-06-04T02:39:22.781Z (10 months ago)
- Language: Ruby
- Size: 3.91 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libgav1 + Xcode
[](https://travis-ci.org/SDWebImage/libgav1-Xcode)
[](http://cocoapods.org/pods/libgav1)
[](http://cocoapods.org/pods/libgav1)
[](http://cocoapods.org/pods/libgav1)
[](https://swift.org/package-manager/)
A wrapper for [libgav1](https://chromium.googlesource.com/codecs/libgav1/) + Xcode project.
This enables CocoaPods && SwiftPM support.
This repo also including the CocoaPods's spec file to use libgav1.
## Requirements
+ iOS 8
+ macOS 10.10
+ tvOS 9.0
+ watchOS 2.0
## Installation
### CocoaPods
libgav1 is available through [CocoaPods](https://github.com/CocoaPods/CocoaPods).
```
pod 'libgav1'
```
### SwiftPM
libgav1 is available through [Swift Package Manager](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg).
```swift
let package = Package(
dependencies: [
.package(url: "https://github.com/SDWebImage/libgav1-Xcode", from: "0.16.3")
],
// ...
)
```
## Usage
Use libgav1 as you would normally, this is just a repo that adds an Xcode proj.
For Swift Package Manager user, it's recommended to use the modular import instead of C headers.
Note you should use `svt_av1` instead of `libgav1` when using modular import.
+ Objective-C
```objective-c
@import libgav1;
// or if you don't use module
#import
```
+ Swift
```swift
import libgav1
```
## License
libgav1 is available under the [Apache License](https://chromium.googlesource.com/codecs/libgav1/+/refs/heads/main/LICENSE).