Could you change ge line to include 'f' so it doesn't ask the user for input during building?
rm -fr .git
As far as adding -git to the package don't
https://wiki.archlinux.org/index.php/VCS_package_guidelines
says
Suffix pkgname with -cvs, -svn, -hg, -darcs, -bzr, -git etc. unless the package fetches a specific release.
Building the package always seems to require patches and hacks so it's good to have a package that won't break because of a git update. Hopefuly I'm wrong on the last statemnt.
Keeping it updated according to the following may be easiest.
http://code.qt.io/cgit/qt/qtbase.git/log/src/3rdparty/angle
http://pkgs.fedoraproject.org/cgit/rpms/mingw-angleproject.git/
https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-angleproject-git
Search Criteria
Package Details: mingw-w64-angleproject 2.1.r6381.9f09037-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/mingw-w64-angleproject.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-angleproject |
Description: | ANGLE project (mingw-w64) |
Upstream URL: | https://chromium.googlesource.com/angle/angle/+/master/README.md |
Licenses: | BSD |
Conflicts: | mingw-w64-angleproject |
Provides: | mingw-w64-angleproject |
Submitter: | brcha |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 11 |
Popularity: | 0.000000 |
First Submitted: | 2013-04-23 18:00 (UTC) |
Last Updated: | 2016-12-04 17:05 (UTC) |
Dependencies (7)
- mingw-w64-crt (llvm-mingw-w64-toolchain-ucrt-binAUR, llvm-mingw-w64-toolchain-msvcrt-binAUR)
- depot-tools-gitAUR (teapot-gclientAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gyp-gitAUR (make)
- mingw-w64-gcc (mingw-w64-gcc132AUR, llvm-mingw-w64-toolchain-ucrt-binAUR, llvm-mingw-w64-toolchain-msvcrt-binAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python2AUR (python2-binAUR) (make)
Required by (2)
Sources (12)
- 0001-Provide-workaround-for-building-static-libs.patch
- 0002-Provide-Windows-XP-support.patch
- 0003-Fix-dynamic-libraries.patch
- 0004-Link-against-dxguid-d3d9-and-gdi32.patch
- 0005-Export-shader-API-via-libGLESv2.dll.patch
- 0006-Make-GLintptr-and-GLsizeiptr-match-those-from-Qt-5.patch
- 0007-Remove-copy_scripts-target.patch
- 0008-Fix-generation-of-commit_id.h.patch
- 0009-Ensure-dependencies-of-samples-are-found.patch
- 0010-Win32_system_utils.cpp-Make-implicit-cast-explicit.patch
- additional-mingw-header
- angleproject
ant32 commented on 2016-02-27 20:20 (UTC)
Martchus commented on 2016-02-21 22:40 (UTC) (edited on 2016-02-22 18:01 (UTC) by Martchus)
I adopted the package to fix the gyp dependency.
Since the current version is based on a snapshot from 2014 I also decided to update the package. However, I had to do a few adjustments to make it compile:
- I removed most of the patches since these can't be applied anymore. But it seems like all these patches aren't required anymore.
- I had to provide some header files which seem to be missing in mingw-w64-headers. I outsourced these headers to another repository because the max. upload size would be exceeded otherwise.
- I disable concurrent builds because building concurrently is broken.
- In the current version the static libs are created manually. As the selection of object files is no longer valid for the new version I decided to use "-D angle_gl_library_type=static_library" build flag to create the static libs with the build system.
I hope the package still works. At least my Qt 5 apps work with the new version without needing to recompile any Qt 5 packages.
As there are no official releases of the ANGLE project we might consider making this a *-git package? On the other side, compiling this might require some more adjustments in the future so sticking with a particular commit for a while isn't a bad idea either.
FreddieChopin commented on 2015-10-08 15:39 (UTC)
Just change the dependency in the PKGBUILD file from "gyp-svn" to "gyp-git" and it works.
kuldeep commented on 2015-06-28 13:01 (UTC)
http://sourceforge.net/projects/mingw-w64-archlinux/files/x86_64/ contain gyp-svn, hope this helps.
jeho commented on 2015-05-13 14:38 (UTC)
Looks like gyp-svn is no longer present but still in the dependencies.
ant32 commented on 2015-01-16 05:56 (UTC)
https://bugs.archlinux.org/task/43468
xantares commented on 2014-06-04 13:53 (UTC)
commit has been backported in mingw-w64-headers!
xan.
stas commented on 2014-05-05 21:28 (UTC)
Found mingw-w64 upstream patch to fix intrinsics conflict compilation problem with GCC 4.9.0.
Here is relevant commit: http://sourceforge.net/p/mingw-w64/code/6602/ .
stas commented on 2014-05-05 20:28 (UTC)
Cannot build this with mingw-w64 GCC 4.9.0 because of some declaration conflict between intrin.h from mingw-w64 and x86intrin.h from GCC 4.9.0.
I checked that the latest version of angleproject has some modifications which could fix this conflict but I am struggling to build latest version too.
I do not feel comfortable making any modifications in the source code because I have little knowledge in this project.
Has anybody succeeded building it with the latest MinGW-W64 GCC 4.9?
Any help will be appreciated. Thanks
Pinned Comments
Martchus commented on 2016-05-18 21:57 (UTC)