From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7002559CA5 for ; Sat, 19 Mar 2016 07:03:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72D8C21C00C; Sat, 19 Mar 2016 07:03:04 +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 CFCAC21C004 for ; Sat, 19 Mar 2016 07:03:03 +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 9FFA8340BD3 for ; Sat, 19 Mar 2016 07:03:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5B03861 for ; Sat, 19 Mar 2016 07:02:59 +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: <1458370917.481b5198c6f27a1745780d0d7174c7faa0258e8a.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/farbfeld/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/farbfeld/Manifest media-gfx/farbfeld/farbfeld-2.ebuild X-VCS-Directories: media-gfx/farbfeld/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 481b5198c6f27a1745780d0d7174c7faa0258e8a X-VCS-Branch: master Date: Sat, 19 Mar 2016 07:02:59 +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: 6976e67b-914b-4bba-a2f4-1ed715f7b829 X-Archives-Hash: 8deca38d4cc236759d230ab2d36e732d commit: 481b5198c6f27a1745780d0d7174c7faa0258e8a Author: Jeroen Roovers gentoo org> AuthorDate: Sat Mar 19 06:33:48 2016 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Mar 19 07:01:57 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=481b5198 media-gfx/farbfeld: Version bump. Package-Manager: portage-2.2.28 media-gfx/farbfeld/Manifest | 1 + media-gfx/farbfeld/farbfeld-2.ebuild | 45 ++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/media-gfx/farbfeld/Manifest b/media-gfx/farbfeld/Manifest index 100215c..fe8dd70 100644 --- a/media-gfx/farbfeld/Manifest +++ b/media-gfx/farbfeld/Manifest @@ -1 +1,2 @@ DIST farbfeld-1.tar.gz 6770 SHA256 34faf878ee9bf20a690604b2e09f97ce517b20bb7b5e37433997941825c0b46e SHA512 cbd977175412ad7b143415643a3767b041e87d441f3bf9783872ffb48ed987f60156d6e2d7eff715071eb0349a3a131188487a1c9645dffa78966f0102b8405e WHIRLPOOL 6a6a489fcffda4b7c337097d51b181f7533a97a948af0c781cb035dba05b2b3ad892a1cde6f0dab05d3db893ddddfbf5666621144f4b8ed7e4a6981df3821343 +DIST farbfeld-2.tar.gz 6646 SHA256 a366e7628274fb9b4dc9508a7340a32b5e7557d99895b7ed7b5165241d613f58 SHA512 04471f0d6092433083b1441c17fb80db27fcedea6a12ddab3b08eaf9731da06f48560cf49124b56e1e27d7de2b69109b0ce38513ee90c735ac966dc2132e000f WHIRLPOOL 3d125bac271db2e8ab6411abc1c809cb2de4c6401a4c978f6a34fad97387136225b8d93dae5f89aa2bc303f4e8498350193f74a7f156b9bd65ec8dcac05a2341 diff --git a/media-gfx/farbfeld/farbfeld-2.ebuild b/media-gfx/farbfeld/farbfeld-2.ebuild new file mode 100644 index 0000000..7f208d9 --- /dev/null +++ b/media-gfx/farbfeld/farbfeld-2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="farbfeld simple image format tools" +HOMEPAGE="http://tools.suckless.org/farbfeld/" +SRC_URI="http://dl.suckless.org/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + media-libs/libjpeg-turbo + media-libs/libpng:* +" +DEPEND=" + ${RDEPEND} +" + +src_prepare() { + sed config.mk \ + -e '/^CC/d' \ + -e 's|/usr/local|/usr|g' \ + -e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall -Wextra $(INCS) $(CPPFLAGS)|g' \ + -e 's|^LDFLAGS.*|LDFLAGS += $(LIBS)|g' \ + -e 's|{|(|g;s|}|)|g' \ + -i || die + + sed Makefile \ + -e 's|{|(|g;s|}|)|g' \ + -e 's|^ @| |g' \ + -i || die +} + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install() { + emake DESTDIR="${D}" install MANPREFIX=/usr/share/man +}