From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5854139694 for ; Wed, 22 Feb 2017 10:48:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83965E0C01; Wed, 22 Feb 2017 10:48:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D61DE0C01 for ; Wed, 22 Feb 2017 10:48:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1AC13413AD for ; Wed, 22 Feb 2017 10:48:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 077765092 for ; Wed, 22 Feb 2017 10:48:42 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1487760519.5f1d0abb93f66bb347deea1dc4c844811293b1b2.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/macopix/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/macopix/macopix-1.7.4-r1.ebuild X-VCS-Directories: x11-misc/macopix/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 5f1d0abb93f66bb347deea1dc4c844811293b1b2 X-VCS-Branch: master Date: Wed, 22 Feb 2017 10:48:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7d6e58c1-edbe-4a03-aad0-d61743355e34 X-Archives-Hash: cb5e586de1e67946f8b4d3b44fd27cc5 commit: 5f1d0abb93f66bb347deea1dc4c844811293b1b2 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Feb 22 10:48:14 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Feb 22 10:48:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f1d0abb x11-misc/macopix: Ignore windres (bug #560622). Package-Manager: Portage-2.3.3, Repoman-2.3.1 x11-misc/macopix/macopix-1.7.4-r1.ebuild | 87 ++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/x11-misc/macopix/macopix-1.7.4-r1.ebuild b/x11-misc/macopix/macopix-1.7.4-r1.ebuild new file mode 100644 index 0000000000..6392b64eef --- /dev/null +++ b/x11-misc/macopix/macopix-1.7.4-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit flag-o-matic + +DESCRIPTION="MaCoPiX (Mascot Constructive Pilot for X) is a desktop mascot application" +HOMEPAGE="http://rosegray.sakura.ne.jp/macopix/index-e.html" + +BASE_URI="http://rosegray.sakura.ne.jp/macopix" +SRC_URI="${BASE_URI}/${P}.tar.bz2" + +# NOTE: These mascots are not redistributable on commercial CD-ROM. +# The author granted to use them under Gentoo Linux. +MY_MASCOTS=" + macopix-mascot-HxB-euc-ja-0.30 + macopix-mascot-marimite-euc-ja-2.20 + macopix-mascot-cosmos-euc-ja-1.02 + macopix-mascot-mizuiro-euc-ja-1.02 + macopix-mascot-pia2-euc-ja-1.02 + macopix-mascot-tsukihime-euc-ja-1.02 + macopix-mascot-triangle_heart-euc-ja-1.02 + macopix-mascot-comic_party-euc-ja-1.02 + macopix-mascot-kanon-euc-ja-1.02 + macopix-mascot-one-euc-ja-1.02 +" + +for i in ${MY_MASCOTS} ; do + SRC_URI="${SRC_URI} ${BASE_URI}/${i}.tar.gz" +done + +# programme itself is GPL-2, and mascots are free-noncomm +LICENSE="GPL-2 free-noncomm" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gnutls nls" + +RDEPEND=" + dev-libs/glib:2 + media-libs/libpng:0= + x11-libs/gtk+:2 + nls? ( >=sys-devel/gettext-0.10 ) + gnutls? ( net-libs/gnutls ) + !gnutls? ( dev-libs/openssl:0= ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + + sed -i -e 's|HAVE_WINDRES_TRUE|HAVE_WINDRES_FALSE|g' src/Makefile.in || die + + append-libs -lX11 +} + +src_configure() { + econf \ + --with-gtk2 \ + $(use_enable nls) \ + $(use_with gnutls) +} + +src_install() { + default + + dodoc AUTHORS ChangeLog* NEWS *README* + + # install mascots + for d in ${MY_MASCOTS} ; do + einfo "Installing ${d}..." + cd "${WORKDIR}/${d}" || die + insinto /usr/share/"${PN}" + for i in *.mcpx *.menu ; do + doins "$i" || die + done + insinto /usr/share/"${PN}"/pixmap + for i in *.png ; do + doins "$i" + done + docinto "${d}" + dodoc README.jp + done +}