Committed by
GitHub
[wakelock] add macOS Podspec (#111)
* Create wakelock.podspec * Update CHANGELOG.md * Update pubspec.yaml
Showing
3 changed files
with
26 additions
and
1 deletions
wakelock/macos/wakelock.podspec
0 → 100644
| 1 | +# | ||
| 2 | +# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html | ||
| 3 | +# | ||
| 4 | +Pod::Spec.new do |s| | ||
| 5 | + s.name = 'wakelock' | ||
| 6 | + s.version = '0.0.1' | ||
| 7 | + s.summary = 'No-op implementation of the macos wakelock plugin to avoid build issues on macos' | ||
| 8 | + s.description = <<-DESC | ||
| 9 | + No-op implementation of the wakelock plugin to avoid build issues on macos. | ||
| 10 | + https://github.com/flutter/flutter/issues/46618 | ||
| 11 | + DESC | ||
| 12 | + s.homepage = 'https://github.com/creativecreatorormaybenot/wakelock' | ||
| 13 | + s.license = { :file => '../LICENSE' } | ||
| 14 | + s.author = { 'creativecreatorormaybenot' => 'creativecreatorormaybenot@gmail.com' } | ||
| 15 | + s.source = { :path => '.' } | ||
| 16 | + s.source_files = 'Classes/**/*' | ||
| 17 | + s.public_header_files = 'Classes/**/*.h' | ||
| 18 | + | ||
| 19 | + s.platform = :osx | ||
| 20 | + s.osx.deployment_target = '10.11' | ||
| 21 | +end |
| @@ -2,7 +2,7 @@ name: wakelock | @@ -2,7 +2,7 @@ name: wakelock | ||
| 2 | description: >-2 | 2 | description: >-2 |
| 3 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on | 3 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on |
| 4 | Android, iOS, macOS, Windows, and web. | 4 | Android, iOS, macOS, Windows, and web. |
| 5 | -version: 0.5.1 | 5 | +version: 0.5.1+1 |
| 6 | homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock | 6 | homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock |
| 7 | 7 | ||
| 8 | environment: | 8 | environment: |
-
Please register or login to post a comment