Diff cnijfilter2-5.90 with a cnijfilter2-6.50

/usr/portage/net-print/cnijfilter2/cnijfilter2-6.50.ebuild 2023-10-09 14:52:34.744368483 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
8 8
MY_P="${PN}-source-${PV}-1"
9 9

  
10 10
DESCRIPTION="IJ Printer Driver"
11
HOMEPAGE="https://www.canon.it/"
12
SRC_URI="https://dev.gentoo.org/~tupone/distfiles/${MY_P}.tar.gz"
11
HOMEPAGE="https://asia.canon/en/support/0101163901?model=5777C"
12
SRC_URI="https://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAxMTYzOTAx&amp -> cnijfilter2-source-${PV}-1.tar.gz"
13 13

  
14 14
LICENSE="Canon-IJ"
15 15
SLOT="0"
16
KEYWORDS="amd64 x86"
16
KEYWORDS="~amd64 ~x86"
17 17
IUSE=""
18 18

  
19 19
DEPEND="virtual/libusb:1
......
21 21
	net-print/cups"
22 22
RDEPEND="${DEPEND}"
23 23

  
24
QA_FLAGS_IGNORED=(
25
	/usr/lib64/libcnbpnet30.so.1.0.0
26
	/usr/lib64/libcnbpcnclapicom2.so.5.0.0
27
	/usr/lib64/libcnnet2.so.1.2.4
28
	/usr/lib64/libcnbpnet20.so.1.0.0
29
	/usr/bin/cnijlgmon3
30
)
31

  
32 24
S="${WORKDIR}"/${MY_P}
33 25

  
34 26
PATCHES=(
35
	"${FILESDIR}"/${PN}-5.70-gentoo.patch
27
	"${FILESDIR}"/${PN}-6.50-gentoo.patch
36 28
	"${FILESDIR}"/${PN}-5.80-cflags.patch
37 29
	"${FILESDIR}"/${PN}-5.80-fno-common.patch
38 30
)
39 31

  
32
pkg_setup()  {
33
	QA_PREBUILT="
34
		/usr/$(get_libdir)/libcnbpnet30.so.1.0.0
35
		/usr/$(get_libdir)/libcnbpcnclapicom2.so.5.0.0
36
		/usr/$(get_libdir)/libcnnet2.so.1.2.5
37
		/usr/$(get_libdir)/libcnbpnet20.so.1.0.0
38
		/usr/bin/cnijlgmon3
39
	"
40
}
41

  
40 42
src_prepare() {
41 43
	default
42 44
	DIRS="cmdtocanonij2 cmdtocanonij3 cnijbe2 lgmon3 rastertocanonij tocanonij tocnpwg"
43
	LIBDIR=com/libs_bin$(usex amd64 64 32)
45
	LIBDIR=com/libs_bin$(usex amd64 _x86_64 _i686)
44 46
	for d in ${DIRS}; do
45 47
		mv "${d}"/configure.{in,ac} || die
46 48
	done
......
60 62
	ln -sf libcnbpcnclapicom2.so.5.0.0 libcnbpcnclapicom2.so || die
61 63
	ln -sf libcnbpnet20.so.1.0.0 libcnbpnet20.so || die
62 64
	ln -sf libcnbpnet30.so.1.0.0 libcnbpnet30.so || die
63
	ln -sf libcnnet2.so.1.2.4 libcnnet2.so || die
65
	ln -sf libcnnet2.so.1.2.5 libcnnet2.so || die
64 66

  
65 67
	cd -
66 68
}
Thank you!