diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-08-04 18:23:33 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-08-04 18:29:35 +0900 |
commit | 0ca9e8b541a28974c6aa1f3a5399fb0d88c91373 (patch) | |
tree | 28ea4687c06bac20cf68eac8e29d92bf487b7771 | |
parent | dev-cpp/toml11: add 4.1.0 (diff) | |
download | guru-0ca9e8b541a28974c6aa1f3a5399fb0d88c91373.tar.gz guru-0ca9e8b541a28974c6aa1f3a5399fb0d88c91373.tar.bz2 guru-0ca9e8b541a28974c6aa1f3a5399fb0d88c91373.zip |
media-gfx/azpainter: add 3.0.8
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
-rw-r--r-- | media-gfx/azpainter/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/azpainter/azpainter-3.0.8.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/media-gfx/azpainter/Manifest b/media-gfx/azpainter/Manifest index 3e8a36894..4293d6aa6 100644 --- a/media-gfx/azpainter/Manifest +++ b/media-gfx/azpainter/Manifest @@ -1 +1,2 @@ DIST azpainter-v3.0.7.tar.bz2 992188 BLAKE2B a027ddcc424a3d3edaeae3a50e5c8bf24214f1420f1e99aaae0ddcc3ec7401a032b7aea5181e0efc7c55855deb65580d355ee2859f7603bb321b461f2cf57843 SHA512 bf46b4a895bb4a2abf4d88442eacee3d580ae93a07de281af4bf57397b08dcd88fa8064693e54d285e101463fc010ebec4e0d54d735e0c26a4cbdacd4ce11a0d +DIST azpainter-v3.0.8.tar.bz2 993619 BLAKE2B beca5c3e7f39547c35f2de38933b15ba5fb8b9a840e37b66a9b8371b2a41bdf935556907778bcaf5f669ab76cf414fd766c322fa35d60c07add440f577341068 SHA512 2584e2feb7e4c9853482ab04940c7e2766571a64d76a0f6637fb65d50011b49f1f69d4db718083b90ae6067d6de6898d87e2bf6a8612ba9014267196842b339c diff --git a/media-gfx/azpainter/azpainter-3.0.8.ebuild b/media-gfx/azpainter/azpainter-3.0.8.ebuild new file mode 100644 index 000000000..4a809f415 --- /dev/null +++ b/media-gfx/azpainter/azpainter-3.0.8.ebuild @@ -0,0 +1,63 @@ +# Copyright 2018-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo ninja-utils toolchain-funcs xdg + +DESCRIPTION="Full color painting software for Linux for illustration drawing" +HOMEPAGE="http://azsky2.html.xdomain.jp/soft/azpainter.html + https://gitlab.com/azelpg/azpainter" +SRC_URI="https://gitlab.com/azelpg/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + media-libs/fontconfig + media-libs/freetype + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/libwebp:= + media-libs/tiff:= + sys-libs/zlib:= + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXi +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${NINJA_DEPEND} + virtual/pkgconfig +" + +DOCS=( + about_mlk_en.txt + about_mlk_ja.txt + translation/tool/about-en.txt + translation/tool/about-ja.txt +) + +PATCHES=( "${FILESDIR}/${PN}-3.0.7-strict-aliasing.patch" ) + +src_prepare() { + sed -i "s|cc|$(tc-getCC)|" configure || die + sed -i "s|ar rc|$(tc-getAR) rc|" build.ninja.in || die + sed -i "s|doc/@PACKAGE_NAME@|doc/${PF}|" install.sh.in || die + default +} + +src_configure() { + edo sh ./configure --prefix="${EPREFIX}/usr" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_compile() { + eninja -C build +} + +src_install() { + DESTDIR="${D}" eninja -C build install +} |