diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
commit | b284a3168fa91a038925d2ecf5e4791011ea5e7d (patch) | |
tree | 16fe44748708acacd909d4e2e160a09a7f6d936a /media-gfx/displaycal | |
parent | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff) |
gentoo resync : 18.11.2019
Diffstat (limited to 'media-gfx/displaycal')
-rw-r--r-- | media-gfx/displaycal/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/displaycal/displaycal-3.8.8.1.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/media-gfx/displaycal/Manifest b/media-gfx/displaycal/Manifest index f48d826f2b24..c466bbc4f161 100644 --- a/media-gfx/displaycal/Manifest +++ b/media-gfx/displaycal/Manifest @@ -1,5 +1,7 @@ DIST DisplayCAL-3.8.7.0.tar.gz 10619677 BLAKE2B 9b697d3548bd3a2a7a5f2bb38589bdd7e67ff964b613371a83ae11ec1a114874283d67a442f4336a1d50e86fe127ae755ea68865de112ea83520def404a6e715 SHA512 f47cda64648ef59c211aa54993ee423e80caf26f8942de88672e430bec7976d83f15c58fe9df8217217be48a1b36e8c3342fc3baf862077fe229da214fd38400 DIST DisplayCAL-3.8.7.1.tar.gz 10621039 BLAKE2B be4e350a63efb615a363aea36e4e92bc837d0021088ab28f78e92ba0743af5e3930812c1154d32ff06d301461d44b50b483ea15e6954943204974cc264918057 SHA512 67f49b3ae85620f9e9c7e9d4162538f78ab160a590e6cb95f78203045e0d2d8d604abe3ab533030e9359d70292a8b7dd02174c99b3143fabd7ca27a3b07a5626 +DIST DisplayCAL-3.8.8.1.tar.gz 10625317 BLAKE2B 3e988221ee7d75d5a34b1cd69ab80737017c7e7a0fa16c3bc1587210b6b1108e623a3ccada3be8b99fae4c0a70f2cf45293222232f87f0ac13fedf2a1f22fcbd SHA512 e16cdc4590274f10fc122e18a5d94a1d326c43bc132e7af97c6f28c5a656f02203cfb7c73b92fa98d3ee2a8bbf560514615bc9b34c881d2758a5a6f2867092b3 EBUILD displaycal-3.8.7.0.ebuild 1597 BLAKE2B b916779c94482492e7c5afb4c14df42112e57aacc9abd225ff6734aa1b826329a60077dfcf4f36ca2a0d423036e16126a151226b47a992770b1048735c7a07d0 SHA512 6be4e0594baa19567b31f7a1daeabcfc1bb6a9a21c8212003de604588dfcff97ec97c17f18c2dd7ab910e6dcf69697c0f50a1e4be623e3f798bc8661bceb3e82 EBUILD displaycal-3.8.7.1.ebuild 1597 BLAKE2B b916779c94482492e7c5afb4c14df42112e57aacc9abd225ff6734aa1b826329a60077dfcf4f36ca2a0d423036e16126a151226b47a992770b1048735c7a07d0 SHA512 6be4e0594baa19567b31f7a1daeabcfc1bb6a9a21c8212003de604588dfcff97ec97c17f18c2dd7ab910e6dcf69697c0f50a1e4be623e3f798bc8661bceb3e82 +EBUILD displaycal-3.8.8.1.ebuild 1597 BLAKE2B b916779c94482492e7c5afb4c14df42112e57aacc9abd225ff6734aa1b826329a60077dfcf4f36ca2a0d423036e16126a151226b47a992770b1048735c7a07d0 SHA512 6be4e0594baa19567b31f7a1daeabcfc1bb6a9a21c8212003de604588dfcff97ec97c17f18c2dd7ab910e6dcf69697c0f50a1e4be623e3f798bc8661bceb3e82 MISC metadata.xml 342 BLAKE2B e74a7767c5b6e82bd35776606de555f9d4f26a25727decc6b0216fa3ea27cee8f28a7749e46b842c52e403c5150b24b4e33e0b971bd49077814e7945ee8cc290 SHA512 f9d5979fc8525c40af8d4e64afb8264873b0ae7cda1e9c4f3b3f30957c2a4f7fcbab76002783213a896395e8b5ef78e315441c28872589a91a0035d5f346d317 diff --git a/media-gfx/displaycal/displaycal-3.8.8.1.ebuild b/media-gfx/displaycal/displaycal-3.8.8.1.ebuild new file mode 100644 index 000000000000..6d9baac97b2a --- /dev/null +++ b/media-gfx/displaycal/displaycal-3.8.8.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 gnome2-utils xdg + +MY_PN="DisplayCAL" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Display calibration and characterization powered by Argyll CMS" +HOMEPAGE="https://displaycal.net/" +SRC_URI="mirror://sourceforge/dispcalgui/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + >=media-gfx/argyllcms-1.1.0 + dev-python/wxpython:3.0[${PYTHON_USEDEP}] + >=x11-libs/libX11-1.3.3 + >=x11-apps/xrandr-1.3.2 + >=x11-libs/libXxf86vm-1.1.0 + >=x11-libs/libXinerama-1.1 +" +RDEPEND="${DEPEND} + dev-python/faulthandler[${PYTHON_USEDEP}] + >=dev-python/numpy-1.2.1[${PYTHON_USEDEP}] +" + +# Just in case someone renames the ebuild +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Do not generate udev/hotplug files + sed -e '/if os.path.isdir/s#/etc/udev/rules.d\|/etc/hotplug#\0-non-existant#' \ + -i DisplayCAL/setup.py || die + # Prohibit setup from running xdg-* programs, resulting to sandbox violation + sed -e '/if which/s#xdg-icon-resource#\0-non-existant#' \ + -e '/if which/s#xdg-desktop-menu#\0-non-existant#' \ + -i DisplayCAL/postinstall.py || die + + # Remove deprecated Encoding key from .desktop file + sed -e '/Encoding=UTF-8/d' -i misc/*.desktop || die + + # Remove x-world Media Type + sed -e 's/x\-world\/x\-vrml\;//g' \ + -i misc/displaycal-vrml-to-x3d-converter.desktop || die + + distutils-r1_src_prepare +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update +} |