forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/libmypaint: 1.3.0_beta1 (bug #569548)
Package-Manager: portage-2.2.28
- Loading branch information
Showing
3 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST libmypaint-1.3.0-beta.1.tar.xz 421424 SHA256 d39138b21b9057376138e64f09f4c4741a14a7baed71d6f0ba9bc2504d69f9ee SHA512 ae98ec8947d521749d82bc1e683efcace2da7e3c8b8453e79e5191d65225f0963394344628d646947f79b141503d268277d26ce2eeaf482bbe24f1bfb1d103fa WHIRLPOOL af50526090b0613d3eca89dd8a6773f93889d2b966263e1497c8008bf2ef73c491559ddb5c14a3bfa9c4d407755780b4a9d54a2f6a572eedf2a9415d6ce4ef45 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
PYTHON_COMPAT=( python2_7 ) | ||
|
||
inherit python-any-r1 | ||
|
||
MY_PV=${PV/_beta/-beta.} | ||
MY_P=${PN}-${MY_PV} | ||
|
||
DESCRIPTION="Library for making brushstrokes" | ||
HOMEPAGE="https://github.com/mypaint/libmypaint" | ||
SRC_URI="https://github.com/mypaint/libmypaint/releases/download/v${MY_PV}/${MY_P}.tar.xz" | ||
|
||
LICENSE="ISC" | ||
SLOT="0/0" # first soname component for subslot | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="gegl introspection nls openmp" | ||
|
||
CDEPEND=" | ||
dev-libs/glib:2 | ||
dev-libs/json-c | ||
gegl? ( | ||
media-libs/babl | ||
media-libs/gegl:0.3[introspection?] | ||
) | ||
introspection? ( >=dev-libs/gobject-introspection-1.32 ) | ||
openmp? ( sys-devel/gcc:*[openmp] ) | ||
nls? ( sys-devel/gettext ) | ||
" | ||
DEPEND="${CDEPEND} | ||
${PYTHON_DEPS} | ||
nls? ( dev-util/intltool ) | ||
" | ||
RDEPEND="${CDEPEND} | ||
!<media-gfx/mypaint-1.2.2 | ||
" | ||
|
||
S="${WORKDIR}"/${MY_P} | ||
|
||
src_configure() { | ||
econf \ | ||
--disable-debug \ | ||
--disable-docs \ | ||
$(use_enable gegl) \ | ||
--disable-gperftools \ | ||
$(use_enable nls i18n) \ | ||
$(use_enable introspection) \ | ||
$(use_enable openmp) \ | ||
--disable-profiling | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Sebastian Pipping</name> | ||
</maintainer> | ||
<use> | ||
<flag name="gegl">Add support for <pkg>media-libs/gegl</pkg></flag> | ||
</use> | ||
</pkgmetadata> |