Add draft ebuild for new version of Spotlighter, see https://bugs.gentoo.org/show_bug.cgi?id=468128

This commit is contained in:
Sergey Popov 2013-06-21 16:22:57 +04:00
parent d07e329647
commit b17a454b16
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST spotlighter-0.3.tar.gz 432482 SHA256 a40062230ec66b5312d59c84a26a1a183f7bd5b02dfd9ddbc98189466dcfa92b SHA512 9773747981ff02a39999410883c94cd794b64b48f348fdac1bcae33ab4816328e411a528b0aa2c27e94cee72347657d8e19185d65d238d29d5127fa372243cfc WHIRLPOOL f6de353d99713fa40ac67487591237095ec043fbc25d1295e16f2db4bd101a7e46b2dfed1b202984adc91b4a2bb057343a26d70b49138f6b0365e3fee180d894
EBUILD spotlighter-0.3.ebuild 1298 SHA256 c37f7cbf1e728cc193adeb3d52f0a096f8c2a1f83aa325b43c3f9e958c7bb21d SHA512 09795b04659e6569d9b5a9f4467654b08a24ff017729138f7f0d0832f87d573ac33ca742e2b4d4afcafd0af7fae8d71d1cef6def5f4d153a015c8fe010ee22cf WHIRLPOOL 35cd8c427432c3a7c23968391999b4ef6fb16132b6db80bf6016f1dd82637231742a80c1d1e2d910c3f11bf40739906352107d9151dff29a2ff88dadaa5aa195

View File

@ -0,0 +1,54 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# TODO: Check for work with new cairo
# with current stable - it segfaults
# Also this deps possibly not needed:
# sci-libs/gsl
EAPI=5
inherit eutils
DESCRIPTION="Shows a movable and resizable spotlight on the screen"
HOMEPAGE="http://code.google.com/p/ardesia/"
SRC_URI="http://ardesia.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
COMMON_DEPEND="sys-devel/gettext
x11-libs/gtk+:3"
DEPEND="${COMMON_DEPEND}
dev-util/intltool"
RDEPEND="${COMMON_DEPEND}
dev-libs/atk
media-libs/fontconfig"
src_prepare() {
# Upstream test is broken in case when
# both GTK+-2 and GTK+-3 installed
sed -i -e '/pkg_config_args=/s/gthread-2.0//' configure || die 'sed on configure failed'
# Fix desktop file
sed -i \
-e '/Version/d' \
-e '/Icon/s/.svg//' \
-e '/Categories/s/$/;/' \
desktop/spotlighter.desktop.in || die 'sed on desktop/spotlighter.desktop.in failed'
epatch_user
}
src_configure() {
# Disable compiling GTK+ test program
econf --disable-gtktest
}
src_install() {
# --docdir in configure does not work, so - use it here
emake DESTDIR="${D}" spotlighterdocdir="${EPREFIX}/usr/share/doc/${PF}" install
dodoc TODO
}