summaryrefslogtreecommitdiff
path: root/media-gfx/duhdraw
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/duhdraw')
-rw-r--r--media-gfx/duhdraw/Manifest6
-rw-r--r--media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild21
-rw-r--r--media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch4
-rw-r--r--media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch4
4 files changed, 19 insertions, 16 deletions
diff --git a/media-gfx/duhdraw/Manifest b/media-gfx/duhdraw/Manifest
index e18005eba24e..ac3add273cfd 100644
--- a/media-gfx/duhdraw/Manifest
+++ b/media-gfx/duhdraw/Manifest
@@ -1,5 +1,5 @@
-AUX duhdraw-2.8.13-macos.patch 329 BLAKE2B b1529683f8468e9396183e1c552618a74b0a501b78b3d2f3df430097a268e7b07957060a187fcbecad7a656f64f3c096f53c01de2e9cd87936c4509232f8beb3 SHA512 6a971ed804c04594e88b240a7361a94f61c721ff47fd3e81d99af812cf20ded8a4ef5213b644eaeee76d73145f5057d3839569941b060e7b93589debe0c73e40
-AUX duhdraw-2.8.13-prestrip.patch 425 BLAKE2B 11c6a67f2608356e1ba3021face193067b09e6c5b72a2c44567b3dc78242aff5271b00f41de17250a5b634b60db7b4c95428f527414533354337dc83bab3644a SHA512 cc37c5e6c41b9e4088f956db44241ebca6e34a01e89f87e0d28674395569af4cbe69b8a03f6ef9ec131d87ec38eb34992da17360f674f583e6275fce20732fe1
+AUX duhdraw-2.8.13-macos.patch 248 BLAKE2B ba9bd84d8cf3b271dd8292062894c76ff4e2d18a114326d505b1a4bd135a49420b0984554e894162ae292297836268d7e1868b635be9d7641d021135a60d9845 SHA512 5ee28dd33ad8589c64a69de3eac5636a178419061df167228be2f63f88c626f9a1d8f0df03d3c5890c42b7fa90d3a330d39a808579451345feb584fce5429ae0
+AUX duhdraw-2.8.13-prestrip.patch 344 BLAKE2B dc84ac31a40a9fc57b2a0edc6454a3b0f1df3ad7b280bad84e9443c52eb64ba6c0396c93b6048561aee0c2d48fc5c02128ee21eb68f3dfaf63e19f479c21b5a0 SHA512 461a167ccc609b96f2a4fc8064cda9a97f22952f17c08a68e4980e7366a1fe91685fce7bdf2a5aa6e59aa8b5ebf0d9ada640c67ad64ba59c8b0d7d10a047b3d2
DIST duhdraw-2.8.13.tar.gz 51779 BLAKE2B 7d87c9bb7a23b9c520636dacec34ca20281bf68e650dfb133cfaf59e3f71e27fa2086f1aee60ce9c01e5f0a6c6483553fe1103ff503bfbb80df9679057ca8e49 SHA512 fa9102133dcd100b2cde58d4d92aabfcdf86bb16a8066191e92922d6cea470094ff226e569bf92d34e1f0f6a3e657eaf3326cecf091ed1bc37bd2faace340798
-EBUILD duhdraw-2.8.13-r1.ebuild 671 BLAKE2B 72d2da6e88d9fb162cc93e57f1db7369c9cf84947f236265ded6487293760bdd26b3d78eca95f7cc4f0587cfba00909613d66c0e1d2d48d265d40a1ade32b8b6 SHA512 453eaea31c3da4705c0eb8875ce9a1904b554a3420f1d7cb04fef5bc8c69fe1a9f062e59e085ba34a14ff9bf9bcf9709145f034ba8d46c88e2b50610fec39a0c
+EBUILD duhdraw-2.8.13-r1.ebuild 725 BLAKE2B dc9ec0bdb1a13615f9df2f9da00e8b29cc9fe07a3387e8f950c399f309ef56dbb3bc694055fc9010add162e2454c5b57ab1d4a9ac6b3a7b3cee4a76e3c6ea6eb SHA512 fe078f198a5587af0b56aa8bc27a4c5f31bce6af418c9907256c4f479b6b573bc8ec7da1797060bc5e167599be7d35767ced018a1b6e925b1747d9abf1af24f0
MISC metadata.xml 255 BLAKE2B f12a1ca502ad96bd6de4c8b83dfb8887ab70dec78f10a8b52dcd4618eb182192477ddca18738d734a43f3c7ac3b5e0955f4ae9347ea80e788a92974c7d50a574 SHA512 b7bc93530a1726c2d4dfbc71ae29cfbb57712fd9fdd2e76fd52f35ab4368cba0497b50145d1527a3b79e465d459a380821bb1371a01c2e915dc9adc6c7fafd5f
diff --git a/media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild b/media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild
index 64e4f8d7f285..ead354248580 100644
--- a/media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild
+++ b/media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit toolchain-funcs eutils
+EAPI=7
+inherit toolchain-funcs
DESCRIPTION="ASCII art editor"
HOMEPAGE="http://www.cs.helsinki.fi/u/penberg/duhdraw"
@@ -12,16 +12,19 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-DEPEND="sys-libs/ncurses"
+DEPEND="sys-libs/ncurses:0="
RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-macos.patch
- epatch "${FILESDIR}"/${P}-prestrip.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-macos.patch
+ "${FILESDIR}"/${P}-prestrip.patch
+)
src_compile() {
- emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
+ emake \
+ CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" \
+ LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)"
}
src_install() {
diff --git a/media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch b/media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch
index 30be358e46d3..cdf18e48e41d 100644
--- a/media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch
+++ b/media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch
@@ -1,5 +1,5 @@
---- ./duhdraw-2.8.13/duhdraw.c.orig 2005-03-02 09:22:46.000000000 +0100
-+++ ./duhdraw-2.8.13/duhdraw.c 2006-11-16 09:56:21.000000000 +0100
+--- duhdraw-2.8.13/duhdraw.c
++++ duhdraw-2.8.13/duhdraw.c
@@ -12,7 +12,9 @@
#include <stdio.h>
#include <dirent.h>
diff --git a/media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch b/media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch
index 0162f39370aa..3112a015748d 100644
--- a/media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch
+++ b/media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch
@@ -1,5 +1,5 @@
---- ./duhdraw-2.8.13/Makefile.orig 2005-03-02 09:22:46.000000000 +0100
-+++ ./duhdraw-2.8.13/Makefile 2006-11-16 09:58:29.000000000 +0100
+--- duhdraw-2.8.13/Makefile
++++ duhdraw-2.8.13/Makefile
@@ -12,15 +12,12 @@
ansi: cleanansi