| # Maintainer: Christoph Reiter <reiter.christoph@gmail.com> |
| |
| _realname=gst-devtools |
| pkgbase=mingw-w64-${_realname} |
| pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" |
| pkgver=1.18.3 |
| pkgrel=1 |
| pkgdesc="Development and debugging tools for GStreamer (mingw-w64)" |
| arch=('any') |
| mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64') |
| url="https://gstreamer.freedesktop.org/" |
| license=("LGPL") |
| makedepends=("${MINGW_PACKAGE_PREFIX}-meson" |
| "${MINGW_PACKAGE_PREFIX}-ninja" |
| "${MINGW_PACKAGE_PREFIX}-gobject-introspection") |
| depends=("${MINGW_PACKAGE_PREFIX}-gstreamer" |
| "${MINGW_PACKAGE_PREFIX}-gst-plugins-base" |
| "${MINGW_PACKAGE_PREFIX}-json-glib") |
| source=(https://gstreamer.freedesktop.org/src/${_realname}/${_realname}-${pkgver}.tar.xz) |
| sha256sums=('3025fee3607caf5069154c099533785675916e044ee92c936bbeacdda3750f26') |
| |
| prepare() { |
| cd "${srcdir}/${_realname}-${pkgver}" |
| |
| } |
| |
| build() { |
| [[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}" |
| mkdir -p "${srcdir}/build-${MINGW_CHOST}" && cd "${srcdir}/build-${MINGW_CHOST}" |
| |
| MSYS2_ARG_CONV_EXCL="--prefix=" \ |
| ${MINGW_PREFIX}/bin/meson.exe \ |
| --prefix="${MINGW_PREFIX}" \ |
| --buildtype plain \ |
| --wrap-mode=nofallback \ |
| -Dauto_features=enabled \ |
| -Dtests=disabled \ |
| -Ddoc=disabled \ |
| ../${_realname}-${pkgver} |
| |
| ${MINGW_PREFIX}/bin/ninja.exe |
| } |
| |
| package() { |
| cd "${srcdir}/build-${MINGW_CHOST}" |
| |
| DESTDIR="${pkgdir}" ${MINGW_PREFIX}/bin/ninja.exe install |
| } |