diff --git a/pkg.info b/pkg.info index ed1d93c..0f0ec67 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,8 @@ name: river -description: A dynamic tiling Wayland compositor -version: 0.4.1 +description: A non-monolithic Wayland compositor +version: 0.4.2 revision: 1 -url: https://codeberg.org/river/river +url: https://isaacfreund.com/software/river/ license: GPL3-only maintainers: - enumdev@enumerated.dev @@ -13,19 +13,35 @@ depends: - libevdev - libinput - libxkbcommon - - mesa - pixman - wayland - wlroots - xorg-xwayland -optional_depends: - - polkit make_depends: - scdoc - wayland-protocols - zig +conflicts: + - river-classic downloads: - - url: https://codeberg.org/river/river/releases/download/v${BPM_PKG_VERSION}/river-${BPM_PKG_VERSION}.tar.gz - extract_to: ${BPM_SOURCE} + - url: https://codeberg.org/river/river.git + type: git + clone_to: ${BPM_SOURCE} + git_branch: v${BPM_PKG_VERSION} + checksum: addd4a0c5386fe3efc6d37cdde458d0f3153bebe + - url: https://codeberg.org/ifreund/zig-pixman/archive/v0.3.0.tar.gz + extract_to: zig-pixman extract_strip_components: 1 - checksum: 066a4cd282ce47079abc7081da10a8c8df6e73d5c491268bf5dbb75769809ff0 + checksum: cd7fe3415d4d58685a94fdedd308e9994a37f012828940cfb603461de7f2c6ad + - url: https://codeberg.org/ifreund/zig-wayland/archive/v0.5.0.tar.gz + extract_to: zig-wayland + extract_strip_components: 1 + checksum: fa9705e83613b5555d7117ce5c602f10591d6598e69a73fba2e6039200db4f4b + - url: https://codeberg.org/ifreund/zig-wlroots/archive/v0.20.0.tar.gz + extract_to: zig-wlroots + extract_strip_components: 1 + checksum: 75af3510386c639582693d01788579abde4dca9ce1ae6703c1e877ec8123d106 + - url: https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.4.0.tar.gz + extract_to: zig-xkbcommon + extract_strip_components: 1 + checksum: e6df77d511cf9402f6ac08455c8d1fb727b6c3d66191e246671f62e5db083c49 diff --git a/source.sh b/source.sh index 86be4bd..541c16c 100644 --- a/source.sh +++ b/source.sh @@ -2,6 +2,15 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT +# The prepare function is executed in the root of the temp directory +# This function is used for putting downloaded files to the correct location or applying patches +prepare() { + zig fetch --global-cache-dir ./zig-global-cache "$BPM_WORKDIR"/zig-pixman + zig fetch --global-cache-dir ./zig-global-cache "$BPM_WORKDIR"/zig-wayland + zig fetch --global-cache-dir ./zig-global-cache "$BPM_WORKDIR"/zig-wlroots + zig fetch --global-cache-dir ./zig-global-cache "$BPM_WORKDIR"/zig-xkbcommon +} + # The build function is executed in the source directory # This function is used to compile the source code build() {