* [PR PATCH] Brave, hyprland, fetch
@ 2024-05-22 16:47 elbachir-one
2024-05-22 17:03 ` [PR PATCH] [Closed]: " lemmi
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: elbachir-one @ 2024-05-22 16:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]
There is a new pull request by elbachir-one against master on the void-packages repository
https://github.com/elbachir-one/void-packages master
https://github.com/void-linux/void-packages/pull/50470
Brave, hyprland, fetch
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/50470.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-50470.patch --]
[-- Type: text/x-diff, Size: 21007 bytes --]
From 6521a06f01e7859c577285c6dfb6c50ac39b40b0 Mon Sep 17 00:00:00 2001
From: elbachir-one <bachiralfa@gmail.com>
Date: Sat, 18 May 2024 14:49:11 +0100
Subject: [PATCH] Updating Brave 1.66.110 and also Hyprland plus fetch
---
common/shlibs | 4 +
srcpkgs/brave/template | 39 ++++++
srcpkgs/fetch/template | 21 +++
srcpkgs/hyprcursor/template | 17 +++
srcpkgs/hypridle/template | 18 +++
srcpkgs/hyprland-devel/template | 130 ++++++++++++++++++
srcpkgs/hyprland-protocols/template | 17 +++
...up-patch-script-for-tarball-releases.patch | 26 ++++
srcpkgs/hyprland/template | 113 +++++++++++++++
srcpkgs/hyprlang/template | 13 ++
srcpkgs/hyprlock/template | 18 +++
srcpkgs/hyprpaper/template | 39 ++++++
srcpkgs/hyprwayland-scanner/template | 17 +++
srcpkgs/sdbus-cpp/template | 15 ++
srcpkgs/tomlplusplus/template | 16 +++
srcpkgs/xdg-desktop-portal-hyprland/template | 42 ++++++
16 files changed, 545 insertions(+)
create mode 100644 srcpkgs/brave/template
create mode 100644 srcpkgs/fetch/template
create mode 100644 srcpkgs/hyprcursor/template
create mode 100644 srcpkgs/hypridle/template
create mode 100644 srcpkgs/hyprland-devel/template
create mode 100644 srcpkgs/hyprland-protocols/template
create mode 100644 srcpkgs/hyprland/patches/fixup-patch-script-for-tarball-releases.patch
create mode 100644 srcpkgs/hyprland/template
create mode 100644 srcpkgs/hyprlang/template
create mode 100644 srcpkgs/hyprlock/template
create mode 100644 srcpkgs/hyprpaper/template
create mode 100644 srcpkgs/hyprwayland-scanner/template
create mode 100644 srcpkgs/sdbus-cpp/template
create mode 100644 srcpkgs/tomlplusplus/template
create mode 100644 srcpkgs/xdg-desktop-portal-hyprland/template
diff --git a/common/shlibs b/common/shlibs
index 5883e1c70b15f6..da9883d37bc0c6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4435,3 +4435,7 @@ libcamera.so.0.2 libcamera-0.2.0_1
libcamera-base.so.0.2 libcamera-0.2.0_1
libKPim6MimeTreeParserCore.so.6 mimetreeparser-24.02.0_1
libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
+libsdbus-c++.so.1 sdbus-cpp-1.5.0_1
+libhyprlang.so.2 hyprlang-0.5.0_1
+libhyprcursor.so.0 hyprcursor-0.1.5_1
+libtomlplusplus.so.3 tomlplusplus-3.4.0_1
diff --git a/srcpkgs/brave/template b/srcpkgs/brave/template
new file mode 100644
index 00000000000000..e769bda80f6bb1
--- /dev/null
+++ b/srcpkgs/brave/template
@@ -0,0 +1,39 @@
+# Template file for 'brave-bin'
+pkgname=brave
+version=1.66.110
+revision=2
+only_for_archs="x86_64"
+short_desc="Secure, fast and private web browser with ad blocker"
+maintainer="Alpha b 911 <bachiralfa@gmail.com>"
+hostmakedepends="tar xz"
+license="Mozilla Public License Version 2.0"
+homepage="https://brave.com"
+distfiles="https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"
+checksum=d8ab5323d40e0df411db96335c931726ca6ecc24b5d45a43c762f507c0d69a67
+nostrip=yes
+
+do_extract() {
+ mkdir -p ${DESTDIR}
+ ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/brave-browser_${version}_amd64.deb
+}
+
+do_install() {
+ tar xf data.tar.xz -C ${DESTDIR}
+
+ # Install the icons
+ for size in 24 32 48 64 128 256; do
+ # Create the brave browser xdg directory
+ mkdir -p ${DESTDIR}/usr/share/icons/hicolor/${size}x${size}/apps
+
+ # Copy the brave browser icon
+ mv ${DESTDIR}/opt/brave.com/brave/product_logo_${size}.png \
+ ${DESTDIR}/usr/share/icons/hicolor/${size}x${size}/apps/brave-browser.png
+ done
+
+ # Remove unused icons
+ rm ${DESTDIR}/opt/brave.com/brave/*.xpm
+
+ # Remove the Debian/Ubuntu crontab
+ rm -rf ${DESTDIR}/etc
+ rm -rf ${DESTDIR}/opt/brave.com/brave/cron
+}
diff --git a/srcpkgs/fetch/template b/srcpkgs/fetch/template
new file mode 100644
index 00000000000000..88df3facd30968
--- /dev/null
+++ b/srcpkgs/fetch/template
@@ -0,0 +1,21 @@
+# Template file for 'fetch'
+pkgname=fetch
+version=0.1.0
+revision=1
+build_style=go
+go_import_path="github.com/elbachir-one/${pkgname}"
+short_desc="Simple fetch"
+maintainer="elbachir-one <bachiralfa@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/elbachir-one/fetch"
+distfiles="https://github.com/elbachir-one/fetch/archive/refs/tags/fetch-${version}.tar.gz"
+checksum=8ecd3eab13d824651f909ed0d1b79bc2feb93b8eb129db9601c8d580f1f34066
+
+do_build() {
+ go mod init github.com/elbachir-one/fetch
+ go build -o fetch .
+}
+
+do_install() {
+ install -Dm755 fetch "$DESTDIR"/usr/bin/fetch
+}
diff --git a/srcpkgs/hyprcursor/template b/srcpkgs/hyprcursor/template
new file mode 100644
index 00000000000000..10fd7194863ea6
--- /dev/null
+++ b/srcpkgs/hyprcursor/template
@@ -0,0 +1,17 @@
+# Template file for 'hyprcursor'
+pkgname=hyprcursor
+version=0.1.7
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config cairo-devel"
+makedepends="hyprlang librsvg-devel libzip-devel tomlplusplus"
+short_desc="Hyprland cursor format, library and utilities"
+maintainer="zenobit <zenobit@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/hyprwm/hyprcursor"
+distfiles="https://github.com/hyprwm/hyprcursor/archive/refs/tags/v${version}.tar.gz"
+checksum=c830733c3e5243e0c5f06b8d137828a45083cc7483e7e874c4bd42e38a82ed9d
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/hypridle/template b/srcpkgs/hypridle/template
new file mode 100644
index 00000000000000..1acb4f297c83b3
--- /dev/null
+++ b/srcpkgs/hypridle/template
@@ -0,0 +1,18 @@
+# Template file for 'hypridle'
+pkgname=hypridle
+version=0.1.1
+revision=1
+build_style=cmake
+hostmakedepends="cmake pkg-config"
+makedepends="hyprlang sdbus-cpp wayland-devel wayland-protocols"
+short_desc="Hyprland's idle daemon"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+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
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/hyprland-devel/template b/srcpkgs/hyprland-devel/template
new file mode 100644
index 00000000000000..8fd96edd3d8e21
--- /dev/null
+++ b/srcpkgs/hyprland-devel/template
@@ -0,0 +1,130 @@
+# Template file for 'hyprland'
+pkgname=hyprland
+version=0.36.0
+revision=1
+hostmakedepends="
+ cmake
+ cpio
+ glslang
+ hwids
+ jq
+ meson
+ ninja
+ pkg-config
+ wayland-devel
+"
+makedepends="
+ cairo-devel
+ hyprlang
+ libdisplay-info-devel
+ libdrm-devel
+ libgbm-devel
+ libglvnd-devel
+ libinput-devel
+ libliftoff-devel
+ libseat-devel
+ libxcb-devel
+ libxkbcommon-devel
+ pango-devel
+ tomlplusplus
+ wayland-devel
+ wayland-protocols
+ xcb-util-errors-devel
+ xcb-util-renderutil-devel
+ xcb-util-wm-devel
+ xorg-server-xwayland
+"
+short_desc="Dynamic tiling Wayland compositor that doesn't sacrifice on its looks"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+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=8e44c379794663accf928458b5e363ed248d56fc5f267e6b3759146fdf1229bb
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ makedepends+=" libexecinfo-devel"
+ depends+=" libexecinfo"
+fi
+
+do_build() {
+ # build hyprland
+ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ cmake --no-warn-unused-cli \
+ -DCMAKE_CXX_FLAGS="-lexecinfo" \
+ -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DNO_SYSTEMD:STRING=true \
+ -S . -B ./build -G Ninja
+ else
+ cmake --no-warn-unused-cli \
+ -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DNO_SYSTEMD:STRING=true \
+ -S . -B ./build -G Ninja
+ fi
+
+ cmake --build ./build --config Release --target all -j${XBPS_MAKEJOBS}
+ chmod -R 777 ./build
+}
+
+do_install() {
+ # license
+ vlicense LICENSE
+
+ # binaries
+ vbin build/Hyprland
+ vbin build/hyprctl/hyprctl
+ vbin build/hyprpm/hyprpm
+
+ # assets
+ vmkdir usr/share/wayland-sessions
+ vmkdir usr/share/hyprland
+ vmkdir usr/share/xdg-desktop-portal
+
+ install -Dm0644 assets/*.png ${DESTDIR}/usr/share/hyprland
+ vinstall assets/header.svg 644 usr/share/hyprland
+ vinstall assets/hyprland-portals.conf 644 usr/share/xdg-desktop-portal
+ vinstall example/hyprland.desktop 644 usr/share/wayland-sessions
+ vinstall example/hyprland.conf 644 usr/share/hyprland
+
+ vman docs/Hyprland.1
+ vman docs/hyprctl.1
+
+ # wlroots
+ vinstall subprojects/wlroots/build/libwlroots.so.13032 644 usr/lib
+
+ # headers
+ vmkdir usr/include/hyprland
+ vmkdir usr/include/hyprland/protocols
+ vmkdir usr/include/hyprland/wlroots
+ vmkdir usr/share/pkgconfig
+
+ find src -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland
+
+ pushd subprojects/wlroots/include
+ find . -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland/wlroots
+ popd
+
+ pushd subprojects/wlroots/build/include
+ find . -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland/wlroots
+ popd
+
+ vinstall build/hyprland.pc 644 usr/share/pkgconfig
+ install -Dm0644 protocols/*-protocol.h ${DESTDIR}/usr/include/hyprland/protocols
+
+}
+
+hyprland-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${hostmakedepends} ${makedepends}"
+ short_desc="Dynamic tiling Wayland compositor - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/share/pkgconfig
+ }
+}
+
+hyprland-nvidia_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc="Dynamic tiling Wayland compositor - transitional dummy package"
+ build_style=meta
+}
+
diff --git a/srcpkgs/hyprland-protocols/template b/srcpkgs/hyprland-protocols/template
new file mode 100644
index 00000000000000..b1ed9fcaf5fee4
--- /dev/null
+++ b/srcpkgs/hyprland-protocols/template
@@ -0,0 +1,17 @@
+# Template file for 'hyprland-protocols'
+pkgname=hyprland-protocols
+version=0.2
+revision=1
+build_style=meson
+hostmakedepends="wayland-devel"
+makedepends="wayland-devel"
+short_desc="Wayland protocol extensions for Hyprland"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+license="BSD-3-Clause"
+homepage="https://github.com/hyprwm/hyprland-protocols"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=106cb189d0fbe4ec0ee11a12a17238172f4c4cd1b2b26db904df144e5c7a05f0
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/hyprland/patches/fixup-patch-script-for-tarball-releases.patch b/srcpkgs/hyprland/patches/fixup-patch-script-for-tarball-releases.patch
new file mode 100644
index 00000000000000..7978f08db86e8d
--- /dev/null
+++ b/srcpkgs/hyprland/patches/fixup-patch-script-for-tarball-releases.patch
@@ -0,0 +1,26 @@
+diff --git a/subprojects/wlroots-hyprland/patches/apply.sh b/subprojects/wlroots-hyprland/patches/apply.sh
+index d5492b1..aa4be1b 100755
+--- a/subprojects/wlroots-hyprland/patches/apply.sh
++++ b/subprojects/wlroots-hyprland/patches/apply.sh
+@@ -4,11 +4,7 @@
+ PATCHES=$(find patches/ -type f -name '*.patch')
+
+ apply () {
+- git apply $PATCH
+-}
+-
+-check_applied () {
+- git apply --check --reverse -q $PATCH
++ patch -p1 < $PATCH
+ }
+
+ fail () {
+@@ -21,7 +17,7 @@ then
+ echo 'Patches found. Applying...';
+ for PATCH in $PATCHES;
+ do
+- apply || check_applied || fail;
++ apply || fail;
+ done
+ else
+ echo 'No patches found.'
diff --git a/srcpkgs/hyprland/template b/srcpkgs/hyprland/template
new file mode 100644
index 00000000000000..7f86c8e091ecec
--- /dev/null
+++ b/srcpkgs/hyprland/template
@@ -0,0 +1,113 @@
+# Template file for 'hyprland'
+pkgname=hyprland
+version=0.40.0
+revision=1
+build_style=cmake
+configure_args=" --no-warn-unused-cli \
+ -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DNO_SYSTEMD:STRING=true \
+ -G Ninja
+"
+hstmkdeps="
+ cmake
+ cpio
+ gcc
+ glslang
+ hyprwayland-scanner
+ jq
+ make
+ meson
+ ninja
+ pkgconf
+ wayland-devel
+"
+hostmakedepends=$hstmkdeps
+makedepends="
+ cairo-devel
+ hwids
+ hyprcursor
+ hyprlang
+ libdisplay-info-devel
+ libdrm-devel
+ libgbm-devel
+ libglvnd-devel
+ libinput-devel
+ libliftoff-devel
+ libseat-devel
+ libxcb-devel
+ libxkbcommon-devel
+ pango-devel
+ tomlplusplus
+ wayland-devel
+ wayland-protocols
+ xcb-util-errors-devel
+ xcb-util-renderutil-devel
+ xcb-util-wm-devel
+ xorg-server-xwayland
+"
+short_desc="Dynamic tiling Wayland compositor that doesn't sacrifice on its looks"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+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=0995fe7924a60e3d81428b3fa03ab15d8065958d6285443225afbafa31d29038
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ configure_args+=" -DCMAKE_CXX_FLAGS=\"-lexecinfo\""
+ makedepends+=" libexecinfo-devel"
+ depends+=" libexecinfo"
+fi
+
+do_install() {
+ # license
+ vlicense LICENSE
+
+ # binaries
+ vbin build/Hyprland
+ vbin build/hyprctl/hyprctl
+ vbin build/hyprpm/hyprpm
+
+ # assets
+ vmkdir usr/share/wayland-sessions
+ vmkdir usr/share/hyprland
+ vmkdir usr/share/xdg-desktop-portal
+
+ install -Dm0644 assets/*.png ${DESTDIR}/usr/share/hyprland
+ vinstall assets/header.svg 644 usr/share/hyprland
+ vinstall assets/hyprland-portals.conf 644 usr/share/xdg-desktop-portal
+ vinstall example/hyprland.desktop 644 usr/share/wayland-sessions
+ vinstall example/hyprland.conf 644 usr/share/hyprland
+
+ vman docs/Hyprland.1
+ vman docs/hyprctl.1
+
+ # headers
+ vmkdir usr/include/hyprland
+ vmkdir usr/include/hyprland/protocols
+ vmkdir usr/include/hyprland/wlroots-hyprland
+ vmkdir usr/share/pkgconfig
+
+ find src -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland
+
+ pushd subprojects/wlroots-hyprland/include
+ find . -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland/wlroots-hyprland
+ popd
+
+ pushd subprojects/wlroots-hyprland/build/include
+ find . -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland/wlroots-hyprland
+ popd
+
+ vinstall build/hyprland.pc 644 usr/share/pkgconfig
+ install -Dm0644 protocols/*-protocol.h ${DESTDIR}/usr/include/hyprland/protocols
+
+}
+
+hyprland-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${hstmkdeps} ${makedepends}"
+ short_desc="Dynamic tiling Wayland compositor - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/share/pkgconfig
+ }
+}
diff --git a/srcpkgs/hyprlang/template b/srcpkgs/hyprlang/template
new file mode 100644
index 00000000000000..2c8486df435f98
--- /dev/null
+++ b/srcpkgs/hyprlang/template
@@ -0,0 +1,13 @@
+# Template file for 'hyprlang'
+pkgname=hyprlang
+version=0.5.0
+revision=1
+build_style=cmake
+hostmakedepends="cmake pkg-config"
+short_desc="Official implementation library for the hypr config language"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+license="LGPL-3.0-only"
+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=c59e705f2c2ff9ea4e2b183fdf0bc20a62b7162604a657d6352716a1fd5061b2
diff --git a/srcpkgs/hyprlock/template b/srcpkgs/hyprlock/template
new file mode 100644
index 00000000000000..cb787e500549f5
--- /dev/null
+++ b/srcpkgs/hyprlock/template
@@ -0,0 +1,18 @@
+# Template file for 'hyprlock'
+pkgname=hyprlock
+version=0.2.0
+revision=1
+build_style=cmake
+hostmakedepends="cmake pkg-config"
+makedepends="cairo-devel hyprlang libdrm-devel libxkbcommon-devel MesaLib-devel pango-devel pam-devel wayland-devel wayland-protocols"
+short_desc="Hyprland's GPU-accelerated screen locking utility"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+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=3d56220ac03016163e196bc2c08e5b16e83583fa9446ad52e32ddbb56c293994
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/hyprpaper/template b/srcpkgs/hyprpaper/template
new file mode 100644
index 00000000000000..912e40858e3502
--- /dev/null
+++ b/srcpkgs/hyprpaper/template
@@ -0,0 +1,39 @@
+# Template file for 'hyprpaper'
+pkgname=hyprpaper
+version=0.6.0
+revision=1
+hostmakedepends="pkg-config cmake wayland-devel"
+makedepends="
+ pango-devel
+ cairo-devel
+ libjpeg-turbo-devel
+ wayland-devel
+ wayland-protocols
+ wlroots-devel
+ hyprland-protocols
+ hyprlang
+ libwebp-devel
+ file-devel
+"
+short_desc="Fast wallpaper utility for wlroots compositors with IPC controls"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+license="BSD-3-Clause"
+homepage="https://github.com/hyprwm/hyprpaper"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=71d8294ffbcbaae628c4eabdcb3b7fb1974d6bed7794b787bb77934d0a3f4538
+
+do_build() {
+ cmake \
+ --no-warn-unused-cli \
+ -G "Unix Makefiles" \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -B build
+ make protocols
+ make -C build all
+}
+
+do_install() {
+ vbin build/hyprpaper
+ vlicense LICENSE
+}
diff --git a/srcpkgs/hyprwayland-scanner/template b/srcpkgs/hyprwayland-scanner/template
new file mode 100644
index 00000000000000..08142cbb6abed1
--- /dev/null
+++ b/srcpkgs/hyprwayland-scanner/template
@@ -0,0 +1,17 @@
+# Template file for 'hyprwayland-scanner'
+pkgname=hyprwayland-scanner
+version=0.3.4
+revision=1
+build_style=cmake
+hostmakedepends="pkgconf"
+makedepends="pugixml-devel"
+short_desc="Hyprland's implementation of wayland-scanner in/for C++"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+license="BSD-3-Clause"
+homepage="https://github.com/hyprwm/hyprwayland-scanner"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=5657a57634cae68c7a82ed31de28e653058852eee4baea9beb2f69629ba4c7f1
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/sdbus-cpp/template b/srcpkgs/sdbus-cpp/template
new file mode 100644
index 00000000000000..b6b8cbf23469d4
--- /dev/null
+++ b/srcpkgs/sdbus-cpp/template
@@ -0,0 +1,15 @@
+# Template file for 'sdbus-cpp'
+pkgname=sdbus-cpp
+version=1.5.0
+revision=1
+build_style=cmake
+hostmakedepends="cmake meson ninja pkg-config git m4 rsync gperf"
+makedepends="libmount-devel libcap-devel libelogind elogind-devel elogind"
+depends="libmount libcap libelogind elogind-devel elogind"
+short_desc="High-level C++ D-Bus library to provide API in modern C++"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+license="LGPL-2.1-only"
+homepage="https://github.com/Kistler-Group/sdbus-cpp"
+changelog="https://github.com/Kistler-Group/${pkgname}/releases"
+distfiles="https://github.com/Kistler-Group/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=577986929f911320fb9ef6a3e2badd464dc38411ebc25d2966f5cb85c39f0897
diff --git a/srcpkgs/tomlplusplus/template b/srcpkgs/tomlplusplus/template
new file mode 100644
index 00000000000000..796a2339582f9a
--- /dev/null
+++ b/srcpkgs/tomlplusplus/template
@@ -0,0 +1,16 @@
+# Template file for 'tomlplusplus'
+pkgname=tomlplusplus
+version=3.4.0
+revision=1
+build_style="meson"
+hostmakedepends="pkg-config cmake"
+short_desc="Header-only TOML config file parser and serializer for C++17"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+license="MIT"
+homepage="https://marzer.github.io/tomlplusplus/"
+distfiles="https://github.com/marzer/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=8517f65938a4faae9ccf8ebb36631a38c1cadfb5efa85d9a72e15b9e97d25155
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/xdg-desktop-portal-hyprland/template b/srcpkgs/xdg-desktop-portal-hyprland/template
new file mode 100644
index 00000000000000..706b030393b0d7
--- /dev/null
+++ b/srcpkgs/xdg-desktop-portal-hyprland/template
@@ -0,0 +1,42 @@
+# Template file for 'xdg-desktop-portal-hyprland'
+pkgname=xdg-desktop-portal-hyprland
+version=1.3.1
+revision=1
+build_style=cmake
+hostmakedepends="
+ pkg-config
+ wayland-devel
+ scdoc
+ cmake
+ git
+"
+makedepends="
+ wayland-devel
+ wayland-protocols
+ hyprland-protocols
+ pipewire-devel
+ libgbm-devel
+ libdrm-devel
+ elogind-devel
+ qt6-base-devel
+ hyprlang
+ sdbus-cpp
+"
+depends="
+ xdg-desktop-portal
+ pipewire
+ qt6-base
+ qt6-wayland
+ hyprlang
+ sdbus-cpp
+"
+short_desc="Backend of xdg-desktop-portal for Hyprland"
+maintainer="Makrennel <makrommel@protonmail.ch>"
+license="MIT"
+homepage="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum="60b390f326b84cc52657b735e3d7ba8f03aa3363672100dba47580984491611f"
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Closed]: Brave, hyprland, fetch
2024-05-22 16:47 [PR PATCH] Brave, hyprland, fetch elbachir-one
@ 2024-05-22 17:03 ` lemmi
2024-05-22 17:03 ` lemmi
2024-05-22 17:03 ` lemmi
2 siblings, 0 replies; 4+ messages in thread
From: lemmi @ 2024-05-22 17:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
There's a closed pull request on the void-packages repository
Brave, hyprland, fetch
https://github.com/void-linux/void-packages/pull/50470
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Brave, hyprland, fetch
2024-05-22 16:47 [PR PATCH] Brave, hyprland, fetch elbachir-one
2024-05-22 17:03 ` [PR PATCH] [Closed]: " lemmi
@ 2024-05-22 17:03 ` lemmi
2024-05-22 17:03 ` lemmi
2 siblings, 0 replies; 4+ messages in thread
From: lemmi @ 2024-05-22 17:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]
New comment by lemmi on void-packages repository
https://github.com/void-linux/void-packages/pull/50470#issuecomment-2125334719
Comment:
Hey, couple of notes:
- https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md
> **Browser forks**, including those based on Chromium and Firefox, are **generally not accepted**. Such forks require heavy patching, maintenance and hours of build time.
and:
> Once you have made and verified your changes to the package template and/or other files, make **one commit per package** (including all changes to its sub-packages). Each commit message should have one of the following formats:
- hyperland:
#37544
- Adding new packages and setting someone else as maintainer is rather odd.
- Your `fetch` command also doesn't have the highest chances to get in. There are a couple of `fetch` commands available. But you can try in a separate PR.
As it is, this PR cannot be merged. Feel free to open separate PRs for packages you want to add and have another look at [CONTRIBUTING.md](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md) before that.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Brave, hyprland, fetch
2024-05-22 16:47 [PR PATCH] Brave, hyprland, fetch elbachir-one
2024-05-22 17:03 ` [PR PATCH] [Closed]: " lemmi
2024-05-22 17:03 ` lemmi
@ 2024-05-22 17:03 ` lemmi
2 siblings, 0 replies; 4+ messages in thread
From: lemmi @ 2024-05-22 17:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]
New comment by lemmi on void-packages repository
https://github.com/void-linux/void-packages/pull/50470#issuecomment-2125334719
Comment:
Hey, couple of notes:
- https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md
> **Browser forks**, including those based on Chromium and Firefox, are **generally not accepted**. Such forks require heavy patching, maintenance and hours of build time.
and:
> Once you have made and verified your changes to the package template and/or other files, make **one commit per package** (including all changes to its sub-packages). Each commit message should have one of the following formats:
- hyprland:
#37544
- Adding new packages and setting someone else as maintainer is rather odd.
- Your `fetch` command also doesn't have the highest chances to get in. There are a couple of `fetch` commands available. But you can try in a separate PR.
As it is, this PR cannot be merged. Feel free to open separate PRs for packages you want to add and have another look at [CONTRIBUTING.md](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md) before that.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-05-22 17:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-22 16:47 [PR PATCH] Brave, hyprland, fetch elbachir-one
2024-05-22 17:03 ` [PR PATCH] [Closed]: " lemmi
2024-05-22 17:03 ` lemmi
2024-05-22 17:03 ` lemmi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).