Date: Tuesday, April 13, 2021 @ 15:07:03 Author: svenstaro Revision: 917296
archrelease: copy trunk to community-x86_64 Added: glfw/repos/community-x86_64/PKGBUILD (from rev 917295, glfw/trunk/PKGBUILD) Deleted: glfw/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 156 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-04-13 15:06:56 UTC (rev 917295) +++ PKGBUILD 2021-04-13 15:07:03 UTC (rev 917296) @@ -1,78 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> -# Contributor: philefou <tuxication AT gmail DOT com> -# Contributor: lindquist <to...@famolsen.dk> -# Contributor: Christoph Siegenthaler <c...@gmx.ch> -# Contributor: Mihai Militaru <mihai.milit...@ephemeros.org> -# Contributor: SpepS <dreamspepser at yahoo dot it> - -pkgbase=glfw -pkgname=('glfw-x11' 'glfw-wayland' 'glfw-doc') -pkgver=3.3.3 -pkgrel=1 -arch=('x86_64') -url="https://www.glfw.org/" -license=('custom:ZLIB') -makedepends=('mesa' 'cmake' 'doxygen' 'vulkan-headers' 'vulkan-icd-loader' - 'extra-cmake-modules' 'wayland-protocols' 'libxi' 'libxrandr' - 'libxcursor' 'libxkbcommon' 'libxinerama') -source=("https://github.com/glfw/glfw/archive/${pkgver}.tar.gz") -sha512sums=('6d743d89d159bff6c4f7fa3fc5bc407fd728bdc432d76acc4897fd392580be272f8a9d1d7c375c4323e82bf2fd28310e5daab097fef33e8f43b69ce104f9bd31') - -prepare() { - cd "$srcdir/$pkgbase-$pkgver" - mkdir build-x11 build-wayland -} - -build() { - cd "$srcdir/$pkgbase-$pkgver/build-x11" - - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=ON - make docs - - cd ../build-wayland - - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=ON \ - -DGLFW_USE_WAYLAND=ON -} - -package_glfw-x11() { - pkgdesc="A free, open source, portable framework for graphical application development (x11)" - depends=('libxi' 'libxrandr' 'libxinerama' 'libxcursor' 'libgl') - replaces=('glfw') - conflicts=('glfw') - provides=("glfw=$pkgver") - - cd "$srcdir/$pkgbase-$pkgver"/build-x11 - - make DESTDIR=$pkgdir install - - cd .. - install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" -} - -package_glfw-wayland() { - pkgdesc="A free, open source, portable framework for graphical application development (wayland)" - depends=('wayland' 'libxkbcommon' 'libgl') - conflicts=('glfw') - provides=("glfw=$pkgver") - - cd "$srcdir/$pkgbase-$pkgver"/build-wayland - - make DESTDIR=$pkgdir install - - cd .. - install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" -} - -package_glfw-doc() { - pkgdesc="Set of HTML documentation for GLFW" - - mkdir -p "${pkgdir}/usr/share/doc/glfw/" - cp -r "${srcdir}/glfw-${pkgver}/build-x11/docs/html" "${pkgdir}/usr/share/doc/glfw" -} Copied: glfw/repos/community-x86_64/PKGBUILD (from rev 917295, glfw/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-04-13 15:07:03 UTC (rev 917296) @@ -0,0 +1,78 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Contributor: philefou <tuxication AT gmail DOT com> +# Contributor: lindquist <to...@famolsen.dk> +# Contributor: Christoph Siegenthaler <c...@gmx.ch> +# Contributor: Mihai Militaru <mihai.milit...@ephemeros.org> +# Contributor: SpepS <dreamspepser at yahoo dot it> + +pkgbase=glfw +pkgname=('glfw-x11' 'glfw-wayland' 'glfw-doc') +pkgver=3.3.4 +pkgrel=1 +arch=('x86_64') +url="https://www.glfw.org/" +license=('custom:ZLIB') +makedepends=('mesa' 'cmake' 'doxygen' 'vulkan-headers' 'vulkan-icd-loader' + 'extra-cmake-modules' 'wayland-protocols' 'libxi' 'libxrandr' + 'libxcursor' 'libxkbcommon' 'libxinerama') +source=("https://github.com/glfw/glfw/archive/${pkgver}.tar.gz") +sha512sums=('2b45ab72da7a2c007c0f42ccd56205f9684cfb980e2b1df127850cd057bb2b02ce02c7c64acd54cd433778e7017148f214afedf09badff9d2edf5f9b8d9d2701') + +prepare() { + cd "$srcdir/$pkgbase-$pkgver" + mkdir build-x11 build-wayland +} + +build() { + cd "$srcdir/$pkgbase-$pkgver/build-x11" + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON + make docs + + cd ../build-wayland + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON \ + -DGLFW_USE_WAYLAND=ON +} + +package_glfw-x11() { + pkgdesc="A free, open source, portable framework for graphical application development (x11)" + depends=('libxi' 'libxrandr' 'libxinerama' 'libxcursor' 'libgl') + replaces=('glfw') + conflicts=('glfw') + provides=("glfw=$pkgver") + + cd "$srcdir/$pkgbase-$pkgver"/build-x11 + + make DESTDIR=$pkgdir install + + cd .. + install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" +} + +package_glfw-wayland() { + pkgdesc="A free, open source, portable framework for graphical application development (wayland)" + depends=('wayland' 'libxkbcommon' 'libgl') + conflicts=('glfw') + provides=("glfw=$pkgver") + + cd "$srcdir/$pkgbase-$pkgver"/build-wayland + + make DESTDIR=$pkgdir install + + cd .. + install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" +} + +package_glfw-doc() { + pkgdesc="Set of HTML documentation for GLFW" + + mkdir -p "${pkgdir}/usr/share/doc/glfw/" + cp -r "${srcdir}/glfw-${pkgver}/build-x11/docs/html" "${pkgdir}/usr/share/doc/glfw" +}