From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/system/glm/fix-endian-test.patch | 30 ------------------------------ repo/system/glm/glm.pc | 7 ------- repo/system/glm/glm.xibuild | 35 ----------------------------------- 3 files changed, 72 deletions(-) delete mode 100644 repo/system/glm/fix-endian-test.patch delete mode 100644 repo/system/glm/glm.pc delete mode 100644 repo/system/glm/glm.xibuild (limited to 'repo/system/glm') diff --git a/repo/system/glm/fix-endian-test.patch b/repo/system/glm/fix-endian-test.patch deleted file mode 100644 index ba2cce4..0000000 --- a/repo/system/glm/fix-endian-test.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/test/gtc/gtc_packing.cpp b/test/gtc/gtc_packing.cpp -index 5830999..86167c5 100644 ---- a/test/gtc/gtc_packing.cpp -+++ b/test/gtc/gtc_packing.cpp -@@ -5,6 +5,8 @@ - #include - #include - -+#include -+ - void print_bits(float const& s) - { - union -@@ -154,6 +156,7 @@ int test_U3x10_1x2() - Error += glm::all(glm::equal(v0, v1)) ? 0 : 1; - } - -+#if BYTE_ORDER == LITTLE_ENDIAN - glm::u8vec4 const v0(0xff, 0x77, 0x0, 0x33); - glm::uint32 const p0 = *reinterpret_cast(&v0[0]); - glm::uint32 const r0 = 0x330077ff; -@@ -165,7 +168,7 @@ int test_U3x10_1x2() - glm::uint32 const r1 = 0xc001dcff; - - Error += p1 == r1 ? 0 : 1; -- -+#endif - return Error; - } - diff --git a/repo/system/glm/glm.pc b/repo/system/glm/glm.pc deleted file mode 100644 index e3bb5ac..0000000 --- a/repo/system/glm/glm.pc +++ /dev/null @@ -1,7 +0,0 @@ -prefix=/usr -includedir=${prefix}/include - -Name: GLM -Description: OpenGL Mathematics -Version: 0.9.9 -Cflags: -I${includedir} diff --git a/repo/system/glm/glm.xibuild b/repo/system/glm/glm.xibuild deleted file mode 100644 index cd918c3..0000000 --- a/repo/system/glm/glm.xibuild +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -NAME="glm" -DESC="C++ mathematics library for graphics programming" - -MAKEDEPS="cmake " -DEPS="musl " - -PKG_VER=0.9.9.8 -SOURCE="https://github.com/g-truc/glm/archive/refs/tags/$PKG_VER/glm-$PKG_VER.tar.gz" -ADDITIONAL=" -fix-endian-test.patch -glm.pc -" - -build () { - cmake -B build -G Ninja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -DBUILD_SHARED_LIBS=True \ - -DBUILD_STATIC_LIBS=OFF - cmake --build build -} - -package () { - - mkdir -p $PKG_DEST/usr/include/ - cp -r glm $PKG_DEST/usr/include/ - - mkdir -p $PKG_DEST/usr/share/doc/ - cp -r doc $PKG_DEST/usr/share/doc/glm - - mkdir -p $PKG_DEST/usr/lib/pkgconfig - cp glm.pc $PKG_DEST/usr/lib/pkgconfig/ -} -- cgit v1.2.1