From bf38d549921b013d5cdadc14bdd118f0f4256a0a Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 2 Dec 2015 03:25:18 +0000 Subject: [PATCH] graphics/waifu2x-converter-cpp: update to 1.0.0.400 Changes: https://github.com/tanakamura/waifu2x-converter-cpp/compare/007e7b1...6dbdc24 --- graphics/waifu2x-converter-cpp/Makefile | 11 +++++------ graphics/waifu2x-converter-cpp/distinfo | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/graphics/waifu2x-converter-cpp/Makefile b/graphics/waifu2x-converter-cpp/Makefile index 79710a9bfa44..05e5ed77bd62 100644 --- a/graphics/waifu2x-converter-cpp/Makefile +++ b/graphics/waifu2x-converter-cpp/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ PORTNAME= waifu2x-converter-cpp -DISTVERSION= 1.0.0-377 -DISTVERSIONSUFFIX= -g007e7b1 +DISTVERSION= 1.0.0-400 +DISTVERSIONSUFFIX= -g6dbdc24 CATEGORIES= graphics MASTER_SITES= https://aur.archlinux.org/cgit/aur.git/plain/:manpage DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ @@ -52,11 +52,10 @@ post-extract: >${WRKDIR}/${PORTNAME}.1 post-patch: - @${REINPLACE_CMD} -e 's,-O2,,; /SYMBOL/s,-s,,' \ + @${REINPLACE_CMD} -e '/Darwin/,/FLAGS_RELEASE/d' \ + -e 's,".*\(-m[^[:space:]]*\).*","\1",' \ + -e 's/$${TS}/${DISTVERSIONFULL}/' \ ${WRKSRC}/CMakeLists.txt - @${REINPLACE_CMD} \ - -e '/CmdLine/s,[^"]*"),${DISTVERSIONFULL}"),' \ - ${WRKSRC}/src/main.cpp # Undo AUR rename and use version from |git describe --tags| @${REINPLACE_CMD} -e '/AUTHORS/,$$! { /\.B mai/! \ s,${PORTNAME:C/-.*//},${PORTNAME},; }' \ diff --git a/graphics/waifu2x-converter-cpp/distinfo b/graphics/waifu2x-converter-cpp/distinfo index 92606bc0c524..df8f2de633f5 100644 --- a/graphics/waifu2x-converter-cpp/distinfo +++ b/graphics/waifu2x-converter-cpp/distinfo @@ -1,4 +1,4 @@ -SHA256 (tanakamura-waifu2x-converter-cpp-1.0.0-377-g007e7b1_GH0.tar.gz) = 6dab337f83e088889f10444da9ceb87153d91d3edc60fc91410896dc6f0cff29 -SIZE (tanakamura-waifu2x-converter-cpp-1.0.0-377-g007e7b1_GH0.tar.gz) = 14870285 +SHA256 (tanakamura-waifu2x-converter-cpp-1.0.0-400-g6dbdc24_GH0.tar.gz) = d99c35b67ea27c75876fee669a48ea97c56f98d06c591b9b2e017e132db3c8f1 +SIZE (tanakamura-waifu2x-converter-cpp-1.0.0-400-g6dbdc24_GH0.tar.gz) = 14875056 SHA256 (waifu2x.1.gz?h=waifu2x-git&id=5c150a5) = bfad3e87e43f20573ab068c386e150f93fb4cc37400b8f4aaf4734c9afbd1489 SIZE (waifu2x.1.gz?h=waifu2x-git&id=5c150a5) = 1242