Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update build instructions
  • Loading branch information
sammycage authored Aug 28, 2024
1 parent 21214dc commit 49ddeed
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,33 @@ LunaSVG supports nearly all graphical features outlined in the SVG 1.1 and SVG 1

`<a>` `<circle>` `<clipPath>` `<defs>` `<ellipse>` `<g>` `<image>` `<line>` `<linearGradient>` `<marker>` `<mask>` `<path>` `<pattern>` `<polygon>` `<polyline>` `<radialGradient>` `<rect>` `<stop>` `<style>` `<svg>` `<symbol>` `<text>` `<tspan>` `<use>`

Here's a more concise version of the installation section:

---

## Installation

Ensure you have [Meson](http://mesonbuild.com) and [Ninja](http://ninja-build.org) installed.
Follow the steps below to install lunasvg using either [Meson](https://mesonbuild.com/) or [CMake](https://cmake.org/).

### Using Meson

```bash
git clone https://github.com/sammycage/lunasvg.git
cd plutovg
cd lunasvg
meson setup build
ninja -C build
ninja -C build install
```

### Using CMake

```bash
git clone --recursive https://github.com/sammycage/lunasvg.git
cd lunasvg
cmake -B build .
make -C build -j2
make -C build install
```

## Demo

LunaSVG provides a command-line tool `svg2png` for converting SVG files to PNG format.
Expand Down

0 comments on commit 49ddeed

Please sign in to comment.