Bump Adwaita version
This commit is contained in:
parent
571996fbec
commit
dd7af8c6e3
@ -13,22 +13,24 @@ let package = Package(
|
|||||||
.library(name: "CWebView", targets: ["CWebView"]),
|
.library(name: "CWebView", targets: ["CWebView"]),
|
||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.package(url: "https://github.com/AparokshaUI/Adwaita", branch: "main"),
|
.package(url: "https://git.aparoksha.dev/aparoksha/adwaita-swift", from: "0.1.0")
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||||
// Targets can depend on other targets in this package and products from dependencies.
|
// Targets can depend on other targets in this package and products from dependencies.
|
||||||
|
|
||||||
.target(name: "WebView",
|
.target(
|
||||||
|
name: "WebView",
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.product(name: "Adwaita", package: "Adwaita"),
|
.product(name: "Adwaita", package: "adwaita-swift"),
|
||||||
"CWebView"
|
"CWebView",
|
||||||
]),
|
]),
|
||||||
.systemLibrary(name: "CWebView",
|
.systemLibrary(
|
||||||
|
name: "CWebView",
|
||||||
pkgConfig: "webkitgtk-6.0"),
|
pkgConfig: "webkitgtk-6.0"),
|
||||||
.executableTarget(
|
.executableTarget(
|
||||||
name: "Test",
|
name: "Test",
|
||||||
dependencies: ["WebView", "Adwaita"],
|
dependencies: ["WebView"],
|
||||||
path: "Tests")
|
path: "Tests"),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import WebView
|
|||||||
|
|
||||||
@main
|
@main
|
||||||
struct Test: App {
|
struct Test: App {
|
||||||
var app = AdwaitaApp(id:"xyz.zaph.webview")
|
var app = AdwaitaApp(id: "xyz.zaph.webview")
|
||||||
|
|
||||||
@State private var url: String = "https://git.aparoksha.dev/aparoksha/adwaita-swift"
|
@State private var url: String = "https://git.aparoksha.dev/aparoksha/adwaita-swift"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user