Skip to content

Commit

Permalink
feat: add gst-libav project
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-xD authored and nacho committed Dec 9, 2024
1 parent 46ae208 commit c63c94a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions gvsbuild/projects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
GstPython,
GStreamer,
Orc,
GstLibav,
)
from gvsbuild.projects.gtk import Gtk2, Gtk3, Gtk4
from gvsbuild.projects.gtkmm import Gtkmm
Expand Down
20 changes: 20 additions & 0 deletions gvsbuild/projects/gstreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,3 +248,23 @@ def __init__(self):
def build(self):
Meson.build(self)
self.install(r".\COPYING share\doc\gst-python")


@project_add
class GstLibav(Tarball, Meson):
def __init__(self):
Project.__init__(
self,
"gst-libav",
repository="https://gitlab.freedesktop.org/gstreamer/gstreamer",
version="1.24.9",
lastversion_even=True,
archive_url="https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-{version}.tar.xz",
hash="32682e9ae508ee01f4fb134b3a520081e2ac007220997577624b1d16171d456c",
# TODO try remove gst-plugins-base
dependencies=["meson", "ninja", "pygobject", "ffmpeg", "gst-plugins-base"],
)

def build(self):
Meson.build(self)
self.install(r".\COPYING share\doc\gst-libav")

0 comments on commit c63c94a

Please sign in to comment.