blob: 3987e878a4f79e1ab1465c40f612441ad8d0b5b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
inherit cmake desktop eutils git-r3 udev
DESCRIPTION="Canon InkJet Scanner Driver and ScanGear MP for Linux (Pixus/Pixma-Series)."
HOMEPAGE="https://support-au.canon.com.au/contents/AU/EN/0100303302.html"
EGIT_REPO_URI="https://github.com/Ordissimo/${PN}.git"
LICENSE="GPL-2"
RESTRICT="mirror"
SLOT="2"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
dev-util/intltool
media-gfx/sane-backends
sys-devel/gettext
virtual/jpeg
virtual/libusb:1
x11-libs/gtk+:3
"
src_configure() {
cmake_src_configure
}
src_compile() {
emake -C"${BUILD_DIR}" || die "Couldn't build ${PN}"
}
src_install() {
cd "${BUILD_DIR}"
emake DESTDIR="${D}" install || die "Couldn't install ${PN}"
domenu "${FILESDIR}"/${PN}.desktop
}
pkg_postinst() {
udev_reload
}
|