diff --git a/mingw-w64-totem-pl-parser/001-win.patch b/mingw-w64-totem-pl-parser/001-win.patch index 172c30520b..2ebd2f0205 100644 --- a/mingw-w64-totem-pl-parser/001-win.patch +++ b/mingw-w64-totem-pl-parser/001-win.patch @@ -15,31 +15,3 @@ + g_free (dir); return NULL; } ---- ./plparse/meson.build -+++ ./plparse/meson.build -@@ -117,25 +117,5 @@ - install: true) - endif - --# Introspection --if not meson.is_cross_build() -- gnome.generate_gir(plparser_lib, -- sources: plparser_public_headers + plparser_sources + [ -- totem_pl_parser_marshalers[1], -- totem_pl_parser_builtins_h, -- features_h, -- ], -- namespace: 'TotemPlParser', -- nsversion: '1.0', -- identifier_prefix: 'TotemPl', -- symbol_prefix: 'totem_pl', -- includes: ['GObject-2.0', 'Gio-2.0'], -- extra_args: ['--identifier-prefix=TotemDisc', -- '--symbol-prefix=totem_disc', -- '--identifier-prefix=TotemCd', -- '--symbol-prefix=totem_cd', -- '--quiet'], -- install: true) --endif - - subdir('tests') diff --git a/mingw-w64-totem-pl-parser/PKGBUILD b/mingw-w64-totem-pl-parser/PKGBUILD index 4d8ff8b9e7..7660a4e3fd 100644 --- a/mingw-w64-totem-pl-parser/PKGBUILD +++ b/mingw-w64-totem-pl-parser/PKGBUILD @@ -3,7 +3,7 @@ _realname=totem-pl-parser pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=3.26.1 +pkgver=3.26.3 pkgrel=1 arch=('any') pkgdesc="Simple GObject-based library to parse and save a host of playlist formats (mingw-w64)" @@ -23,8 +23,8 @@ license=("LGPL 2") url="https://www.gnome.org" source=(https://download.gnome.org/sources/${_realname}/${pkgver%.*}/${_realname}-${pkgver}.tar.xz 001-win.patch) -sha256sums=('6ae2c4b8acaf052af21b8db256b6314385de031ba721a2dbdb361e90d4b4b74c' - 'b33249061d7dddff1a30cfb984d580006643a143b4559c3bbc46c9134f493c07') +sha256sums=('0efd01b8a0a9770d52fe7354d298874ed845449b88f3f78f49290729fc2d448d' + '370eabf2ec0b4d8182e4e5a474c0b63665bc278343243b6ad59f20dc94723771') noextract=(${_realname}-${pkgver}.tar.xz) prepare() { @@ -36,20 +36,24 @@ prepare() { build() { [[ -d "${srcdir}"/build-${MINGW_CHOST} ]] && rm -rf "${srcdir}"/build-${MINGW_CHOST} - mkdir -p build-${MINGW_CHOST} - cd build-${MINGW_CHOST} + mkdir -p build-${MINGW_CHOST} && cd build-${MINGW_CHOST} - meson \ + ${MINGW_PREFIX}/bin/meson \ --buildtype plain \ -Dwith_introspection=false \ ../${_realname}-${pkgver} - ninja + ${MINGW_PREFIX}/bin/ninja } package() { cd "${srcdir}/build-${MINGW_CHOST}" - DESTDIR=${pkgdir}${MINGW_PREFIX} ninja install + DESTDIR=${pkgdir}${MINGW_PREFIX} ${MINGW_PREFIX}/bin/ninja install + + local _PRE_WIN="$(cygpath -m ${MINGW_PREFIX})" + sed -e "s|${_PRE_WIN}|${MINGW_PREFIX}|g" \ + -i ${pkgdir}${MINGW_PREFIX}/lib/pkgconfig/totem-plparser.pc \ + -i ${pkgdir}${MINGW_PREFIX}/lib/pkgconfig/totem-plparser-mini.pc install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING.LIB" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING.LIB" }