aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2023-10-29 15:14:15 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-02-28 19:00:40 +0000
commit6f0e59863a121f74de313302fa3eef6d21a7af8f (patch)
tree411ddebd9208d723b7e534b9f1f397efc64a8567
parent58434af53ad062f4c66d5e6e77722c8eee29e593 (diff)
downloadvoid-packages-6f0e59863a121f74de313302fa3eef6d21a7af8f.tar
void-packages-6f0e59863a121f74de313302fa3eef6d21a7af8f.tar.gz
void-packages-6f0e59863a121f74de313302fa3eef6d21a7af8f.tar.bz2
void-packages-6f0e59863a121f74de313302fa3eef6d21a7af8f.tar.lz
void-packages-6f0e59863a121f74de313302fa3eef6d21a7af8f.tar.xz
void-packages-6f0e59863a121f74de313302fa3eef6d21a7af8f.tar.zst
void-packages-6f0e59863a121f74de313302fa3eef6d21a7af8f.zip
Drafts
These are uncompleted and not ready for upstream packages. I might finish them, might not. But regardless, they should be backed up
-rw-r--r--srcpkgs/adbfs-rootless/template22
-rw-r--r--srcpkgs/dotnet/patches/sdk_telemetry-output.patch33
-rw-r--r--srcpkgs/dotnet/template75
-rw-r--r--srcpkgs/fastfetch/template15
-rw-r--r--srcpkgs/gnirehtet-apk/template27
-rw-r--r--srcpkgs/gnirehtet/template24
-rw-r--r--srcpkgs/gotosocial/template39
-rw-r--r--srcpkgs/gsp/template18
-rw-r--r--srcpkgs/harec/template22
-rw-r--r--srcpkgs/ladybird/template23
-rw-r--r--srcpkgs/mkpass/template16
-rw-r--r--srcpkgs/paste/files/paste/run6
-rw-r--r--srcpkgs/paste/template21
-rw-r--r--srcpkgs/retro8/template12
-rw-r--r--srcpkgs/totp/template13
-rw-r--r--srcpkgs/tut/template17
-rw-r--r--srcpkgs/ytfzf/template19
17 files changed, 402 insertions, 0 deletions
diff --git a/srcpkgs/adbfs-rootless/template b/srcpkgs/adbfs-rootless/template
new file mode 100644
index 00000000000..c74071eb26d
--- /dev/null
+++ b/srcpkgs/adbfs-rootless/template
@@ -0,0 +1,22 @@
+# Template file for 'adbfs-rootless'
+pkgname=adbfs-rootless
+version=0.0.0
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=gnu-makefile
+#configure_args=""
+make_build_args="CPPFLAGS=-D_FILE_OFFSET_BITS=64"
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends=""
+makedepends="fuse-devel fuse3-devel"
+depends="android-tools"
+short_desc="Mount Android phones on Linux with adb. No root required."
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="BSD"
+homepage="https://github.com/spion/adbfs-rootless"
+#changelog=""
+distfiles="https://github.com/spion/adbfs-rootless/archive/refs/heads/master.tar.gz"
+checksum=b97ebb17eb2064840990e84c6e67517e2064f0775446aab9779b0493fc50d8b4
diff --git a/srcpkgs/dotnet/patches/sdk_telemetry-output.patch b/srcpkgs/dotnet/patches/sdk_telemetry-output.patch
new file mode 100644
index 00000000000..864afa4d4ef
--- /dev/null
+++ b/srcpkgs/dotnet/patches/sdk_telemetry-output.patch
@@ -0,0 +1,33 @@
+From 20472f229151ca848196a1d3276d9685cad662a0 Mon Sep 17 00:00:00 2001
+From: Luca Matei Pintilie <luca@lucamatei.com>
+Date: Thu, 6 Jul 2023 21:02:59 +0200
+Subject: [PATCH] SDK telemetry optout
+
+Disables telemetry by default.
+
+Patch copied from Alpine Linux
+and authored by Antoine Martin <dev@ayakael.net>
+---
+ src/sdk/src/Cli/dotnet/Program.cs | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/src/sdk/src/Cli/dotnet/Program.cs b/src/sdk/src/Cli/dotnet/Program.cs
+index 32a9f4ccc6..ac3f5fd293 100644
+--- a/src/sdk/src/Cli/dotnet/Program.cs
++++ b/src/sdk/src/Cli/dotnet/Program.cs
+@@ -27,6 +27,12 @@ public class Program
+
+ public static int Main(string[] args)
+ {
++ // opt out of telemetry by default if the env var is unset
++ string telemetryValue = Environment.GetEnvironmentVariable("DOTNET_CLI_TELEMETRY_OPTOUT");
++ if (String.IsNullOrEmpty(telemetryValue))
++ {
++ Environment.SetEnvironmentVariable("DOTNET_CLI_TELEMETRY_OPTOUT", "1");
++ }
+ using AutomaticEncodingRestorer _ = new();
+
+ // Setting output encoding is not available on those platforms
+--
+2.41.0
+
diff --git a/srcpkgs/dotnet/template b/srcpkgs/dotnet/template
new file mode 100644
index 00000000000..27e01f3add9
--- /dev/null
+++ b/srcpkgs/dotnet/template
@@ -0,0 +1,75 @@
+# vi: ft=sh
+# Template file for 'dotnet'
+pkgname=dotnet
+version=8.0.1
+revision=1
+archs="x86_64"
+#build_wrksrc=
+#build_style=
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="curl python3 clang cmake tar"
+makedepends="llvm15 mit-krb5-devel lttng-ust-devel icu-devel"
+#depends=""
+short_desc=".NET is the free framework for building apps and powerful services"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="MIT"
+homepage="https://dotnet.microsoft.com/en-us/"
+#changelog=""
+distfiles="https://github.com/dotnet/dotnet/archive/refs/tags/v${version}.tar.gz"
+checksum=df2d95fc3f00fea808bb238edf0d29d27b786307d63bdbf3787466b7f08d7963
+
+# Private stuff used throughout below
+
+_sourcerepository="https://github.com/dotnet/dotnet"
+_sourceversion="4c51fbf526e6008802c3d0af51531e1592d9ebd0"
+_libbase="/usr/lib/dotnet"
+_unpackedfolder="build"
+_binpath="$DESTDIR/usr/bin/dotnet"
+
+pre_build() {
+ mkdir -p "$_unpackedfolder"
+ bash ./prep.sh
+}
+
+do_build() {
+ PATH="/usr/libexec/chroot-git:${PATH}"
+ DOTNET_CLI_TELEMETRY_OPTOUT=1
+ bash ./build.sh \
+ --clean-while-building \
+ --online \
+ --source-repository "$_sourcerepository" \
+ --source-version "$_sourceversion"
+}
+
+post_build() {
+ echo _binpath is $_binpath
+ echo _unpackedfolder is $_unpackedfolder
+ echo _libbase is $_libbase
+ echo DESTDIR is $DESTDIR
+ tar zxf artifacts/**/Release/dotnet-*.tar.gz -C "$_unpackedfolder"
+}
+
+do_install() {
+ echo _binpath is $_binpath
+ echo _unpackedfolder is $_unpackedfolder
+ echo _libbase is $_libbase
+ echo DESTDIR is $DESTDIR
+ vcopy "$_unpackedfolder" "$_libbase"
+ ln -s "$_libbase/dotnet" "$_binpath"
+}
+
+post_install() {
+ vlicense "LICENSE.TXT"
+}
+
+do_check() {
+ echo _binpath is $_binpath
+ echo _unpackedfolder is $_unpackedfolder
+ echo _libbase is $_libbase
+ echo DESTDIR is $DESTDIR
+ "$_binpath" --info
+}
diff --git a/srcpkgs/fastfetch/template b/srcpkgs/fastfetch/template
new file mode 100644
index 00000000000..9257a367250
--- /dev/null
+++ b/srcpkgs/fastfetch/template
@@ -0,0 +1,15 @@
+# Template file for 'fastfetch'
+pkgname=fastfetch
+version=2.1.0
+revision=1
+build_style=cmake
+hostmakedepends=""
+makedepends=""
+# depends="pciutils vulkan-loader libX11 wayland glib dconf ImageMagick libchafa dbus-libs libOSMesa ocl-icd xfconf sqlite libnm libpulseaudio ddcutil"
+short_desc="Like neofetch, but much faster because written in C."
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="MIT"
+homepage="https://github.com/fastfetch-cli/"
+changelog="https://github.com/fastfetch-cli/releases/"
+distfiles="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/$version.tar.gz"
+checksum=72d99687946774cb0a34bb48b3ef943db1b50d43e104fc20e6d775f5f3bb65b4
diff --git a/srcpkgs/gnirehtet-apk/template b/srcpkgs/gnirehtet-apk/template
new file mode 100644
index 00000000000..661a2b85ab1
--- /dev/null
+++ b/srcpkgs/gnirehtet-apk/template
@@ -0,0 +1,27 @@
+# Template file for 'gnirehtet-apk'
+pkgname=gnirehtet-apk
+version=2.5.1
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+# build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="gradle"
+makedepends=""
+depends=""
+short_desc=""
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="GPL-3.0-or-later"
+homepage=""
+#changelog=""
+distfiles="https://github.com/Genymobile/gnirehtet/archive/refs/tags/v${version}.tar.gz
+https://dl.google.com/android/repository/commandlinetools-linux-"$CMDLVER"_latest.zip"
+checksum=badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb
+
+do_build() {
+ gradle
+}
diff --git a/srcpkgs/gnirehtet/template b/srcpkgs/gnirehtet/template
new file mode 100644
index 00000000000..4b447184de8
--- /dev/null
+++ b/srcpkgs/gnirehtet/template
@@ -0,0 +1,24 @@
+# Template file for 'gnirehtet'
+pkgname=gnirehtet
+version=2.5.1
+revision=1
+build_wrksrc="gnirehtet-$version/relay-rust"
+build_style=cargo
+depends="android-tools"
+short_desc="Gnirehtet provides reverse tethering for Android"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="Apache-2.0"
+homepage="https://github.com/Genymobile/gnirehtet/"
+changelog="https://github.com/Genymobile/gnirehtet/releases/"
+distfiles="https://github.com/Genymobile/gnirehtet/archive/refs/tags/v${version}.tar.gz
+ https://github.com/Genymobile/gnirehtet/releases/download/v${version}/gnirehtet-java-v${version}.zip"
+checksum="0d41361b9ac8b3b7fa4f4a0aff933472a72886556bd3fc4659be299b546274e6
+ 816748078fa6a304600a294a13338a06ac778bcc0e57b62d88328c7968ad2d3a"
+
+post_patch() {
+ vsed -i src/main.rs -e 's|"gnirehtet.apk"|"/usr/lib/gnirehtet/gnirehtet.apk"|'
+}
+
+post_install() {
+ vinstall "$XBPS_BUILDDIR/$pkgname-$version/gnirehtet-java/gnirehtet.apk" 644 /usr/lib/gnirehtet/
+}
diff --git a/srcpkgs/gotosocial/template b/srcpkgs/gotosocial/template
new file mode 100644
index 00000000000..fb99f17ba36
--- /dev/null
+++ b/srcpkgs/gotosocial/template
@@ -0,0 +1,39 @@
+# Template file for 'gotosocial'
+pkgname=gotosocial
+version=0.13.0
+revision=1
+build_style=go
+go_import_path="github.com/superseriousbusiness/gotosocial"
+go_package="github.com/superseriousbusiness/gotosocial/cmd/gotosocial"
+hostmakedepends="go-swagger yarn"
+conf_files="/etc/gotosocial/config.yaml"
+make_dirs="/var/lib/gotosocial 0755 _gotosocial _gotosocial"
+short_desc="Fast, fun, ActivityPub server, powered by Go"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="AGPL-3.0-only"
+homepage="https://gotosocial.org/"
+changelog="https://github.com/superseriousbusiness/gotosocial/releases"
+distfiles="https://github.com/superseriousbusiness/gotosocial/releases/download/v$version/gotosocial-$version-source-code.tar.gz"
+ # https://github.com/superseriousbusiness/gotosocial/releases/download/v$version/gotosocial_${version}_web-assets.tar.gz"
+checksum="c2dd75c3f2e5700da15297aea1f3c2dc7c5f883e3c83b7632c1bf6128de4f0ce"
+ # 68fc637defb47f885405fc011faecbb11d7f2afff8dac3e1947c265660dfa77d"
+system_accounts="_gotosocial"
+
+post_build() {
+ yarn --cwd ./web/source install --frozen-lockfile
+ yarn --cwd ./web/source ts-patch install
+ yarn --cwd ./web/source build
+ swagger generate spec -o ./web/assets/swagger.yaml --scan-models
+}
+
+post_install() {
+ vmkdir etc/gotosocial
+ rm -rf web/source
+ cp -r web "$DESTDIR/etc/gotosocial/"
+ vsconf example/apparmor/gotosocial gotosocial.apparmor
+ cp example/config.yaml "$DESTDIR/etc/gotosocial/"
+ vsed -i "$DESTDIR/etc/gotosocial/config.yaml" -e 's#./web#/etc/gotosocial/web#; s#"/gotosocial/#"/var/lib/gotosocial/#'
+ vsed -i "$DESTDIR/etc/gotosocial/web/assets/swagger.yaml" -e "s/REPLACE_ME/$version/"
+ vlicense LICENSE
+ vsv gotosocial
+}
diff --git a/srcpkgs/gsp/template b/srcpkgs/gsp/template
new file mode 100644
index 00000000000..0d884acf337
--- /dev/null
+++ b/srcpkgs/gsp/template
@@ -0,0 +1,18 @@
+# Template file for 'gsp'
+pkgname=gsp
+version=1.0.1
+revision=1
+build_style=go
+short_desc="Better HTML syntax"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="0BSD"
+homepage="https://sr.ht/~mango/gsp/"
+go_import_path="git.thomasvoss.com/gsp"
+changelog="https://git.sr.ht/~mango/gsp/refs"
+distfiles="https://git.sr.ht/~mango/gsp/archive/v$version.tar.gz"
+checksum=97c6ef48f427c45693b2e2f0b14d17bdcb0f7cdd783ccb80fc3b10f38034e2d1
+
+post_install() {
+ vman gsp.1
+ vman gsp.5
+}
diff --git a/srcpkgs/harec/template b/srcpkgs/harec/template
new file mode 100644
index 00000000000..359afac4b36
--- /dev/null
+++ b/srcpkgs/harec/template
@@ -0,0 +1,22 @@
+# Template file for 'harec'
+pkgname=harec
+version=1
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="qbe scdoc"
+makedepends=""
+depends=""
+short_desc="Hare bootstrap compiler"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="GPL-3.0-or-later"
+homepage="https://git.sr.ht/~sircmpwn/harec/"
+changelog="https://git.sr.ht/~sircmpwn/harec/log"
+distfiles="https://git.sr.ht/~sircmpwn/harec/archive/88ac641c900e5a926f96b61033798041df1a8245.tar.gz"
+checksum=a699efff6e5259243c511a2716a89504045909313851d46c9c5a18331563d8c3
diff --git a/srcpkgs/ladybird/template b/srcpkgs/ladybird/template
new file mode 100644
index 00000000000..f916b034b99
--- /dev/null
+++ b/srcpkgs/ladybird/template
@@ -0,0 +1,23 @@
+# Template file for 'ladybird'
+pkgname=ladybird
+version=1
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=cmake
+configure_args="-GNinja -DBUILD_LAGOM=ON"
+build_wrksrc=Ladybird
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="cmake ninja"
+makedepends="libglapi qt6-base-devel qt6-svg-devel qt6-tools-devel qt6-wayland-devel qt6-multimedia-devel"
+depends=""
+short_desc="Ladybird is a web browser built on the LibWeb and LibJS engines from SerenityOS with a cross-platform GUI in Qt."
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/SerenityOS/serenity/"
+#changelog=""
+distfiles="https://github.com/SerenityOS/serenity/archive/master.tar.gz"
+checksum=32c23de3d824101110a2b72a12c4bf54357a4e058b4cedee120925a6e2f58712
diff --git a/srcpkgs/mkpass/template b/srcpkgs/mkpass/template
new file mode 100644
index 00000000000..2724721bcd4
--- /dev/null
+++ b/srcpkgs/mkpass/template
@@ -0,0 +1,16 @@
+# Template file for 'mkpass'
+pkgname=mkpass
+version=2.0.1
+revision=1
+short_desc="Simple password generator"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="0BSD"
+homepage="https://git.sr.ht/~mango/mkpass"
+changelog="https://git.sr.ht/~mango/mkpass/refs/"
+distfiles="https://git.sr.ht/~mango/mkpass/archive/v$version.tar.gz"
+checksum=78e190b30e0f1546649fe73b9e44c17680d856000bfb001128d01e951366c55b
+
+do_install() {
+ vbin mkpass
+ vman mkpass.1
+}
diff --git a/srcpkgs/paste/files/paste/run b/srcpkgs/paste/files/paste/run
new file mode 100644
index 00000000000..879dd1a8fd9
--- /dev/null
+++ b/srcpkgs/paste/files/paste/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+export ROCKET_PASTES=${ROCKET_PASTES:-/var/lib/paste/}
+
+exec chpst -u _paste:_paste paste-rs
diff --git a/srcpkgs/paste/template b/srcpkgs/paste/template
new file mode 100644
index 00000000000..3ff04e00c4d
--- /dev/null
+++ b/srcpkgs/paste/template
@@ -0,0 +1,21 @@
+# Template file for 'paste'
+pkgname=paste
+version=2.0.2
+revision=1
+build_style=cargo
+short_desc="Small web server which takes in files and saves them on disk"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="GPL-3.0-or-later"
+homepage="https://git.sr.ht/~aninternettroll/paste"
+changelog="https://git.sr.ht/~aninternettroll/paste/refs"
+distfiles="https://git.sr.ht/~aninternettroll/paste/archive/v$version.tar.gz"
+checksum=784a0a54fc6f4ce6419fc89c7e968bf3aca4403ec8a61ba1a7d0c659233cf980
+system_accounts="_paste"
+make_dirs="/var/lib/paste 0700 _paste _paste"
+
+# Avoid conflicts with coreutils
+export CARGO_BIN_NAME="paste-rs"
+
+post_install() {
+ vsv paste
+}
diff --git a/srcpkgs/retro8/template b/srcpkgs/retro8/template
new file mode 100644
index 00000000000..46071fba4a9
--- /dev/null
+++ b/srcpkgs/retro8/template
@@ -0,0 +1,12 @@
+pkgname=retro8
+version=0.1b
+revision=1
+build_style=cmake
+makedepends="SDL2-devel SDL2_image-devel"
+short_desc="PICO-8 implementation with SDL2/SDL1.2 and RetroArch back-ends"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Jakz/retro8"
+distfiles="https://github.com/Jakz/retro8/archive/refs/tags/$version.tar.gz"
+checksum="2083d61403f56ae028451ce9d1f13e0f7b5ba601ecb15dadfd6c6dc39f392dfe"
+
diff --git a/srcpkgs/totp/template b/srcpkgs/totp/template
new file mode 100644
index 00000000000..e539979940f
--- /dev/null
+++ b/srcpkgs/totp/template
@@ -0,0 +1,13 @@
+# Template file for 'totp'
+pkgname=totp
+version=1.0.2
+revision=1
+build_style=gnu-makefile
+makedepends="uriparser-devel openssl-devel"
+short_desc="Generate TOTP codes from the command-line"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="0BSD"
+homepage="https://git.sr.ht/~mango/totp"
+changelog="https://git.sr.ht/~mango/totp/refs/"
+distfiles="https://git.sr.ht/~mango/totp/archive/v$version.tar.gz"
+checksum=d95e4e2c06db50c2df172a323c79c8491684d80ef6b4b14547df709df4e991b8
diff --git a/srcpkgs/tut/template b/srcpkgs/tut/template
new file mode 100644
index 00000000000..eb186856da0
--- /dev/null
+++ b/srcpkgs/tut/template
@@ -0,0 +1,17 @@
+# Template file for 'tut'
+pkgname=tut
+version=2.0.1
+revision=1
+build_style=go
+go_import_path="github.com/RasmusLindroth/tut"
+# hostmakedepends="git"
+short_desc="TUI client for Mastodon"
+maintainer="Nathaniel Barragan <nathanielbarragan@protonmail.com>"
+license="MIT"
+homepage="https://github.com/RasmusLindroth/tut"
+distfiles="https://github.com/RasmusLindroth/tut/archive/${version}.tar.gz"
+checksum=afa8c49036461a36c091d83ef51f9a3bbd938ee78f817c6467175699a989b863
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/ytfzf/template b/srcpkgs/ytfzf/template
new file mode 100644
index 00000000000..730b8f8c3a5
--- /dev/null
+++ b/srcpkgs/ytfzf/template
@@ -0,0 +1,19 @@
+# Template file for 'ytfzf'
+pkgname=ytfzf
+version=2.6.1
+revision=2
+build_style=gnu-makefile
+make_use_env=yes
+depends="bash"
+short_desc="Posix script to find and watch youtube videos from the terminal"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/pystardust/ytfzf"
+changelog="${homepage}/releases/tag/v${version}"
+distfiles="${homepage}/archive/v${version}/${pkgname}-${version}.tar.gz"
+checksum=67a75673892e2eb6b0c262b0ebf2bc6ff25018fb02289f38feddb9bb4ba59451
+
+post_install() {
+ vman docs/man/${pkgname}.1
+ vman docs/man/${pkgname}.5
+}