From: Ismaƫl Bouya Date: Thu, 14 Feb 2019 13:16:10 +0000 (+0100) Subject: Add 'dash-static/' from commit 'af87ed0a69deebf7b400d8f8d88ce2342913b7fa' X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FAUR.git;a=commitdiff_plain;h=383eef4b4134856f58fca6270d7cf713cf8a5400;hp=af87ed0a69deebf7b400d8f8d88ce2342913b7fa Add 'dash-static/' from commit 'af87ed0a69deebf7b400d8f8d88ce2342913b7fa' git-subtree-dir: dash-static git-subtree-mainline: a7f4e2376f48b5e35221be282d15c9b160204a67 git-subtree-split: af87ed0a69deebf7b400d8f8d88ce2342913b7fa --- diff --git a/README.md b/README.md new file mode 100644 index 0000000..9c90e17 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +https://github.com/eli-schwartz/aurpublish diff --git a/cal3d/.SRCINFO b/cal3d/.SRCINFO new file mode 100644 index 0000000..8c32203 --- /dev/null +++ b/cal3d/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 10:53:58 UTC 2019 +pkgbase = cal3d + pkgdesc = A skeletal-based 3D character animation library + pkgver = 0.11.0 + pkgrel = 7 + url = https://mp3butcher.github.io/Cal3D/ + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = patch + depends = gcc-libs + options = !libtool + source = https://mp3butcher.github.io/Cal3D/sources/cal3d-0.11.0.tar.gz + source = cal3d-gcc43.diff + sha512sums = 4dc4b36b8f18760bfe6f8c80cbd941c14e2ebe596d0cd514fdb1ae4175bf2706e125665272d67ff21d33bb4b34e7be22bad9c00d488c1da21f442550bf3f204f + sha512sums = 8f7694ac240a7cbfc198d8e481ab87901d0256defffb1601f68ef39463bf1471e29e13d147e9a6463113afa0e93f317c2ef99aa19633b4e597e6347c38a64f42 + +pkgname = cal3d + diff --git a/cal3d/PKGBUILD b/cal3d/PKGBUILD new file mode 100644 index 0000000..c7507da --- /dev/null +++ b/cal3d/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer : Immae + +pkgname=cal3d +pkgver=0.11.0 +pkgrel=7 +pkgdesc="A skeletal-based 3D character animation library" +arch=(i686 x86_64) +url="https://mp3butcher.github.io/Cal3D/" +options=(!libtool) +license=(GPL2) +depends=('gcc-libs') +makedepends=('patch') +source=(https://mp3butcher.github.io/Cal3D/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff) +sha512sums=('4dc4b36b8f18760bfe6f8c80cbd941c14e2ebe596d0cd514fdb1ae4175bf2706e125665272d67ff21d33bb4b34e7be22bad9c00d488c1da21f442550bf3f204f' + '8f7694ac240a7cbfc198d8e481ab87901d0256defffb1601f68ef39463bf1471e29e13d147e9a6463113afa0e93f317c2ef99aa19633b4e597e6347c38a64f42') +build() { + cd "${pkgname}-$pkgver" + patch -p0 < ../cal3d-gcc43.diff + sed -i -e "s/return false/return 0/" src/cal3d/loader.cpp + ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-$pkgver" + make DESTDIR=${pkgdir} install +} diff --git a/cal3d/cal3d-gcc43.diff b/cal3d/cal3d-gcc43.diff new file mode 100644 index 0000000..fc61235 --- /dev/null +++ b/cal3d/cal3d-gcc43.diff @@ -0,0 +1,53 @@ +--- src/cal3d/hardwaremodel.cpp ++++ src/cal3d/hardwaremodel.cpp +@@ -24,6 +24,7 @@ + #include "cal3d/coreskeleton.h" + #include "cal3d/skeleton.h" + ++#include + + /*****************************************************************************/ + /** Constructs the hardware model instance. +--- src/cal3d/platform.cpp ++++ src/cal3d/platform.cpp +@@ -18,6 +18,8 @@ + + #include "cal3d/platform.h" + ++#include ++ + /*****************************************************************************/ + /** Constructs the platform instance. + * +--- src/cal3d/renderer.cpp ++++ src/cal3d/renderer.cpp +@@ -29,6 +29,8 @@ + #include "cal3d/coresubmesh.h" + #include "cal3d/physique.h" + ++#include ++ + /*****************************************************************************/ + /** Constructs the renderer instance. + * +--- src/cal3d/submesh.cpp ++++ src/cal3d/submesh.cpp +@@ -16,6 +16,7 @@ + #include "cal3d/error.h" + #include "cal3d/coresubmesh.h" + ++#include + + CalSubmesh::CalSubmesh(CalCoreSubmesh* coreSubmesh) + { +--- src/cal3d_converter.cpp ++++ src/cal3d_converter.cpp +@@ -11,6 +11,8 @@ + + #include "cal3d/cal3d.h" + ++#include ++ + #define SKELETON 0 + #define MESH 1 + #define ANIMATION 2 diff --git a/.SRCINFO b/dash-static/.SRCINFO similarity index 100% rename from .SRCINFO rename to dash-static/.SRCINFO diff --git a/PKGBUILD b/dash-static/PKGBUILD similarity index 100% rename from PKGBUILD rename to dash-static/PKGBUILD