summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Gurr Timo <tgurr@exherbo.org> 2017-09-13 18:41:18 +0200
committerAvatar Timo Gurr <tgurr@exherbo.org> 2017-09-13 18:45:48 +0200
commit58bae38bd285a35e648a0b36485ecc0d03ea6e7a (patch)
tree75fdc35bc702fc90f39c454de81a1fc4131252a5
parentc66fbc9e45d7256e5fccd4e7b26875ff7352159d (diff)
downloadmedia-58bae38bd285a35e648a0b36485ecc0d03ea6e7a.tar.gz
media-58bae38bd285a35e648a0b36485ecc0d03ea6e7a.tar.xz
libzen: version bump to 0.4.37
Change-Id: I6b46ca33448afdda562f63dbeed09be0315e4435 Reviewed-on: https://galileo.mailstation.de/gerrit/10056 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Timo Gurr <tgurr@exherbo.org>
-rw-r--r--packages/media-libs/libzen/libzen-0.4.35.exheres-030
-rw-r--r--packages/media-libs/libzen/libzen-0.4.37.exheres-026
2 files changed, 26 insertions, 30 deletions
diff --git a/packages/media-libs/libzen/libzen-0.4.35.exheres-0 b/packages/media-libs/libzen/libzen-0.4.35.exheres-0
deleted file mode 100644
index bf37173..0000000
--- a/packages/media-libs/libzen/libzen-0.4.35.exheres-0
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2013 Ingmar Vanhassel <ingmar@exherbo.org>
-# Distributed under the terms of the GNU General Public License v2
-
-require sourceforge [ project=zenlib pnv=${PN}_${PV} ] \
- autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
-
-SUMMARY="Small C++ derivate classes to have an easier life"
-DOWNLOADS+=" https://mediaarea.net/download/source/${PN}/${PV}/${PN}_${PV}.tar.bz2"
-
-LICENCES="ZLIB"
-SLOT="0"
-PLATFORMS="~amd64"
-MYOPTIONS=""
-
-DEPENDENCIES=""
-
-WORK=${WORKBASE}/ZenLib/Project/GNU/Library
-
-DEFAULT_SRC_CONFIGURE_PARAMS=(
- --enable-shared
- --enable-unicode
- --disable-static
-)
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
diff --git a/packages/media-libs/libzen/libzen-0.4.37.exheres-0 b/packages/media-libs/libzen/libzen-0.4.37.exheres-0
new file mode 100644
index 0000000..c4bb7c7
--- /dev/null
+++ b/packages/media-libs/libzen/libzen-0.4.37.exheres-0
@@ -0,0 +1,26 @@
+# Copyright 2013 Ingmar Vanhassel <ingmar@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require cmake [ api=2 ]
+
+SUMMARY="Small C++ derivate classes to have an easier life"
+HOMEPAGE="https://github.com/MediaArea/ZenLib"
+DOWNLOADS="https://mediaarea.net/download/source/${PN}/${PV}/${PN}_${PV}.tar.xz"
+
+LICENCES="ZLIB"
+SLOT="0"
+PLATFORMS="~amd64"
+MYOPTIONS=""
+
+DEPENDENCIES="
+ build:
+ virtual/pkg-config
+"
+
+CMAKE_SOURCE="${WORKBASE}"/ZenLib/Project/CMake
+
+CMAKE_SRC_CONFIGURE_PARAMS=(
+ -DBUILD_SHARED_LIBS:BOOL=TRUE
+ -DENABLE_UNICODE:BOOL=TRUE
+)
+