1 |
commit: 29f8e078fb4f0d6f1fce9943bd2d425a093b7702 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 29 18:51:55 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 29 18:52:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29f8e078 |
7 |
|
8 |
net-print/cups: Synced live ebuild with latest release ebuild. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-print/cups/cups-9999.ebuild | 17 ++++++----------- |
13 |
1 file changed, 6 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/net-print/cups/cups-9999.ebuild b/net-print/cups/cups-9999.ebuild |
16 |
index b08ffec..d795683 100644 |
17 |
--- a/net-print/cups/cups-9999.ebuild |
18 |
+++ b/net-print/cups/cups-9999.ebuild |
19 |
@@ -2,7 +2,7 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
# $Id$ |
22 |
|
23 |
-EAPI=5 |
24 |
+EAPI=6 |
25 |
|
26 |
PYTHON_COMPAT=( python2_7 ) |
27 |
|
28 |
@@ -22,7 +22,7 @@ if [[ ${PV} == *9999 ]]; then |
29 |
EGIT_BRANCH=branch-${PV/.9999} |
30 |
fi |
31 |
else |
32 |
- SRC_URI="http://www.cups.org/software/${MY_PV}/${MY_P}-source.tar.bz2" |
33 |
+ SRC_URI="https://github.com/apple/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~m68k-mint" |
35 |
fi |
36 |
|
37 |
@@ -86,15 +86,12 @@ REQUIRED_USE=" |
38 |
# upstream includes an interactive test which is a nono for gentoo |
39 |
RESTRICT="test" |
40 |
|
41 |
-S="${WORKDIR}/${MY_P}" |
42 |
- |
43 |
# systemd-socket.patch from Fedora |
44 |
PATCHES=( |
45 |
- "${FILESDIR}/${PN}-1.6.0-dont-compress-manpages.patch" |
46 |
+ "${FILESDIR}/${PN}-2.2.0-dont-compress-manpages.patch" |
47 |
"${FILESDIR}/${PN}-1.6.0-fix-install-perms.patch" |
48 |
"${FILESDIR}/${PN}-1.4.4-nostrip.patch" |
49 |
"${FILESDIR}/${PN}-2.0.2-rename-systemd-service-files.patch" |
50 |
- "${FILESDIR}/${PN}-2.1.2-systemd-socket.patch" |
51 |
"${FILESDIR}/${PN}-2.0.1-xinetd-installation-fix.patch" |
52 |
"${FILESDIR}/${PN}-2.0.3-cross-compile.patch" |
53 |
) |
54 |
@@ -148,9 +145,7 @@ pkg_setup() { |
55 |
} |
56 |
|
57 |
src_prepare() { |
58 |
- epatch ${PATCHES[@]} |
59 |
- |
60 |
- epatch_user |
61 |
+ default |
62 |
|
63 |
# Remove ".SILENT" rule for verbose output (bug 524338). |
64 |
sed 's#^.SILENT:##g' -i "${S}"/Makedefs.in || die "sed failed" |
65 |
@@ -260,7 +255,7 @@ multilib_src_install_all() { |
66 |
use zeroconf && neededservices+=" avahi-daemon" |
67 |
use dbus && neededservices+=" dbus" |
68 |
[[ -n ${neededservices} ]] && neededservices="need${neededservices}" |
69 |
- cp "${FILESDIR}"/cupsd.init.d-r1 "${T}"/cupsd || die |
70 |
+ cp "${FILESDIR}"/cupsd.init.d-r2 "${T}"/cupsd || die |
71 |
sed -i \ |
72 |
-e "s/@neededservices@/$neededservices/" \ |
73 |
"${T}"/cupsd || die |
74 |
@@ -288,7 +283,7 @@ multilib_src_install_all() { |
75 |
keepdir /usr/libexec/cups/driver /usr/share/cups/{model,profiles} \ |
76 |
/var/log/cups /var/spool/cups/tmp |
77 |
|
78 |
- keepdir /etc/cups/{ppd,ssl} |
79 |
+ keepdir /etc/cups/{interfaces,ppd,ssl} |
80 |
|
81 |
use X || rm -r "${ED}"/usr/share/applications |