Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/macopix/
Date: Tue, 30 Apr 2019 07:46:22
Message-Id: 1556610377.ff0b706438d2f8b64c038db15eefbb04a814df07.jer@gentoo
1 commit: ff0b706438d2f8b64c038db15eefbb04a814df07
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 30 07:44:36 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 30 07:46:17 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff0b7064
7
8 x11-misc/macopix: Partially work around slow doins bug
9
10 Package-Manager: Portage-2.3.65, Repoman-2.3.12
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-misc/macopix/macopix-1.7.4-r2.ebuild | 82 ++++++++++++++++++++++++++++++++
14 1 file changed, 82 insertions(+)
15
16 diff --git a/x11-misc/macopix/macopix-1.7.4-r2.ebuild b/x11-misc/macopix/macopix-1.7.4-r2.ebuild
17 new file mode 100644
18 index 00000000000..a862222fef2
19 --- /dev/null
20 +++ b/x11-misc/macopix/macopix-1.7.4-r2.ebuild
21 @@ -0,0 +1,82 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +inherit autotools flag-o-matic
27 +
28 +DESCRIPTION="MaCoPiX (Mascot Constructive Pilot for X) is a desktop mascot application"
29 +HOMEPAGE="http://rosegray.sakura.ne.jp/macopix/index-e.html"
30 +
31 +BASE_URI="http://rosegray.sakura.ne.jp/macopix"
32 +SRC_URI="${BASE_URI}/${P}.tar.bz2"
33 +
34 +# NOTE: These mascots are not redistributable on commercial CD-ROM.
35 +# The author granted to use them under Gentoo Linux.
36 +MACOPIX_MASCOTS="
37 + macopix-mascot-HxB-euc-ja-0.30
38 + macopix-mascot-marimite-euc-ja-2.20
39 + macopix-mascot-cosmos-euc-ja-1.02
40 + macopix-mascot-mizuiro-euc-ja-1.02
41 + macopix-mascot-pia2-euc-ja-1.02
42 + macopix-mascot-tsukihime-euc-ja-1.02
43 + macopix-mascot-triangle_heart-euc-ja-1.02
44 + macopix-mascot-comic_party-euc-ja-1.02
45 + macopix-mascot-kanon-euc-ja-1.02
46 + macopix-mascot-one-euc-ja-1.02
47 +"
48 +
49 +for i in ${MACOPIX_MASCOTS} ; do
50 + SRC_URI+=" ${BASE_URI}/${i}.tar.gz"
51 +done
52 +
53 +# programme itself is GPL-2, and mascots are free-noncomm
54 +LICENSE="GPL-2 free-noncomm"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~ppc ~x86"
57 +IUSE="gnutls nls"
58 +
59 +RDEPEND="
60 + dev-libs/glib:2
61 + media-libs/libpng:0=
62 + sys-devel/gettext
63 + x11-libs/gtk+:2
64 + gnutls? ( net-libs/gnutls )
65 + !gnutls? ( dev-libs/openssl:0= )
66 +"
67 +DEPEND="
68 + ${RDEPEND}
69 + virtual/pkgconfig
70 +"
71 +PATCHES=(
72 + "${FILESDIR}"/${P}-windres.patch
73 +)
74 +
75 +src_prepare() {
76 + default
77 +
78 + eautoreconf
79 +}
80 +
81 +src_configure() {
82 + append-libs -lX11
83 +
84 + econf $(use_with gnutls)
85 +}
86 +
87 +src_install() {
88 + default
89 +
90 + dodoc AUTHORS ChangeLog* NEWS *README*
91 +
92 + # install mascots
93 + for d in ${MACOPIX_MASCOTS} ; do
94 + einfo "Installing ${d}..."
95 + cd "${WORKDIR}/${d}" || die
96 + insinto /usr/share/"${PN}"
97 + doins *.mcpx *.menu
98 + insinto /usr/share/"${PN}"/pixmap
99 + doins *.png
100 + docinto "${d}"
101 + dodoc README.jp
102 + done
103 +}