Skip to content

Commit

Permalink
refactor(backends): Rename GTK -> WebKitGtk
Browse files Browse the repository at this point in the history
Makes a lot more sense for upstream.
  • Loading branch information
e3ndr committed Oct 16, 2024
1 parent 3ec1225 commit 2d2e300
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions backends/_all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
<dependencies>
<dependency>
<groupId>co.casterlabs.saucer4j</groupId>
<artifactId>gtk</artifactId>
<artifactId>qt</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>co.casterlabs.saucer4j</groupId>
<artifactId>qt</artifactId>
<artifactId>webkit</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>co.casterlabs.saucer4j</groupId>
<artifactId>webkit</artifactId>
<artifactId>webkitgtk</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion backends/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

<modules>
<module>_all</module>
<module>gtk</module>
<module>qt</module>
<module>qt_experimental</module>
<module>webkit</module>
<module>webkitgtk</module>
<module>webview2</module>
</modules>

Expand Down
2 changes: 1 addition & 1 deletion backends/gtk/pom.xml β†’ backends/webkitgtk/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>gtk</artifactId>
<artifactId>webkitgtk</artifactId>

<parent>
<groupId>co.casterlabs.saucer4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

@SuppressWarnings("deprecation")
@FindThisSaucerBackend(2) // Should be higher than Qt6
public class BackendGtk4 extends _SaucerBackend {
public class BackendWebKitGtk extends _SaucerBackend {

@Override
public boolean checkDependencies() throws IOException {
return checkForLibraries(
"libgtk-4-1",
"libgtk-4",
"libwebkitgtk-6.0",
"libadwaita-1"
);
Expand All @@ -36,7 +36,7 @@ public String[] supportedArchTargets() {

@Override
public String getType() {
return "Gtk4";
return "WebKitGtk";
}

@Override
Expand Down

0 comments on commit 2d2e300

Please sign in to comment.