diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 17:10:20 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 17:10:20 +0100 |
commit | fa2c7177695d2072d541057a9610e55b51ff4db1 (patch) | |
tree | 7958833c282cae8ad227e3d5e7d86a5c362c3058 | |
parent | e87ff16e0e8f223d9a18ea23cdcf103c027bf466 (diff) |
added yt-dlp
-rw-r--r-- | repo/linux-firmware/linux-firmware.xibuild | 15 | ||||
-rw-r--r-- | repo/yt-dlp/yt-dlp.xibuild | 24 |
2 files changed, 39 insertions, 0 deletions
diff --git a/repo/linux-firmware/linux-firmware.xibuild b/repo/linux-firmware/linux-firmware.xibuild new file mode 100644 index 0000000..67f5f14 --- /dev/null +++ b/repo/linux-firmware/linux-firmware.xibuild @@ -0,0 +1,15 @@ +#!/bin/sh + +MAKEDEPS="" +DEPS="linux" + +PKG_VER=5.15.14 +SOURCE=https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git +BRANCH=0c6a7b3bf728b95c8b7b95328f94335e2bb2c967 + +DESC="All firmware files for linux" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r * $PKG_DEST/usr/lib/firmware +} diff --git a/repo/yt-dlp/yt-dlp.xibuild b/repo/yt-dlp/yt-dlp.xibuild new file mode 100644 index 0000000..6383be2 --- /dev/null +++ b/repo/yt-dlp/yt-dlp.xibuild @@ -0,0 +1,24 @@ +#!/bin/sh + +NAME="yt-dlp" +DESC="A youtube-dl fork with additional features and fixes" + +MAKEDEPS="make " +DEPS="python ffmpeg brotli cacerts musl " + +PKG_VER=2022.05.18 +SOURCE="https://github.com/yt-dlp/yt-dlp/archive/refs/tags/$PKG_VER.tar.gz" + +build () { + make PREFIX=/usr yt-dlp +} + +package () { + install -Dm755 yt-dlp $PKG_DEST/usr/bin/yt-dlp + # man pages require pandoc to be built, saving that headache for later + #install -Dm644 yt-dlp.1 $PKG_DEST/usr/man/man1/yt-dlp.1 + + #install -Dm644 completions/bash/yt-dlp $PKG_DEST/usr/share/bash-completion/completions/yt-dlp + #install -Dm644 completions/zsh/_yt-dlp $PKG_DEST/usr/share/zsh/site-functions/_yt-dlp + #install -Dm644 completions/fish/yt-dlp.fish $PKG_DEST/usr/share/fish/vendor_completions.d/yt-dlp.fish +} |