apkbuilds @ 17ca7c045eadbabe17ed33d57750c831f27ba8cc

ref: Remove unnecessary packages

Some package have made into the community repository on 3.17, so there
is no need to keep them.
diff --git a/README.md b/README.md
index 2effc258ecb5abd5b98c72080580c1a93fd3bffc..aeb52dad969f92a0d436295aa5fc75a4c286184f 100644
--- a/README.md
+++ b/README.md
@@ -20,8 +20,7 @@ curl https://artifacts.gabrielgio.me/repo/mail%40gabrielgio.me-62ddc4dc.rsa.pub \
     -o  /etc/apk/keys/mail@gabrielgio.me-62ddc4dc.rsa.pub
 ```
 
-# Apks
-
+# Apks Alpine 3.16
 
 ## midr
 - **url**:        https://git.sr.ht/~gabrielgio/midr
@@ -44,31 +43,9 @@ - **version**:    0.2.3
 - **reason**:     Reddit reddit-nextcloud-importer dependency
 - **releases**:   https://pypi.org/project/nextcloud-api-wrapper/#history
 
-## gallery-dl
-- **link**:       https://github.com/mikf/gallery-dl
-- **version**:    1.23.5
-- **reason**:     Remove edge repository and reddit-nextcloud-importer dependency
-- **releases**:   https://github.com/mikf/gallery-dl/releases
-- **source**:     https://git.alpinelinux.org/aports/tree/testing/gallery-dl?h=master
-
 ## jsonpickle
 - **link**:       https://jsonpickle.github.io/
 - **version**:    2.2.0
 - **reason**:     Remove edge repository and reddit-nextcloud-importer dependency
 - **releases**:   https://github.com/jsonpickle/jsonpickle/tags
 - **source**:     https://git.alpinelinux.org/aports/tree/testing/py3-jsonpickle?h=master
-
-
-## jellyfin
-- **link**:       https://github.com/jellyfin/jellyfin
-- **version**:    10.8.7
-- **reason**:     Remove edge repository
-- **releases**:   https://github.com/jellyfin/jellyfin/releases
-- **source**:     https://git.alpinelinux.org/aports/tree/community/jellyfin?h=master
-
-## jellyfin-web
-- **link**:       https://github.com/jellyfin/jellyfin-web
-- **version**:    10.8.7
-- **reason**:     Remove edge repository
-- **releases**:   https://github.com/jellyfin/jellyfin-web/releases
-- **source**:     https://git.alpinelinux.org/aports/tree/community/jellyfin-web?h=master
diff --git a/apks/gallery-dl/APKBUILD b/apks/gallery-dl/APKBUILD
deleted file mode 100644
index afe05fbe8eb0d646e6a7d3ea1d08ddc8e1ff8ff3..0000000000000000000000000000000000000000
--- a/apks/gallery-dl/APKBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Contributor: Hoang Nguyen <folliekazetani@protonmail.com>
-# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
-pkgname=gallery-dl
-pkgver=1.23.5
-pkgrel=0
-pkgdesc="CLI tool to download image galleries"
-url="https://github.com/mikf/gallery-dl"
-arch="noarch"
-license="GPL-2.0-or-later"
-option="!check" #check requires docker
-depends="
-	py3-requests
-	python3
-	"
-makedepends="py3-setuptools"
-checkdepends="py3-pytest yt-dlp"
-subpackages="
-	$pkgname-doc
-	$pkgname-bash-completion
-	$pkgname-zsh-completion
-	$pkgname-fish-completion
-	"
-source="$pkgname-$pkgver.tar.gz::https://github.com/mikf/gallery-dl/archive/v$pkgver.tar.gz"
-
-build() {
-	python3 setup.py build
-
-	make man completion
-}
-
-package() {
-	python3 setup.py install --prefix=/usr --root="$pkgdir"
-
-	# Install fish completion to the correct directory
-	rm -r "$pkgdir"/usr/share/fish/vendor_completions.d
-	install -Dm644 data/completion/gallery-dl.fish \
-		-t "$pkgdir"/usr/share/fish/completions
-}
-
-sha512sums="
-75defb234faf0467e5a957594a58a02cfc75180d63a4b2c24d84061d326fbb46f08ad3230b72adf525f1ba82621963564c556047d4aa06c16cc5124ecd8c075f  gallery-dl-1.23.2.tar.gz
-"
diff --git a/apks/jellyfin-web/APKBUILD b/apks/jellyfin-web/APKBUILD
deleted file mode 100644
index 71e0652c93e45d9a146b8e6338adaa6c9b619e8d..0000000000000000000000000000000000000000
--- a/apks/jellyfin-web/APKBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
-pkgname=jellyfin-web
-pkgver=10.8.7
-pkgrel=0
-pkgdesc="Web Client for Jellyfin"
-url="https://jellyfin.org/"
-# armv7: oom
-arch="x86_64"
-options="!check net" # no tests
-license="GPL-2.0-only"
-install="$pkgname.post-install"
-depends="jellyfin"
-makedepends="npm"
-source="$pkgname-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin-web/archive/refs/tags/v$pkgver.tar.gz"
-
-build() {
-	npm ci --no-audit
-}
-
-package() {
-	mkdir -p "$pkgdir"/usr/lib/jellyfin/jellyfin-web
-
-	cp -r "$builddir"/dist/* "$pkgdir"/usr/lib/jellyfin/jellyfin-web
-}
-
-sha512sums="
-5953b1007cc771542aaad907ecc292b311e457e625c2e9d4e0246147488651ea556e8c3973fd603760326173db14939e4ce728c8f9fc563a7f3ab740453e60d8  jellyfin-web-10.8.5.tar.gz
-"
diff --git a/apks/jellyfin-web/jellyfin-web.post-install b/apks/jellyfin-web/jellyfin-web.post-install
deleted file mode 100644
index a6e69426fe7357daabddec8f662975f83bbecddd..0000000000000000000000000000000000000000
--- a/apks/jellyfin-web/jellyfin-web.post-install
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-printf "  *\n  * The default jellyfin configuration does not enable the web ui.\n"
-printf "  * Remove the '--nowebclient' option from /etc/conf.d/jellyfin to enable it.\n  *\n"
-
-exit 0
diff --git a/apks/jellyfin/APKBUILD b/apks/jellyfin/APKBUILD
deleted file mode 100644
index 785c2a8963f170efd1ac0652de9ab79fb68de74b..0000000000000000000000000000000000000000
--- a/apks/jellyfin/APKBUILD
+++ /dev/null
@@ -1,63 +0,0 @@
-# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
-pkgname=jellyfin
-pkgver=10.8.7
-pkgrel=0
-pkgdesc="The Free Software Media System"
-pkgusers="$pkgname"
-pkggroups="$pkgname"
-install="$pkgname.pre-install"
-url="https://jellyfin.org/"
-arch="x86_64"
-license="GPL-2.0-only"
-makedepends="dotnet6-sdk"
-depends="aspnetcore6-runtime ffmpeg"
-subpackages="$pkgname-openrc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin/archive/refs/tags/v$pkgver.tar.gz
-	$pkgname.initd
-	$pkgname.confd"
-
-case $CARCH in
-	x86_64) _dotnet_arch=x64;;
-	aarch64) _dotnet_arch=arm64;;
-	armv7|armhf) _dotnet_arch=arm;;
-esac
-
-# parses RID from /etc/os-release depending on if edge or production release
-# to set _runtime_id
-# shellcheck disable=SC2034
-. /etc/os-release
-[ -n "${VERSION_ID//[^_]}" ] && _runtime_id="alpine.${VERSION_ID%_*}-$_dotnet_arch" || _runtime_id="alpine.${VERSION_ID%.*}-$_dotnet_arch"
-
-build() {
-	dotnet build --configuration Release Jellyfin.Server --no-self-contained --runtime $_runtime_id
-	dotnet publish --configuration Release Jellyfin.Server --no-self-contained --output publish --runtime $_runtime_id
-}
-
-check() {
-	# check on aarch64 is broken for dotnet6-sdk v6.0.1xx due to
-	# https://github.com/microsoft/vstest/issues/2566
-	if [ "$CARCH" = "aarch64" ]; then
-		return
-	fi
-
-	dotnet test --runtime $_runtime_id
-}
-
-package() {
-	mkdir -p "$pkgdir"/usr/lib
-	cp -dr publish "$pkgdir"/usr/lib/jellyfin
-
-	mkdir -p "$pkgdir"/usr/bin
-	ln -s /usr/lib/jellyfin/jellyfin "$pkgdir"/usr/bin/jellyfin
-
-	install -Dm755 "$srcdir"/$pkgname.initd \
-		"$pkgdir"/etc/init.d/$pkgname
-	install -Dm644 "$srcdir"/$pkgname.confd \
-		"$pkgdir"/etc/conf.d/$pkgname
-}
-
-sha512sums="
-a4c436919ae6b07fede95b98d6a16c6405c5a8efd8457c522cf5dd273fa0edb9d33e582f59c3ac4377a19129512530c344de58d81807adbd83af16b41dea8e1d  jellyfin-10.8.5.tar.gz
-364a70a953d921048a249fd370642c1782e434c850334cd55e35bbb10d1bb93482d37faa1c11da5d7acba96a084d9832e5db212b65b0fa9907c7d3afe553aaf9  jellyfin.initd
-d35eb07d11d711b8ad35c7726e151a8096609712fee3bfea00c9adeff8e56660e3cde3d9b0b2dc8a847514af4d2b32340e2b29b77facfab4f8921ba15ba671b0  jellyfin.confd
-"
diff --git a/apks/jellyfin/jellyfin.confd b/apks/jellyfin/jellyfin.confd
deleted file mode 100644
index 6cd891ce6d9f1932bbe850fe3e41b6135ac6ad7b..0000000000000000000000000000000000000000
--- a/apks/jellyfin/jellyfin.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-supervisor=supervise-daemon
-datadir="/var/lib/jellyfin"
-cachedir="/var/cache/jellyfin"
-logdir="/var/log/jellyfin"
-opts="--nowebclient"
diff --git a/apks/jellyfin/jellyfin.initd b/apks/jellyfin/jellyfin.initd
deleted file mode 100644
index 278d79dddae9ea4542ce580166a1e6fa3a2d94b7..0000000000000000000000000000000000000000
--- a/apks/jellyfin/jellyfin.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-
-name=jellyfin
-description="The Free Software Media System"
-
-command=/usr/bin/jellyfin
-command_user=jellyfin:jellyfin
-command_args="--datadir ${datadir} --cachedir ${cachedir} --logdir ${logdir} ${opts}"
-
-depend() {
-	use logger dns
-	need net
-	after firewall
-}
-
-start_pre() {
-	checkpath -d -o $command_user "$datadir"
-	checkpath -d -o $command_user "$cachedir"
-	checkpath -d -o $command_user "$logdir"
-}
diff --git a/apks/jellyfin/jellyfin.pre-install b/apks/jellyfin/jellyfin.pre-install
deleted file mode 100644
index 6e647160debab510a6a24035d4028b66a6594e71..0000000000000000000000000000000000000000
--- a/apks/jellyfin/jellyfin.pre-install
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-user=jellyfin
-group=jellyfin
-
-addgroup -S $group 2>/dev/null
-adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null
-
-exit 0
diff --git a/apks/yt-dlp/APKBUILD b/apks/yt-dlp/APKBUILD
deleted file mode 100644
index d4db189ab95d12224f166243b6026b065c675c11..0000000000000000000000000000000000000000
--- a/apks/yt-dlp/APKBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
-# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
-# Contributor: Timo Teräs <timo.teras@iki.fi>
-# Contributor: Leo <thinkabit.ukim@gmail.com>
-# Maintainer: Sodface <sod@sodface.com>
-pkgname=yt-dlp
-pkgver=2022.10.04
-pkgrel=1
-pkgdesc="Command-line program to download videos from YouTube"
-url="https://github.com/yt-dlp/yt-dlp"
-arch="noarch"
-license="Unlicense"
-depends="python3 py3-mutagen py3-websockets py3-certifi py3-brotli"
-makedepends="py3-setuptools"
-checkdepends="py3-flake8 py3-nose py3-pytest"
-subpackages="
-	$pkgname-doc
-	$pkgname-zsh-completion
-	$pkgname-bash-completion
-	$pkgname-fish-completion
-	"
-source="$pkgname-$pkgver.tar.gz::https://github.com/yt-dlp/yt-dlp/releases/download/$pkgver/yt-dlp.tar.gz"
-builddir="$srcdir/$pkgname"
-
-build() {
-	python3 setup.py build
-
-	make completions
-}
-
-check() {
-	PYTHON=/usr/bin/python3 make offlinetest
-}
-
-package() {
-	python3 setup.py install --prefix=/usr --root="$pkgdir"
-
-	# Install fish completion to the correct directory
-	rm -r "$pkgdir"/usr/share/fish/vendor_completions.d
-	install -Dm644 completions/fish/yt-dlp.fish \
-		-t "$pkgdir"/usr/share/fish/completions
-}
-
-sha512sums="
-5e24eea9739325349e975a92eed9d38605f62a423ae16127e1966bf96974419939f46986d7f61306f827edebd9f7408d048672e99c214bc59b2cdccad1938004  yt-dlp-2022.10.04.tar.gz
-"
diff --git a/build.yml b/build.yml
index 376f4b7d8c8ad0aba572d4b46d5486df9c0a4e0d..325871b03b6214055c1395bcef87e3c7e43a814d 100644
--- a/build.yml
+++ b/build.yml
@@ -1,4 +1,4 @@
-image: alpine/3.16
+image: alpine/latest
 repositories:
   gabrielgio.me: >
     https://artifacts.gabrielgio.me/repo/v3.16/