Skip to content

Commit

Permalink
0.42.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DonPiotr committed Aug 12, 2024
1 parent d89bc53 commit a96681d
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ cat common/shlibs >> ../void-packages/common/shlibs
5) Copy srcpkgs to your void-packages srcpkgs directory

```
cp -r srcpkgs/* ../void-packages/srcpkgs
cp -r --remove-destination srcpkgs/* ../void-packages/srcpkgs
```

6) Build and install packages
Expand Down
6 changes: 4 additions & 2 deletions common/shlibs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
libsdbus-c++.so.1 sdbus-cpp-1.5.0_1
libhyprcursor.so.0 hyprcursor-0.1.5_1
libhyprlang.so.2 hyprlang-0.5.0_1
libhyprutils.so.0 hyprutils-0.1.2_1
libhyprcursor.so.0 hyprcursor-0.1.5_1
libtomlplusplus.so.3 tomlplusplus-3.4.0_1
libhyprutils.so.1 hyprutils-0.2.1_1
libaquamarine.so.2 aquamarine-0.3.0_1

15 changes: 15 additions & 0 deletions srcpkgs/aquamarine/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Template file for 'aquamarine'
pkgname=aquamarine
version=0.3.1
revision=1
build_style=cmake
hostmakedepends="cmake pkgconf"
makedepends="hyprutils MesaLib-devel hyprwayland-scanner libseat-devel libinput-devel wayland-devel wayland-protocols pixman-devel libdisplay-info-devel hwids"
short_desc="Aquamarine is a very light linux rendering backend library"
maintainer="Makrennel <[email protected]>"
license="LGPL-3.0-only"
homepage="https://hyprland.org/hyprlang/index.html"
changelog="https://github.com/hyprwm/aquamarine/releases"
distfiles="https://github.com/hyprwm/aquamarine/archive/refs/tags/v${version}.tar.gz"
checksum=fcd1fd001bfbb0555004d86a0a57e3eb89c01eae0e25c171dc22c45b4d0cf860

4 changes: 2 additions & 2 deletions srcpkgs/hypridle/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'hypridle'
pkgname=hypridle
version=0.1.1
version=0.1.2
revision=1
build_style=cmake
hostmakedepends="cmake pkgconf"
Expand All @@ -11,7 +11,7 @@ license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hypridle"
changelog="https://github.com/hyprwm/${pkgname}/releases"
distfiles="https://github.com/hyprwm/hypridle/archive/refs/tags/v${version}.tar.gz"
checksum=55dffb5b4cd25f034c6fdd98a9fa1d6763ff6e07b1d51b9e0b4cdd4fe65bc798
checksum=40ab0bc7183e880f46fcc2d24b182226a5dfd8ce7695af6c320527eccf8d7c79

post_install() {
vlicense LICENSE
Expand Down
22 changes: 12 additions & 10 deletions srcpkgs/hyprland/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'hyprland'
pkgname=hyprland
version=0.41.2
version=0.42.0
revision=1
build_style=cmake
configure_args=" --no-warn-unused-cli \
Expand All @@ -24,6 +24,7 @@ hstmkdeps="
"
hostmakedepends=$hstmkdeps
makedepends="
aquamarine
cairo-devel
hwids
hyprcursor
Expand All @@ -37,6 +38,7 @@ makedepends="
libliftoff-devel
libseat-devel
libxcb-devel
libXcursor-devel
libxkbcommon-devel
pango-devel
tomlplusplus
Expand All @@ -53,7 +55,7 @@ license="BSD-3-Clause"
homepage="https://hyprland.org/"
changelog="https://github.com/hyprwm/Hyprland/releases"
distfiles="https://github.com/hyprwm/Hyprland/releases/download/v${version}/source-v${version}.tar.gz"
checksum=c2de1ea4f02ae817d42268874f6be692d807dcff9817a0cd438f9a221b045369
checksum=278c137ad28f5e4ef9d65032b18cb230799c982d008654a90b5060dd32eaa54a

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" -DCMAKE_CXX_FLAGS=\"-lexecinfo\""
Expand All @@ -68,22 +70,22 @@ post_install() {
# headers
vmkdir usr/include/hyprland
vmkdir usr/include/hyprland/protocols
vmkdir usr/include/hyprland/wlr
#vmkdir usr/include/hyprland/wlr
vmkdir usr/share/pkgconfig

cmake --build ./build --config Release --target generate-protocol-headers

find src -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland

pushd subprojects/wlroots-hyprland/include/wlr
find . -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland/wlr
popd
#pushd subprojects/wlroots-hyprland/include/wlr
#find . -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland/wlr
#popd

pushd subprojects/wlroots-hyprland/build/include
find . -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland/wlr
popd
#pushd subprojects/wlroots-hyprland/build/include
#find . -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland/wlr
#popd

install -Dm0644 protocols/*-protocol.h ${DESTDIR}/usr/include/hyprland/protocols
#install -Dm0644 protocols/*.h ${DESTDIR}/usr/include/hyprland/protocols
vinstall build/hyprland.pc 644 usr/share/pkgconfig
}

Expand Down
1 change: 0 additions & 1 deletion srcpkgs/hyprlang/template
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ homepage="https://hyprland.org/hyprlang/index.html"
changelog="https://github.com/hyprwm/hyprlang/releases"
distfiles="https://github.com/hyprwm/hyprlang/archive/refs/tags/v${version}.tar.gz"
checksum=66a1f87634c8ecdeb67d7ccc499a3fc1c19b064a098b103be042751e7430b5cc

6 changes: 3 additions & 3 deletions srcpkgs/hyprlock/template
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Template file for 'hyprlock'
pkgname=hyprlock
version=0.3.0
version=0.4.1
revision=1
build_style=cmake
hostmakedepends="cmake pkgconf"
makedepends="cairo-devel hyprlang libdrm-devel libxkbcommon-devel MesaLib-devel pango-devel pam-devel wayland-devel wayland-protocols"
makedepends="cairo-devel hyprlang libdrm-devel libxkbcommon-devel MesaLib-devel pango-devel pam-devel wayland-devel wayland-protocols hyprutils libjpeg-turbo-devel libwebp-devel file-devel"
short_desc="Hyprland's GPU-accelerated screen locking utility"
maintainer="Makrennel <[email protected]>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprlock"
changelog="https://github.com/hyprwm/${pkgname}/releases"
distfiles="https://github.com/hyprwm/${pkgname}/archive/refs/tags/v${version}.tar.gz"
checksum=5e84ac3223ea340bb3d39c22db4edefbb8364da8c3b6b3d0da1dfa45d8cc945f
checksum=87531a43088cafcadf29115889f37f73ab4a8cb1e4347723dfe8d53fa0aaba60

do_patch() {
patch ${wrksrc}/CMakeLists.txt ${wrksrc}/nix/cmake.patch
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/hyprutils/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'hyprutils'
pkgname=hyprutils
version=0.1.5
version=0.2.1
revision=1
build_style=cmake
hostmakedepends="pkgconf"
Expand All @@ -10,7 +10,7 @@ maintainer="Makrennel <[email protected]>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprutils"
distfiles="https://github.com/hyprwm/hyprutils/archive/refs/tags/v${version}.tar.gz"
checksum=60cce1b4160a4e5383fa0ff665c6bf49b54cfb387dc8a52229abfc367000b0be
checksum=061449c828d0cdaf7b147d9e232282fd0dde997c6ec7c43d51fe96d878b66c12

post_install() {
vlicense LICENSE
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/hyprwayland-scanner/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'hyprwayland-scanner'
pkgname=hyprwayland-scanner
version=0.3.10
version=0.4.0
revision=1
build_style=cmake
hostmakedepends="pkgconf"
Expand All @@ -10,7 +10,7 @@ maintainer="Makrennel <[email protected]>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprwayland-scanner"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum=94e40cf712a00daf9fbab6b2210ef8640ee7dbf233e82b4d8dcd8b0e01d15252
checksum=4091122777ade12b8edc8de6f2df4917ced73b81cd40d946a995de73880ec71f

post_install() {
vlicense LICENSE
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/xdg-desktop-portal-hyprland/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'xdg-desktop-portal-hyprland'
pkgname=xdg-desktop-portal-hyprland
version=1.3.2
version=1.3.3
revision=1
build_style=cmake
hostmakedepends="
Expand Down Expand Up @@ -35,7 +35,7 @@ maintainer="Makrennel <[email protected]>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum=8f77a11c4d3df1b6d963f408ea1159d093e3b14ea0cb8c64094fca9821af2e26
checksum=5a8389868287853800d58e5296be9c7fcb0bd191297bc9806c352c735d92d7b3

post_install() {
vlicense LICENSE
Expand Down

0 comments on commit a96681d

Please sign in to comment.