feat: add mpv
This commit is contained in:
@@ -11,7 +11,7 @@ destdir = f"{fembuilddir}/DESTDIR"
|
||||
|
||||
deps = ["quickshell", "caelestia-cli", "ddcutil", "brightnessctl", "cava", "NetworkManager",
|
||||
"libcava", "pipewire", "lm-sensors", "fish", "aubio", "glibc", "qt6", "material-design-icons",
|
||||
"jetbrainsmono-nerd", "libqalculate", "gammastep"]
|
||||
"jetbrainsmono-nerd", "libqalculate", "gammastep", "mpv"]
|
||||
|
||||
build = [
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
pkgname = "glad"
|
||||
pkgver = "2.0.8"
|
||||
source = f"https://github.com/Dav1dde/glad/archive/v{pkgver}/glad-{pkgver}.tar.gz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
|
||||
deps = ["python"]
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir -p {fembuilddir} && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.gz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD",
|
||||
f"cd {builddir} && pip3 install --root={destdir} --no-index --find-links dist --no-user --force-reinstall --no-deps glad2",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {fembuilddir}"
|
||||
]
|
||||
@@ -116,6 +116,7 @@ gettext.recipe.py
|
||||
gexiv2.recipe.py
|
||||
giflib.recipe.py
|
||||
git.recipe.py
|
||||
glad.recipe.py
|
||||
glaze.recipe.py
|
||||
glibc.recipe.py
|
||||
glibmm.recipe.py
|
||||
@@ -264,6 +265,7 @@ libnvme.recipe.py
|
||||
libogg.recipe.py
|
||||
libpcap.recipe.py
|
||||
libpipeline.recipe.py
|
||||
libplacebo.recipe.py
|
||||
libpng.recipe.py
|
||||
libportal.recipe.py
|
||||
libppd.recipe.py
|
||||
@@ -331,6 +333,7 @@ MIME-Base32.recipe.py
|
||||
ModemManager.recipe.py
|
||||
mpc.recipe.py
|
||||
mpfr.recipe.py
|
||||
mpv.recipe.py
|
||||
mtdev.recipe.py
|
||||
muparser.recipe.py
|
||||
mupdf.recipe.py
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
pkgname = "libplacebo"
|
||||
pkgver = "7.360.1"
|
||||
source = f"https://github.com/haasn/libplacebo/archive/v{pkgver}/libplacebo-{pkgver}.tar.gz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
|
||||
deps = ["glad", "glslag", "vulkan-loader"]
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir -p {fembuilddir} && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.gz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && mkdir build && cd build && meson setup .. --prefix=/usr --buildtype=release -D tests=true -D demos=false",
|
||||
f"cd {builddir}/build && ninja",
|
||||
f"cd {builddir}/build && DESTDIR={destdir} ninja install",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {fembuilddir}"
|
||||
]
|
||||
@@ -0,0 +1,35 @@
|
||||
pkgname = "mpv"
|
||||
pkgver = "0.41.0"
|
||||
source = f"https://github.com/mpv-player/mpv/archive/v{pkgver}/mpv-{pkgver}.tar.gz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
|
||||
deps = ["alsa-lib", "ffmpeg", "libass", "libplacebo", "mesa", "pulseaudio", "libjpeg-turbo", "libva", "luajit", "vulkan-loader", "libdvdread", "pipewire"]
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir -p {fembuilddir} && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.gz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && mkdir build && cd build && meson setup --prefix=/usr --buildtype=release -D x11=enabled ..",
|
||||
f"cd {builddir}/build && ninja",
|
||||
f"cd {builddir}/build && DESTDIR={destdir} ninja install",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/LICENSE.GPL {destdir}/usr/share/licenses/{pkgname}/LICENSE.GPL",
|
||||
f"install -v -m644 {builddir}/LICENSE.LGPL {destdir}/usr/share/licenses/{pkgname}/LICENSE.LGPL",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {fembuilddir}"
|
||||
]
|
||||
|
||||
triggers = [
|
||||
f"cd /tmp && gtk-update-icon-cache -qtf /usr/share/icons/hicolor && update-desktop-database -q",
|
||||
]
|
||||
+1
-1
@@ -40,7 +40,7 @@ triggers = [
|
||||
f"flit-core packaging markupsafe Jinja2 pluggy PyYAML pathspec Mako trove-classifiers editables hatchling python-dbusmock "
|
||||
f"brotli pyproject_metadata Cython pyparsing ply docutils PyGObject Pygments tqdm httplib2==0.21.0 certifi chardet charset_normalizer "
|
||||
f"doxypypy doxyqml idna urllib3 psutil pygdbmi sentry-sdk pyxdg colorama parameterized markdown typogrify blueprint-compiler",
|
||||
{"rebuild_package": ["caelestia-cli", "kapidox", "glib", "libxml2", "newt", "pycairo", "xcb-proto", "libpwquality", "flatpost"]},
|
||||
{"rebuild_package": ["caelestia-cli", "kapidox", "glib", "libxml2", "newt", "pycairo", "xcb-proto", "libpwquality", "flatpost", "glad"]},
|
||||
]
|
||||
|
||||
# TODO when a minor version, ie 3.13.0 to 3.14.0 drops specfiy the python version in the newt package config line
|
||||
|
||||
Reference in New Issue
Block a user