Skip to content

Commit

Permalink
media-libs/libmypaint: 1.3.0_beta1 (bug #569548)
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28
  • Loading branch information
hartwork committed Jul 18, 2016
1 parent cc30010 commit 76d49b5
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-libs/libmypaint/Manifest
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
53 changes: 53 additions & 0 deletions media-libs/libmypaint/libmypaint-1.3.0_beta1.ebuild
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
}
11 changes: 11 additions & 0 deletions media-libs/libmypaint/metadata.xml
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>

0 comments on commit 76d49b5

Please sign in to comment.