blob: d9aa91441cb784d717092a04d52f2b520f729893 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class Rmlab(CMakePackage):
"""C++ File API for the reMarkable tablet"""
homepage = "https://github.com/ax3l/lines-are-beautiful"
git = "https://github.com/ax3l/lines-are-beautiful.git"
maintainers("ax3l")
license("GPL-3.0-or-later")
version("develop", branch="develop")
variant("png", default=True, description="Enable PNG conversion support")
# modern CMake
depends_on("cmake@3.7.0:", type="build")
# C++11
conflicts("%gcc@:4.7")
conflicts("%intel@:15")
conflicts("%pgi@:14")
depends_on("pngwriter@0.6.0:", when="+png")
def cmake_args(self):
args = [self.define_from_variant("Rmlab_USE_PNG", "png")]
return args
|