pkgname = "orc"
pkgver = "0.4.33"
pkgrel = 0
build_style = "meson"
configure_args = [
    "-Dexamples=disabled",
]
hostmakedepends = [
    "meson", "pkgconf", "gtk-doc-tools",
]
makedepends = ["linux-headers"]
pkgdesc = "Optimized Inner Loop Runtime Compiler"
maintainer = "q66 <q66@chimera-linux.org>"
license = "BSD-2-Clause"
url = "https://gstreamer.freedesktop.org"
source = f"{url}/src/{pkgname}/{pkgname}-{pkgver}.tar.xz"
sha256 = "844e6d7db8086f793f57618d3d4b68d29d99b16034e71430df3c21cfd3c3542a"

def post_install(self):
    self.install_license("COPYING")

@subpackage("orc-devel")
def _devel(self):
    return self.default_devel(extra = ["usr/share/gtk-doc"])
