File: README.md

package info (click to toggle)
mypaint-brushes 1.3.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,336 kB
  • sloc: makefile: 377; sh: 149
file content (42 lines) | stat: -rw-r--r-- 1,348 bytes parent folder | download
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
35
36
37
38
39
40
41
42
mypaint-brushes - MyPaint brushes
=================================

Brushes used by MyPaint and other software using libmypaint.

This data package is versionned. This are the brushes to be used by
libmypaint 1.x, not the ones to be used by current development version
(libmypaint 2.x; which has no releases to the day of writing).

Building
---------

mypaint-brushes package can be installed as a typical autotools build:

> ./configure --prefix=/some/prefix && make && make install

See also `INSTALL` file.

There are also historical scons scripts, but they work only with scons
2.x (and in particular not newer scons 3, based on Python 3):

# Normal build
> scons prefix=/your/application/install/prefix

# Show build options
> scons -h

Using the brushes with pkg-config
---------------------------------

If your application needs libmypaint 1.x brushes, you can make the
module "mypaint-brushes-1.0" a dependency with pkg-config.

For a C/C++ program, the CFlags generated by pkg-config will define the
macro MYPAINT_BRUSHES_DIR, usable in your code in order to get the path
for all mypaint default brushes.

For programs in other languages, you can use the variable `brushesdir`
to get the same information with pkg-config and insert this value in
your program in the relevant way.

> pkg-config --variable=brushesdir mypaint-brushes-1.0