media-gfx/dispcalgui: remove in favor of upstream ebuild

This commit is contained in:
Anton Schubert 2017-10-30 23:46:51 +01:00
parent bfa78fe419
commit 2de909f651
2 changed files with 0 additions and 76 deletions

View file

@ -1,2 +0,0 @@
DIST dispcalGUI-3.0.4.2.tar.gz 8952321 SHA256 a56a698540603eadb56980e7a485fad748646f36a056d0f45225532938343f0b SHA512 15cb084495f48f83bad90b5e10ca154121c65b60787ffcff171033e5beb2852dbba7dbfdccfaba338b892879ea9806417de56556c14e3ec318d8a040b2e54e25 WHIRLPOOL 053d0ca0b49b0efb073aa9df6cc440fdfc1780570ec3a24c22eeefd3f00e0e4b0712ce2202738716b82a2a3f7016de9c5db10d6422801ba22bc6273b9e565af2
EBUILD dispcalgui-3.0.4.2.ebuild 1969 SHA256 2d483c1a8b89f66893a86537a7f7d115a311d45e03ecf306f5d63583d3e2ec09 SHA512 cc9a6debee95e4296a88db77413163e8e4aac6247f613c6c439c788e287a6a1b1f371248e6c0da0ecd7bbd84b2989f99ea6a63c1f91aa299817c0ba8c90fdd40 WHIRLPOOL a658bdb9d434be27da8a8ab878518310bd188bfdf733d424fa1d5033246708a553202f161ca021932caa4f92639566711f562ca6e4bf9dd6027c9d5d43451a9f

View file

@ -1,74 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_7 )
RESTRICT="mirror strip"
inherit distutils-r1 fdo-mime eutils
MY_PN="dispcalGUI"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Display Calibration and Characterization powered by Argyll CMS"
HOMEPAGE="http://dispcalgui.hoech.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=media-gfx/argyllcms-1.7.0
dev-python/wxpython:2.8
>=x11-libs/libX11-1.3.3
>=x11-apps/xrandr-1.3.2
>=x11-libs/libXxf86vm-1.1.0
>=x11-proto/xineramaproto-1.2
>=x11-libs/libXinerama-1.1"
RDEPEND="${DEPEND}
>=dev-python/numpy-1.2.1"
S=${WORKDIR}/${MY_P}
DOCS=(
README.html
)
src_prepare() {
# Prohibit setup from running xdg-* programs, resulting to sandbox violation
cd "${S}/dispcalGUI" || die "Cannot cd to source directory."
sed -e 's/if which(\"xdg-icon-resource\"):/if which(\"xdg-icon-resource-non-existant\"):/' \
-e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \
-i postinstall.py || die "sed'ing out the xdg-* setup functions failed"
# Remove deprecated Encoding key from .desktop file
cd "${S}" || die "Cannot cd to work directory."
for offendingFile in $(grep -r -l "Encoding=UTF-8" .); do
sed -e '/Encoding=UTF-8/d' -i "${offendingFile}" || \
die "removing deprecated Encoding key from .desktop files failed"
done
distutils-r1_src_prepare
}
src_install() {
distutils-r1_src_install
#remove udev files
rm -rf "${D}"/etc/udev/rules.d
}
pkg_postinst() {
# Run xdg-* programs the Gentoo way since we removed this functionality from the original package
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
}
pkg_postrm() {
# Run xdg-* programs the Gentoo way since we removed this functionality from the original package
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
}