diff options
| author | coast <coasteen@proton.me> | 2026-10-12 14:41:07 +0330 |
|---|---|---|
| committer | coast <coasteen@proton.me> | 2026-10-12 14:41:07 +0330 |
| commit | 25922912c7e37f3bc3000e71b647e77677d8f2c5 (patch) | |
| tree | 8383c5569a668613eee384ee31ea8cddc2113ee5 /packages/media-libs/nanosvg/nanosvg-0.1.0.1.exheres-0 | |
| download | exherbo-overlay-main.tar.gz exherbo-overlay-main.tar.bz2 exherbo-overlay-main.tar.xz exherbo-overlay-main.tar.zst | |
Diffstat (limited to 'packages/media-libs/nanosvg/nanosvg-0.1.0.1.exheres-0')
| -rw-r--r-- | packages/media-libs/nanosvg/nanosvg-0.1.0.1.exheres-0 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/media-libs/nanosvg/nanosvg-0.1.0.1.exheres-0 b/packages/media-libs/nanosvg/nanosvg-0.1.0.1.exheres-0 new file mode 100644 index 0000000..5b9838f --- /dev/null +++ b/packages/media-libs/nanosvg/nanosvg-0.1.0.1.exheres-0 @@ -0,0 +1,35 @@ +# Copyright 2026 Gurov <thuggerthugger1@duck.com> +# Distributed under the terms of the GNU General Public License v2 + +require cmake + +NANOSVG_COMMIT="9da543e8329fdd81b64eb48742d8ccb09377aed1" + +SUMMARY="Simple stupid SVG parser" +HOMEPAGE="https://github.com/memononen/nanosvg" + +DOWNLOADS=" + https://github.com/memononen/nanosvg/archive/${NANOSVG_COMMIT}.tar.gz + -> ${PNV}.tar.gz +" + +LICENCES="ZLIB" +SLOT="0" +PLATFORMS="~amd64" + +CMAKE_SOURCE="${WORKBASE}/nanosvg-${NANOSVG_COMMIT}" + +DEFAULT_SRC_PREPARE_PATCHES=( + "${FILES}/nanosvg.patch" +) + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DBUILD_SHARED_LIBS=ON +) + +src_install() { + cmake_src_install + + insinto /usr/share/licenses/${PN} + newins "${CMAKE_SOURCE}/LICENSE.txt" LICENSE +} |
