diff options
author | Matt Housh <jaeger@crux.ninja> | 2020-11-14 15:11:33 -0600 |
---|---|---|
committer | Matt Housh <jaeger@crux.ninja> | 2020-11-14 15:11:33 -0600 |
commit | 71e00d88efd371016987ec327ff80f68a99ca276 (patch) | |
tree | 94677bf2abe9adb3b1c338268a7f968da9a508cb /sfml | |
parent | 79945f16dd470e72516c67568eb4e356a5d8d196 (diff) | |
parent | 145b859b2549fb1fe4eb16a6dc0f9807d2f1b462 (diff) | |
download | contrib-71e00d88efd371016987ec327ff80f68a99ca276.tar.gz contrib-71e00d88efd371016987ec327ff80f68a99ca276.tar.xz |
Merge branch '3.5' into 3.6
Diffstat (limited to 'sfml')
-rw-r--r-- | sfml/.signature | 4 | ||||
-rw-r--r-- | sfml/Pkgfile | 27 |
2 files changed, 14 insertions, 17 deletions
diff --git a/sfml/.signature b/sfml/.signature index 1d33cf1ac..0edeac13e 100644 --- a/sfml/.signature +++ b/sfml/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF31V3Uxf1/VyagJH04hlRb0pG8dmQPq94DiVZhWBDdSkIOn3U5cZVx2d8zbwYBjjUKJRMDMsSTtFUVotE6vUUewE= -SHA256 (Pkgfile) = 957d1d4268646d22c4d0dbbffcb74395e211a764e811836277a80ff7a7014e09 +RWSagIOpLGJF3/3rfg9olI1wkN4pNCEaquDbZW9o2RbHJux0L8v5aBLdGNlsOBmu8MGQ8Go5s/HjWNARLmxHeZmJfr/qvJ8UGww= +SHA256 (Pkgfile) = e7303ba5cf78abb0693a5335b645342d6925879b87f3b37b37d08a4e445aed03 SHA256 (.footprint) = b120eedbfb83112e81f89ca90ce8b5daa2e8e8afcead6bf8934e55e235e0e236 SHA256 (SFML-2.5.1-sources.zip) = bf1e0643acb92369b24572b703473af60bac82caf5af61e77c063b779471bb7f diff --git a/sfml/Pkgfile b/sfml/Pkgfile index 4ebd93437..f3b4f6c0e 100644 --- a/sfml/Pkgfile +++ b/sfml/Pkgfile @@ -9,22 +9,19 @@ release=1 source=(https://www.sfml-dev.org/files/SFML-$version-sources.zip) build() { - cd SFML-$version + cmake -S SFML-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ + -D SFML_INSTALL_PKGCONFIG_FILES=1 \ + -D SFML_USE_SYSTEM_DEPS=ON \ + -D SFML_BUILD_EXAMPLES=0 \ + -D SFML_BUILD_DOC=0 \ + -Wno-dev - install -d build - cd build - - cmake .. \ - -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_INSTALL_PREFIX='/usr' \ - -DSFML_INSTALL_PKGCONFIG_FILES=1 \ - -DSFML_USE_SYSTEM_DEPS=ON \ - -DSFML_BUILD_EXAMPLES=0 \ - -DSFML_BUILD_DOC=0 \ - - - make - make DESTDIR=$PKG install + cmake --build build + DESTDIR=$PKG cmake --install build rm -r $PKG/usr/share/SFML/{license,readme}.md } |