Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "OpenGL frontend to Freetype 2" |
| 2 | HOMEPAGE = "https://sourceforge.net/projects/ftgl/" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=527a83e92c7bf363025380eec05df6e4" |
| 5 | |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame] | 6 | inherit autotools pkgconfig features_check |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 7 | |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 8 | REQUIRED_DISTRO_FEATURES = "opengl x11" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 9 | |
| 10 | DEPENDS += " \ |
| 11 | freetype \ |
| 12 | freeglut \ |
| 13 | " |
| 14 | |
| 15 | SRC_URI = " \ |
| 16 | ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ |
| 17 | file://0001-use-pkg-config-to-find-freetype2.patch \ |
| 18 | file://0002-Makefile.am-remove-useless-and-breaking-code.patch \ |
| 19 | file://0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch \ |
| 20 | " |
| 21 | SRC_URI[md5sum] = "c7879018cde844059495b3029b0b6503" |
| 22 | SRC_URI[sha256sum] = "521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59" |
| 23 | |
| 24 | S = "${WORKDIR}/ftgl-2.1.3~rc5" |
| 25 | |
| 26 | # undefined reference to symbol 'sin@@GLIBC_2.4' |
| 27 | CFLAGS += "-lm" |