forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.24
- Loading branch information
Showing
3 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST simple-scan-3.16.2.tar.xz 487808 SHA256 1c6727591813e7fd44da932adbae226001ce3a7b8f1a162c9b19d1dc630d7402 SHA512 5f665698f7c7bad57a41bfbb388c6861839cc56d6d25dbd74ea563d64fab63b6fd798f2b957b46ae69177b7e15963ef8f17d26f2a071bf89b6f1e2b6e7f1a835 WHIRLPOOL 098d8f3b16d3bac85e12d3034902df84fa1e3b76a346277114d3f19b5f8fd5a80b84fc1e88b595035cdfa483bdac952128ab20fd16f0f68040455f8afffa74db | ||
DIST simple-scan-3.18.2.tar.xz 510416 SHA256 061b58e5909362200e5cdffcdcc70d1afb8f8948efc1ec8ab592c7783c8939e9 SHA512 d2374bc8d7186647851729c3e3b879fa81fab7a38ba78ea9a4d9a72b7e8a63d6c58fc68602942d21eb350d1255d03bed731ca243ff69ffb88231a1c54f9df8c6 WHIRLPOOL 672a04293fa578fa0f9ce907aa177c3a42f0b52d01159087f856360c5d2bc08ac95b2c7f790c323e5c56d1b4d804ea24573a4b6930fe9116463521ca670254c0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="5" | ||
GCONF_DEBUG="no" | ||
VALA_MIN_API_VERSION="0.22" | ||
|
||
inherit gnome2 vala versionator | ||
|
||
DESCRIPTION="Simple document scanning utility" | ||
HOMEPAGE="https://launchpad.net/simple-scan" | ||
|
||
MY_PV=$(get_version_component_range 1-2) | ||
SRC_URI="https://launchpad.net/${PN}/${MY_PV}/${PV}/+download/${P}.tar.xz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm ~x86" | ||
IUSE="colord" | ||
|
||
COMMON_DEPEND=" | ||
>=dev-libs/glib-2.32:2 | ||
dev-libs/libgusb | ||
>=media-gfx/sane-backends-1.0.20:= | ||
>=sys-libs/zlib-1.2.3.1:= | ||
virtual/jpeg:0= | ||
x11-libs/cairo:= | ||
>=x11-libs/gtk+-3:3 | ||
colord? ( >=x11-misc/colord-0.1.24:=[udev] ) | ||
" | ||
RDEPEND="${COMMON_DEPEND} | ||
x11-misc/xdg-utils | ||
x11-themes/adwaita-icon-theme | ||
" | ||
DEPEND="${COMMON_DEPEND} | ||
$(vala_depend) | ||
app-text/yelp-tools | ||
>=dev-util/intltool-0.35.0 | ||
virtual/pkgconfig | ||
" | ||
|
||
src_prepare() { | ||
# https://bugs.launchpad.net/simple-scan/+bug/1462769 | ||
rm -f src/simple_scan_vala.stamp || die | ||
vala_src_prepare | ||
gnome2_src_prepare | ||
} | ||
|
||
src_configure() { | ||
DOCS="NEWS README.md" | ||
gnome2_src_configure \ | ||
--disable-packagekit \ | ||
$(use_enable colord) | ||
} |