From db004ff33aea79262ef75416110e3791576b6a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?furby=E2=84=A2?= Date: Mon, 28 Oct 2024 19:52:10 -0600 Subject: [PATCH] Change swiftpm package name to libwebp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: furby™ --- Package.swift | 2 +- README.md | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Package.swift b/Package.swift index d524fae..05050cc 100644 --- a/Package.swift +++ b/Package.swift @@ -6,7 +6,7 @@ import PackageDescription let package = Package( - name: "webp", + name: "libwebp", products: [ .library( name: "libwebp", diff --git a/README.md b/README.md index 1d07e3a..2cc8df7 100644 --- a/README.md +++ b/README.md @@ -20,14 +20,14 @@

- - + + - - + + - - + +

@@ -37,15 +37,15 @@ -##### To use webp in swift, add webp as a package dependency in your project's Package.swift file. +##### To use webp in swift, add libwebp as a package dependency in your project's Package.swift file. ```swift dependencies: [ - .package(url: "https://github.com/the-swift-collective/webp.git", from: "1.4.0"), + .package(url: "https://github.com/the-swift-collective/libwebp.git", from: "1.4.0"), ] ``` -##### Then, for any target you'd like, add the webp product as a target dependency, a complete example. +##### Then, for any target you'd like, add the libwebp product as a target dependency, a complete example. ```swift // swift-tools-version: 5.8 import PackageDescription @@ -59,14 +59,14 @@ let package = Package( ), ], dependencies: [ - .package(url: "https://github.com/the-swift-collective/webp.git", from: "1.4.0") + .package(url: "https://github.com/the-swift-collective/libwebp.git", from: "1.4.0") ], targets: [ .target( name: "MyLibrary", dependencies: [ /* add the webp product as a library dependency. */ - .product(name: "WebP", package: "webp"), + .product(name: "WebP", package: "libwebp"), ] ), ] @@ -78,4 +78,4 @@ let package = Package(
###### ***the swift collective** - cross platform **swift packages**.* -###### webp is licensed under the terms of the [BSD 3-Clause "New" or "Revised" License](https://www.webmproject.org/license/software/). +###### libwebp is licensed under the terms of the [BSD 3-Clause "New" or "Revised" License](https://www.webmproject.org/license/software/).