summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2017-09-24 08:50:08 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2017-10-03 11:50:50 +0200
commitfee328348299a6c04fa03d1c35e4cf237166f4aa (patch)
tree7049e43f395f7cf5e2df31f21a2c6d8e9982f8be
parent57d706c8291ada3179fd58e03b22cbd6b04a0c4b (diff)
downloadmedia-fee328348299a6c04fa03d1c35e4cf237166f4aa.tar.gz
media-fee328348299a6c04fa03d1c35e4cf237166f4aa.tar.xz
qrencode: Version bump to 4.0.0
-rw-r--r--packages/media-libs/qrencode/qrencode-4.0.0.exheres-011
-rw-r--r--packages/media-libs/qrencode/qrencode.exlib14
2 files changed, 23 insertions, 2 deletions
diff --git a/packages/media-libs/qrencode/qrencode-4.0.0.exheres-0 b/packages/media-libs/qrencode/qrencode-4.0.0.exheres-0
new file mode 100644
index 0000000..6bddbda
--- /dev/null
+++ b/packages/media-libs/qrencode/qrencode-4.0.0.exheres-0
@@ -0,0 +1,11 @@
+# Copyright 2013-2015 Heiko Becker <heirecka@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require qrencode
+
+SLOT=4
+PLATFORMS="~amd64"
+
+# TODO: tests break src_install
+RESTRICT="test"
+
diff --git a/packages/media-libs/qrencode/qrencode.exlib b/packages/media-libs/qrencode/qrencode.exlib
index 6b2481f..796c790 100644
--- a/packages/media-libs/qrencode/qrencode.exlib
+++ b/packages/media-libs/qrencode/qrencode.exlib
@@ -23,8 +23,6 @@ DEPENDENCIES="
doc? ( app-doc/doxygen )
build+run:
media-libs/libpng:= [[ description = [ needed for tools and tests ] ]]
- test:
- media-libs/SDL:0[>=1.2.0]
run:
!media-libs/qrencode:0[<3.4.4-r1] [[
description = [ Alternatives conflict ]
@@ -32,6 +30,18 @@ DEPENDENCIES="
]]
"
+if ever at_least 4.0.0 ; then
+ DEPENDENCIES+="
+ test:
+ media-libs/SDL:2[>=2.0.0]
+ "
+else
+ DEPENDENCIES+="
+ test:
+ media-libs/SDL:0[>=1.2.0]
+ "
+fi
+
BUGS_TO="heirecka@exherbo.org"
DEFAULT_SRC_CONFIGURE_TESTS=( --with-tests )