Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchurl,
libGLU,
libGL,
glew,
freetype,
fontconfig,
fribidi,
libX11,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "quesoglc";
version = "0.7.2";
src = fetchurl {
url = "mirror://sourceforge/quesoglc/quesoglc-${finalAttrs.version}.tar.bz2";
hash = "sha256-VP7y7mhRct80TQb/RpmkQRQ7h6vtDVFFJK3E+JukyTE=";
};
buildInputs = [
libGLU
libGL
glew
freetype
fontconfig
fribidi
libX11
];
# required for cross builds
configureFlags = [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
"ac_cv_func_memcmp_working=yes"
];
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
# FIXME: Configure fails to use system glew.
meta = {
description = "Free implementation of the OpenGL Character Renderer";
longDescription = ''
QuesoGLC is a free (as in free speech) implementation of the OpenGL
Character Renderer (GLC). QuesoGLC is based on the FreeType library,
provides Unicode support and is designed to be easily ported to any
platform that supports both FreeType and the OpenGL API.
'';
homepage = "https://quesoglc.sourceforge.net/";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
};
})