diff options
-rw-r--r-- | .SRCINFO | 33 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 46 insertions, 28 deletions
@@ -1,7 +1,7 @@ pkgbase = cog pkgdesc = WPE launcher and webapp container - pkgver = 0.4.0 - pkgrel = 2 + pkgver = 0.18.3 + pkgrel = 3 url = https://github.com/Igalia/cog arch = i686 arch = x86_64 @@ -9,20 +9,29 @@ pkgbase = cog arch = armv7l arch = armv7h groups = wpe - license = custom:MIT - makedepends = cmake - depends = wpewebkit>=2.26.0 - depends = wpebackend-fdo>=1.4.0 + license = MIT + makedepends = meson + makedepends = wayland-protocols + makedepends = libxcb + makedepends = libxkbcommon-x11 + makedepends = gtk4 + makedepends = weston + depends = wpewebkit>=2.42.5-3 + depends = wpebackend-fdo>=1.10.0 + depends = libinput + depends = libmanette + optdepends = libxcb: x11 platform support + optdepends = libxkbcommon-x11: x11 platform support + optdepends = gtk4: gtk4 platform support conflicts = cog-git - source = https://wpewebkit.org/releases/releases/cog-0.4.0.tar.xz - source = https://wpewebkit.org/releases/releases/cog-0.4.0.tar.xz.asc + source = https://wpewebkit.org/releases/cog-0.18.3.tar.xz + source = https://wpewebkit.org/releases/cog-0.18.3.tar.xz.asc validpgpkeys = 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B - md5sums = 75a0838ee6c81bb8df1b254f525440a6 + md5sums = e457de5b5ac8994ae9971c0a5a22b8a2 md5sums = SKIP - sha1sums = 284d2a641e6269b296057918602c8c94eb831527 + sha1sums = 21df2a84c651b45e78d08e45e71631250a0078c3 sha1sums = SKIP - sha256sums = e9c13a51232434b7340a419b1e6f59c40c582cd80c8e60bd9ec7de16c904fc03 + sha256sums = cd4ec937175a290ccd7c8ec398e4569aec04084cd94b11b2d83518778ba9d055 sha256sums = SKIP pkgname = cog - @@ -1,32 +1,41 @@ # Maintainer: Adrian Perez de Castro <aperez@igalia.com> pkgdesc='WPE launcher and webapp container' pkgname=cog -pkgver=0.4.0 -pkgrel=2 +pkgver=0.18.3 +pkgrel=3 url=https://github.com/Igalia/cog arch=(i686 x86_64 aarch64 armv7l armv7h) groups=(wpe) conflicts=(cog-git) -depends=('wpewebkit>=2.26.0' 'wpebackend-fdo>=1.4.0') -makedepends=(cmake) -license=(custom:MIT) -source=("https://wpewebkit.org/releases/releases/${pkgname}-${pkgver}.tar.xz" - "https://wpewebkit.org/releases/releases/${pkgname}-${pkgver}.tar.xz.asc") +depends=('wpewebkit>=2.42.5-3' 'wpebackend-fdo>=1.10.0' libinput libmanette) +makedepends=(meson wayland-protocols libxcb libxkbcommon-x11 gtk4 weston) +optdepends=('libxcb: x11 platform support' + 'libxkbcommon-x11: x11 platform support' + 'gtk4: gtk4 platform support') +license=(MIT) +source=("https://wpewebkit.org/releases/${pkgname}-${pkgver}.tar.xz" + "https://wpewebkit.org/releases/${pkgname}-${pkgver}.tar.xz.asc") validpgpkeys=('5AA3BC334FD7E3369E7C77B291C559DBE4C9123B') -md5sums=('75a0838ee6c81bb8df1b254f525440a6' 'SKIP') -sha1sums=('284d2a641e6269b296057918602c8c94eb831527' 'SKIP') -sha256sums=('e9c13a51232434b7340a419b1e6f59c40c582cd80c8e60bd9ec7de16c904fc03' 'SKIP') +md5sums=('e457de5b5ac8994ae9971c0a5a22b8a2' 'SKIP') +sha1sums=('21df2a84c651b45e78d08e45e71631250a0078c3' 'SKIP') +sha256sums=('cd4ec937175a290ccd7c8ec398e4569aec04084cd94b11b2d83518778ba9d055' 'SKIP') build () { - cmake -H"${pkgname}-${pkgver}" -Bbuild \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib - cmake --build build + rm -rf _build + arch-meson \ + -D documentation=false \ + -D manpages=true \ + -D platforms=drm,gtk4,headless,wayland,x11 \ + -D programs=true \ + -D wayland_weston_content_protection=true \ + -D wayland_weston_direct_display=true \ + -D wpe_api=2.0 \ + _build "${pkgname}-${pkgver}" + meson compile -C _build } package () { - DESTDIR="${pkgdir}" cmake --build build --target install + meson install -C _build --destdir "${pkgdir}" install -Dm644 "${pkgname}-${pkgver}/COPYING" \ "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" |