summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-04-25 20:17:50 -0400
committerTim Harder <radhermit@gentoo.org>2017-04-25 20:19:35 -0400
commit369b1507317f9dac19b5400613db0c15513e2a00 (patch)
tree44fa688fa127209e5318cc6ae33875644d97ac9d /media-gfx
parentmedia-gfx/pqiv: version bump to 2.8.5 (diff)
downloadgentoo-369b1507317f9dac19b5400613db0c15513e2a00.tar.gz
gentoo-369b1507317f9dac19b5400613db0c15513e2a00.tar.bz2
gentoo-369b1507317f9dac19b5400613db0c15513e2a00.zip
media-gfx/cptutils: version bump to 1.68
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/cptutils/Manifest1
-rw-r--r--media-gfx/cptutils/cptutils-1.68.ebuild42
-rw-r--r--media-gfx/cptutils/files/cptutils-1.68-parallel-make.patch30
3 files changed, 73 insertions, 0 deletions
diff --git a/media-gfx/cptutils/Manifest b/media-gfx/cptutils/Manifest
index 65228cf3230b..adb4a8fc844d 100644
--- a/media-gfx/cptutils/Manifest
+++ b/media-gfx/cptutils/Manifest
@@ -1,2 +1,3 @@
DIST cptutils-1.63.tar.gz 617427 SHA256 c0ee2d1bcfb478a352a67b2e54123cd9cea25bf701144bd473e981f16dd20edf SHA512 341a3fa3c504febc00386c5644392987150f00ec707879caf3f5c02151a0c8b9c728f0aecb35a798537c9c8605da7f736a66a21d856cb0ae691b37d335fc0e02 WHIRLPOOL fbdedb7a58c5cedcd5a7f9e940a9522ae96c44b7e0c7dc61cf8477d517eccdf895c71a147ea35ff7787d82488bc5144664941177de24a3f2574e5dfca2e588d3
DIST cptutils-1.66.tar.gz 618839 SHA256 5d3ead5aaa1974694c9158a96b2ab2bf749ee82255f2f2cd0f84db93dfef986f SHA512 ffd33b4b1b7f9b7fbb1ff690b5919317963a590c1f94e65c72dae4545128980829ad3d3c3e7b29bdaba5a971ff2846ec2201ab287a95abf4187053614a39296d WHIRLPOOL cea8db87a547be88fcb635097a299d4b6bf936566a34389925ad60b9c94fc7310bd3c01094ed755eae2b37bdbc07345d72cb761758d2685f65037b1098cea8af
+DIST cptutils-1.68.tar.gz 623381 SHA256 37bbf1657f8bbcd9f62213a52686e7c5ebd4a927ca0ea7cb3b8c302eecd7563f SHA512 e618ea4463a026c56c95e8e4a9bfb0f5d47825568e7f64885bcf3872d4411af4e1ff480f192c61d9d8c946a46100d148c849fd3768f3acd54b070aacdd8dc1cc WHIRLPOOL 0eef89ea10267523c634f4a0a0d2b6e378d8d5e7c20bb8e21605ea237c8ca3d4bf4fb8c19a69d34486f4a2f4b4a9de852615dd25fe28727ea2048b1fb80b0344
diff --git a/media-gfx/cptutils/cptutils-1.68.ebuild b/media-gfx/cptutils/cptutils-1.68.ebuild
new file mode 100644
index 000000000000..023f25c568ee
--- /dev/null
+++ b/media-gfx/cptutils/cptutils-1.68.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="A number of utilities for the manipulation of color gradient files"
+HOMEPAGE="http://soliton.vm.bytemark.co.uk/pub/jjg/en/code/cptutils/"
+SRC_URI="http://soliton.vm.bytemark.co.uk/pub/jjg/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+CDEPEND="dev-libs/libxml2:2
+ media-libs/libpng:0="
+RDEPEND="${CDEPEND}
+ ${PYTHON_DEPS}"
+DEPEND="${CDEPEND}
+ test? (
+ app-text/xmlstarlet
+ >=dev-util/cunit-2.1_p3
+ )"
+
+PATCHES=( "${FILESDIR}"/${P}-parallel-make.patch )
+
+src_prepare() {
+ default
+ python_fix_shebang src/gradient-convert/gradient-convert.py
+}
+
+src_configure() {
+ econf $(use_enable test tests)
+}
+
+src_test() {
+ emake unit
+}
diff --git a/media-gfx/cptutils/files/cptutils-1.68-parallel-make.patch b/media-gfx/cptutils/files/cptutils-1.68-parallel-make.patch
new file mode 100644
index 000000000000..14bf506314e5
--- /dev/null
+++ b/media-gfx/cptutils/files/cptutils-1.68-parallel-make.patch
@@ -0,0 +1,30 @@
+--- cptutils-1.68/Makefile.in
++++ cptutils-1.68/Makefile.in
+@@ -8,23 +8,22 @@
+ RUBBISH = *~
+ CONFFILES = config.cache config.log config.status configure Makefile
+ DIST = cptutils-$(VERSION)
+-MAKE_SRC = $(MAKE) -C src
+
+ # targets
+
+ default : all
+
+ all :
+- $(MAKE_SRC) all
++ $(MAKE) -C src all
+
+ install :
+- $(MAKE_SRC) install
++ $(MAKE) -C src install
+
+ test check :
+- $(MAKE_SRC) --quiet test
++ $(MAKE) -C src --quiet test
+
+ unit :
+- $(MAKE_SRC) --quiet unit
++ $(MAKE) -C src --quiet unit
+
+ clean :
+ $(RM) $(RUBBISH)