summaryrefslogtreecommitdiff
path: root/media-gfx/farbfeld
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/farbfeld
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/farbfeld')
-rw-r--r--media-gfx/farbfeld/Manifest8
-rw-r--r--media-gfx/farbfeld/farbfeld-2.ebuild44
-rw-r--r--media-gfx/farbfeld/farbfeld-3.ebuild44
-rw-r--r--media-gfx/farbfeld/farbfeld-9999.ebuild41
-rw-r--r--media-gfx/farbfeld/files/farbfeld-3-as-needed.patch11
-rw-r--r--media-gfx/farbfeld/metadata.xml8
6 files changed, 156 insertions, 0 deletions
diff --git a/media-gfx/farbfeld/Manifest b/media-gfx/farbfeld/Manifest
new file mode 100644
index 000000000000..6c5d1f26b84e
--- /dev/null
+++ b/media-gfx/farbfeld/Manifest
@@ -0,0 +1,8 @@
+AUX farbfeld-3-as-needed.patch 249 SHA256 705e2dcaf17c98c71b54bc572e44ea662832c57c99e0d7817ab13b363e3a9c5b SHA512 c00ad29d4c06777896b0915b8277b25eecf2d09312c2fbb2f0d5dbde9150ad3fb9d4f1d49fd6fdd742fdabeede128c9dd827c272604edcda017a959ca68ee738 WHIRLPOOL 739d16e0cf67c556ead876d0429c468c5bbba45ff81124a1c4aaa8428c462d05f69ae9e1439db9a266e8e7927930b3e0565a2cefc425de57a256839a87029e8d
+DIST farbfeld-2.tar.gz 6646 SHA256 a366e7628274fb9b4dc9508a7340a32b5e7557d99895b7ed7b5165241d613f58 SHA512 04471f0d6092433083b1441c17fb80db27fcedea6a12ddab3b08eaf9731da06f48560cf49124b56e1e27d7de2b69109b0ce38513ee90c735ac966dc2132e000f WHIRLPOOL 3d125bac271db2e8ab6411abc1c809cb2de4c6401a4c978f6a34fad97387136225b8d93dae5f89aa2bc303f4e8498350193f74a7f156b9bd65ec8dcac05a2341
+DIST farbfeld-3.tar.gz 10169 SHA256 5b953b86a72d3feaedf62698532c8888e5f6e2f6363193a4cc8cee0e38c378ad SHA512 4f1e44282810bd2724f78857bcde401b82945375c5472b31e39250d660efffd425e0a2da5aecf0133ad3d414c31214d073d00f519bc83960b5bbfd53df3b1c49 WHIRLPOOL f7105f1ea59366159a9b350d862e356eeb373685287a25827a72360ce917a6a23b4473286b82a081afea8b9dd60ec5b7ea37450084a54f615c00186753c70cbf
+EBUILD farbfeld-2.ebuild 849 SHA256 182018b2f3f80c070af6f5f48b6723932f9df4525794d2c1786d1f18d8cd5e31 SHA512 f44594b067f339c4b1b7358de6a74c933a3a9cc23193bc76109b129540e9d492081bef124319211bf526bd9ef831623e84f3dd71d09e0809997fb7c32ac577cb WHIRLPOOL 77e6008d95286095d2bd56bcdc0df982fd45b48b22cf011cd62d98e1ecb33f2a75d78ad85c83586bcf101c1ce28491bf24dcf2de21351a618184344a9c453549
+EBUILD farbfeld-3.ebuild 837 SHA256 62e357eb1176bde1724b233d43c5d31515c23f5bd0acbdfce687e61d27420215 SHA512 904f6887c170f56fd5e56e5af4bfde155049645172e0910f9e9f270e5ffb9b9463b9905b86fcea5bc0ca56a24c9b72d5eb9e38d70d19dde00ac7d02236b3b8e9 WHIRLPOOL bec79ec3e93677fa4b0b8bf6fcd43bc127966dac005dea5cba634d1196ef698bdfb989e663143186a4538bd1fb9b3a54373c3c916058731a911ebbdc5f5fb31a
+EBUILD farbfeld-9999.ebuild 785 SHA256 67209523767b8c9638b7dec1205737bbfb92c823e42b7e9b76d8b5d2b5784ae0 SHA512 12f5e559f0ba1e588f9f89ad72585c141cb3942e759ea10d1ec8ed0d8035474e65bb472511382e7fb58095cb66188d7392a0eddbd7ac66a5a7b00df9ca5d22f0 WHIRLPOOL ac7437994e2c62b04441b439116aa35469d8d9e365cf0e689ac4f86c58513a3d4fcfb7fde575c16bdceeed249e14f4c335103708ef87fa756629d1f553f0c46c
+MISC ChangeLog 1288 SHA256 08c622c284eedffacce94aeafd6b10470a3066a2d5569508e9fc23a6bfbe42b6 SHA512 78733ef0d0c52af28bbf804ca1e7d099e9df7494474f2ab07f09993048bc0a392e7e06c15b2e6017061670860b42fbeb3f7da2d8212155cc6f4e4f16f3024dee WHIRLPOOL 432527a1705496b4226d11a9c4858afa1bbdca06b571f7d5615c64f84fdc3c2c9304cf99d6f1b42fee928a1e9bd006f81f26767fd5829f6b43acb39559344fc4
+MISC metadata.xml 238 SHA256 bae0588f6a20ccebb0e76d3ad782fcb2adfd1ea5b9fc1433851379423a103b72 SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 WHIRLPOOL ad8bdcb129ac41a2941e41186ec94e845858818fe21b95b69adc902ddbe0eb4c4bcce8f00d5f167981852184df07e355866a07f50dcdc8f7cd7edf20ed95ecee
diff --git a/media-gfx/farbfeld/farbfeld-2.ebuild b/media-gfx/farbfeld/farbfeld-2.ebuild
new file mode 100644
index 000000000000..6ca2302b9a04
--- /dev/null
+++ b/media-gfx/farbfeld/farbfeld-2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="farbfeld simple image format tools"
+HOMEPAGE="https://tools.suckless.org/farbfeld/"
+SRC_URI="https://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
+}
diff --git a/media-gfx/farbfeld/farbfeld-3.ebuild b/media-gfx/farbfeld/farbfeld-3.ebuild
new file mode 100644
index 000000000000..b8bab18a1e31
--- /dev/null
+++ b/media-gfx/farbfeld/farbfeld-3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="farbfeld simple image format tools"
+HOMEPAGE="https://tools.suckless.org/farbfeld/"
+SRC_URI="https://dl.suckless.org/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ media-libs/libjpeg-turbo
+ media-libs/libpng:*
+"
+DEPEND="
+ ${RDEPEND}
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-3-as-needed.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i \
+ -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' \
+ config.mk || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install MANPREFIX=/usr/share/man
+}
diff --git a/media-gfx/farbfeld/farbfeld-9999.ebuild b/media-gfx/farbfeld/farbfeld-9999.ebuild
new file mode 100644
index 000000000000..7ba44661350a
--- /dev/null
+++ b/media-gfx/farbfeld/farbfeld-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="farbfeld simple image format tools"
+HOMEPAGE="https://tools.suckless.org/farbfeld/"
+EGIT_REPO_URI="https://git.suckless.org/farbfeld"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS=""
+
+RDEPEND="
+ media-libs/libjpeg-turbo
+ media-libs/libpng:*
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -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' \
+ config.mk || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install MANPREFIX=/usr/share/man
+}
diff --git a/media-gfx/farbfeld/files/farbfeld-3-as-needed.patch b/media-gfx/farbfeld/files/farbfeld-3-as-needed.patch
new file mode 100644
index 000000000000..61502e55543f
--- /dev/null
+++ b/media-gfx/farbfeld/files/farbfeld-3-as-needed.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -23,7 +23,7 @@
+ $(BIN:=.o): config.mk $(HDR) $(REQ:=.h)
+
+ .o:
+- $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o)
++ $(CC) $(LDFLAGS) -o $@ $< $(REQ:=.o) $($*-LDFLAGS)
+
+ clean:
+ rm -f $(BIN) $(BIN:=.o) $(REQ:=.o)
diff --git a/media-gfx/farbfeld/metadata.xml b/media-gfx/farbfeld/metadata.xml
new file mode 100644
index 000000000000..a8fb43312942
--- /dev/null
+++ b/media-gfx/farbfeld/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+<name>Jeroen Roovers</name>
+</maintainer>
+</pkgmetadata>