add Emby Theater
This commit is contained in:
3
dev-python/pygobject-cairo/Manifest
Normal file
3
dev-python/pygobject-cairo/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST pygobject-3.36.1.tar.xz 556568 BLAKE2B cd38aec8e71ff230926327e77867d07ae0fd5549b71619301bb3be01821ea93e557ecf335ea238292176981a864b269eaa2a86da47e8fb320f187f54caf24dc4 SHA512 5e00dcd03dfe4f92acbf827c13c164b6b9740b2a8cef3b2dce70f96a2156fee2411c84dc669f12b910f4a93daa03ba845282832e2b09d8c887102d43764a345f
|
||||
EBUILD pygobject-cairo-3.36.1.ebuild 2032 BLAKE2B d3608765dd2e43bdf0d6198a8959155db58232fadb70cc42829086fbdf9e959e1d056982d4504f1b716e707d655f8ce16f8576f85489ef89068740bc8ded1072 SHA512 96489caa79a01780edacb57fa2bcbb288246198aa37a0daeb28d4775a5aa0947bc773a14a31a9a4f7694b1336cae3e86cad8af2ee4d70eedf224896a1f3ece5a
|
||||
MISC metadata.xml 353 BLAKE2B 20a18942138d7ceab468b01a639f92248bf94f0e6a015a0c6c34872cf60ab56ef91d9b36eebc74b3d3133ecbc6cfbf2aedbc24369165d0fe9a4e832394beb022 SHA512 abcb7bb015ebb246584f60f388837ed0638040f730111831b52716cbc5a9c4ab0c422397702e1d87e56b2947108d5cfa5aeac7489bcd6f89db480c68c572bcdc
|
||||
12
dev-python/pygobject-cairo/metadata.xml
Normal file
12
dev-python/pygobject-cairo/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
79
dev-python/pygobject-cairo/pygobject-cairo-3.36.1.ebuild
Normal file
79
dev-python/pygobject-cairo/pygobject-cairo-3.36.1.ebuild
Normal file
@@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} )
|
||||
|
||||
REAL_PN="${PN/-cairo}"
|
||||
GNOME_ORG_MODULE="${REAL_PN}"
|
||||
|
||||
inherit gnome.org meson python-r1 virtualx xdg
|
||||
|
||||
DESCRIPTION="Python bindings for GObject Introspection"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/glib-2.48:2
|
||||
>=dev-libs/gobject-introspection-1.54:=
|
||||
virtual/libffi:=
|
||||
~dev-python/pygobject-base-${PV}
|
||||
>=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}]
|
||||
x11-libs/cairo[glib]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
x11-libs/cairo[glib]
|
||||
test? (
|
||||
dev-libs/atk[introspection]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf:2[introspection,jpeg]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/pango[introspection] )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
configuring() {
|
||||
meson_src_configure \
|
||||
-Dpycairo=true \
|
||||
-Dpython="${EPYTHON}"
|
||||
}
|
||||
|
||||
python_foreach_impl configuring
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl meson_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
|
||||
local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484
|
||||
|
||||
testing() {
|
||||
local -x XDG_CACHE_HOME="${T}/${EPYTHON}"
|
||||
meson_src_test || die "test failed for ${EPYTHON}"
|
||||
}
|
||||
virtx python_foreach_impl testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installing() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl installing
|
||||
rm $(find "${ED}" -type f | grep -v "gi/_gi_cairo.*\.so") \
|
||||
$(find "${ED}" -type l | grep -v "gi/_gi_cairo.*\.so") || die
|
||||
find "${ED}" -depth -type d -empty -exec rmdir {} \; || die
|
||||
|
||||
use examples && dodoc -r examples
|
||||
}
|
||||
Reference in New Issue
Block a user