-
Notifications
You must be signed in to change notification settings - Fork 10
Please add GLFW #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The build is relatively straightforward. Extract from Still need to sort out the license files and any other special packing needs. +glfw-3*)
+cd $WRKDIR/$PACK
+# zip file has on extra dir
+cd $PACK
+sed -i "s/set(GLFW_LIB_NAME glfw3)/set(GLFW_LIB_NAME glfw3${DLLSUFFIX})/" src/CMakeLists.txt
+
+mkdir _build
+cd _build
+
+xxrun cmake -G 'MSYS Makefiles' -DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF -DCMAKE_INSTALL_PREFIX=$OUT ..
+xxrun make
+xxrun make install
+
+;;
+ |
If it helps, it's on nuget at https://www.nuget.org/packages/glfw/ - there's a Chocolatey package too but of a 10-year-old version. The licencing stuff I just went through with Debian packaging, see https://salsa.debian.org/perl-team/modules/packages/libopengl-glfw-perl/-/blob/debian/latest/debian/copyright?ref_type=heads What I'm actually after is that the CPAN library OpenGL::GLFW also be bundled in Strawberry, since we'll be switching to use that. |
Thanks. The license note concerns setting up the packaging script to find the correct license file and include it in the zip file. I can look at packaging OpenGL::GLFW once this is sorted. |
Further notes: PDL::Graphics::TriD now depends on OpenGL::GLFW so a PDL edition would need this executed. Also for Windows, I made this update to the CI using |
As discussed on StrawberryPerl/Perl-Dist-Strawberry#233 (comment)
The text was updated successfully, but these errors were encountered: