diff options
author | Aki <please@ignore.pl> | 2023-03-13 01:16:11 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-03-13 01:16:11 +0100 |
commit | f4a82177f3bea3e744cbc4acbd052fc7be31cab1 (patch) | |
tree | f95cd492fb076ecbb5f2794faa3ff2872b926f4e | |
parent | 62f4a0c38bf550af85984734283489189ea49af7 (diff) | |
download | arch-ignore-f4a82177f3bea3e744cbc4acbd052fc7be31cab1.zip arch-ignore-f4a82177f3bea3e744cbc4acbd052fc7be31cab1.tar.gz arch-ignore-f4a82177f3bea3e744cbc4acbd052fc7be31cab1.tar.bz2 |
Replaced raylib-both with just -static version
Current CMake+pkg-config configuration provided with raylib does not
properly handle case in which both library version are available.
-rw-r--r-- | raylib-static/.SRCINFO (renamed from raylib-both/.SRCINFO) | 4 | ||||
-rw-r--r-- | raylib-static/.gitignore (renamed from raylib-both/.gitignore) | 0 | ||||
-rw-r--r-- | raylib-static/PKGBUILD (renamed from raylib-both/PKGBUILD) | 18 |
3 files changed, 3 insertions, 19 deletions
diff --git a/raylib-both/.SRCINFO b/raylib-static/.SRCINFO index e68b15f..d4645cd 100644 --- a/raylib-both/.SRCINFO +++ b/raylib-static/.SRCINFO @@ -1,4 +1,4 @@ -pkgbase = raylib-both +pkgbase = raylib-static pkgdesc = Simple and easy-to-use game programming library pkgver = 4.2.0 pkgrel = 1 @@ -21,4 +21,4 @@ pkgbase = raylib-both source = git+https://github.com/raysan5/raylib#commit=bf2ad9df5fdcaa385b2a7f66fd85632eeebbadaa b2sums = SKIP -pkgname = raylib-both +pkgname = raylib-static diff --git a/raylib-both/.gitignore b/raylib-static/.gitignore index c7c61eb..c7c61eb 100644 --- a/raylib-both/.gitignore +++ b/raylib-static/.gitignore diff --git a/raylib-both/PKGBUILD b/raylib-static/PKGBUILD index 214995c..f92cdaa 100644 --- a/raylib-both/PKGBUILD +++ b/raylib-static/PKGBUILD @@ -1,5 +1,5 @@ _pkgname=raylib -pkgname=raylib-both +pkgname=raylib-static pkgver=4.2.0 pkgrel=1 pkgdesc='Simple and easy-to-use game programming library' @@ -15,20 +15,6 @@ b2sums=('SKIP') build() { cmake \ - -B shared \ - -D BUILD_EXAMPLES=OFF \ - -D BUILD_SHARED_LIBS=ON \ - -D CMAKE_BUILD_TYPE=Release \ - -D CMAKE_C_FLAGS="$CFLAGS -fPIC -w" \ - -D CMAKE_INSTALL_LIBDIR=lib \ - -D CMAKE_INSTALL_PREFIX=/usr \ - -D OpenGL_GL_PREFERENCE=GLVND \ - -D USE_EXTERNAL_GLFW=OFF \ - -D WITH_PIC=ON \ - -G Ninja \ - -S $_pkgname \ - -W no-dev - cmake \ -B static \ -D BUILD_EXAMPLES=OFF \ -D BUILD_SHARED_LIBS=OFF \ @@ -41,12 +27,10 @@ build() { -G Ninja \ -S $_pkgname \ -W no-dev - ninja -C shared ninja -C static } package() { - DESTDIR="$pkgdir" ninja -C shared install DESTDIR="$pkgdir" ninja -C static install install -Dm 644 "$_pkgname/LICENSE" \ "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" |