Commit graph

7 commits

Author SHA1 Message Date
Yuri Victorovich
172081f9f4 graphics/libprojectm: fix build with GCC-based architectures
There are two issues here:
1. GLM requires at least GCC 4.7, base has 4.2. Add USES=compiler:c++11-lang to solve it.
2. the port uses typedefs from sys/types.h, but those are not included by default by GCC.

PR:		233748
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
2018-12-04 05:38:19 +00:00
Steve Wills
5a9571558c graphics/libprojectm: update to 3.1.0
PR:		232020
Approved by:	yuri (maintainer)
2018-10-27 03:26:55 +00:00
Yuri Victorovich
a0240d41a3 graphics/libprojectm: Update 2.0.1 -> 2.1.0
Port changes:
* Change to DISTVERSION
* Add LICENSE_FILE
* Add to LIB_DEPENDS
* Now depends on Qt4
* Add options PULSEAUDIO JACK
* Improve the .sample generting code

Remove graphics/projectm-libvisual: it is merged into libprojectm

PR:		229825
Approved by:	crees (removal of graphics/projectm-libvisual)
2018-07-17 18:18:56 +00:00
Jan Beich
8560f93ddc graphics/libprojectm: unbreak build with Clang 6 (C++14 by default)
MilkdropPresetFactory/Parser.cpp:1408:10: error: invalid operands to binary expression ('std::istream' (aka 'basic_istream<char>') and 'nullptr_t')
  if (fs == NULL)
      ~~ ^  ~~~~
Renderer/VideoEcho.cpp:77:30: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing]
                float pointsFlip[4][2] = {{-0.5*flipx, -0.5*flipy},
                                           ^~~~~~~~~~
Renderer/VideoEcho.cpp:77:30: note: insert an explicit cast to silence this issue
                float pointsFlip[4][2] = {{-0.5*flipx, -0.5*flipy},
                                           ^~~~~~~~~~
                                           static_cast<float>( )

Reported by:	pkg-fallout
Obtained from:	upstream
2018-01-21 02:24:22 +00:00
Koop Mast
e1add76b39 Update freetype2 to 2.6.2. [1]
Mark magicpoint broken, maintainer is notified.

Exp-runs run by antoine@

This version also fixes shadowing of TYPEOF in ftconfig.h [2]

PR:		203554 [1], 202083 [2]
Submitted by:	rhurlin@gwdg.de [2]
2015-12-10 22:13:58 +00:00
Koop Mast
b1bf1620a6 Update freetype to 2.5.2.
Remove patch to add -I/usr/local/include in freetype-config --cflags. If
ports need extra headers they should look for them, and not get them via
a side-effect.

Freetype had a header resuffle in 2.5.1, patch ports to use the new header
style.

Thanks go to bdrewery for the two exp-runs and rakuco for helping me with
some troublesome cmake ports.

PR:		ports/184587
2013-12-24 21:22:21 +00:00
John Marino
75fbb099dc graphics/libprojectm: add <sys/types.h>
Required with gcc48/binutils 2.23 for uint definition.

Approved by:	portmgr (bapt, implicit)
2013-10-30 15:16:28 +00:00