summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2016-02-28 23:37:36 -0500
committerAlexandre Rostovtsev <tetromino@gentoo.org>2016-02-28 23:37:41 -0500
commitd5b40d1f1ba46860eaedbd357ddb1feffcc20c46 (patch)
tree811832e70a1f8b63db4aa67b3583eb9766fa614c
parentgames-util/pyfa: eapi6-ify (diff)
downloadgentoo-d5b40d1f1ba46860eaedbd357ddb1feffcc20c46.tar.gz
gentoo-d5b40d1f1ba46860eaedbd357ddb1feffcc20c46.tar.bz2
gentoo-d5b40d1f1ba46860eaedbd357ddb1feffcc20c46.zip
dev-libs/libmirage: bump to 3.0.4 for bug #571034 and eapi6-ify
Thanks to Rafał Mużyło. Package-Manager: portage-2.2.27
-rw-r--r--dev-libs/libmirage/Manifest1
-rw-r--r--dev-libs/libmirage/libmirage-3.0.4.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-libs/libmirage/Manifest b/dev-libs/libmirage/Manifest
index c2736233b7f..b33bf4d7f16 100644
--- a/dev-libs/libmirage/Manifest
+++ b/dev-libs/libmirage/Manifest
@@ -1,2 +1,3 @@
DIST libmirage-2.1.1.tar.bz2 190118 SHA256 f606391095200df510b923201881bfbadb6ab032035ce9a67aa24fcae3145108 SHA512 19e34e4f4546426dfe12f1dca65a8a8221d32be7c1b60313b8a4ed2ab0729508638a8b3acc74e44a29de7080b4cbc9d1590965b3a0e5a796756ff3a7f41ea652 WHIRLPOOL c09bcf628722a0a711c0e5280a6aed931e5b860e598354a48757bd941cb264cfc6d6f9a62d2cebc7c9e3a989276634a02ad3474ad499f2c0f86e1f6153856ef8
DIST libmirage-3.0.3.tar.bz2 210568 SHA256 d65b70fe7045a4575d3bc71678d515db93e0b047bca58798b515e202497a2d0e SHA512 f2f74cef07be964516ea5a502d0b16a9631ae8973fea3d2196b5e5da7545958c6c06dcd639f8b6d10570f125fab3c2f4b4e53cedaa30528f1c8c34f33dd88a82 WHIRLPOOL 51280bd4470cd78c95b9ed9b6d1533ff36bce1ddf7d7305934c7aba0b5a379c208418db330500fb177602566a9b17677dbe72ac3d6f1606013880ec1a567a9b5
+DIST libmirage-3.0.4.tar.bz2 210624 SHA256 cc05370f0cc15348910a149207384f03b48b204a19215c1510924244996a3f3f SHA512 e892133977daf8364f3542789057029de4ae2660ceec565368ad3cf6875fabab6d89142fd8080c1786b269b0b47ebbf867a951cc2f6a8a23c3cb3f1d6574f7f2 WHIRLPOOL 81c84cf078ec793ea71028a72b64f8ab4c7e1693ead0260b2347d9f1bbb619d084352f4ff3f1eee4e3d66f73571d65dadf67f614e87a7030feaa79353b99b833
diff --git a/dev-libs/libmirage/libmirage-3.0.4.ebuild b/dev-libs/libmirage/libmirage-3.0.4.ebuild
new file mode 100644
index 00000000000..28ce0503432
--- /dev/null
+++ b/dev-libs/libmirage/libmirage-3.0.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+CMAKE_MIN_VERSION="2.8.5"
+
+inherit cmake-utils eutils fdo-mime toolchain-funcs versionator
+
+DESCRIPTION="CD and DVD image access library"
+HOMEPAGE="http://cdemu.org"
+SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0/10" # subslot = libmirage soname version
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="doc +introspection"
+
+RDEPEND=">=app-arch/bzip2-1:=
+ >=app-arch/xz-utils-5:=
+ >=dev-libs/glib-2.28:2
+ >=media-libs/libsamplerate-0.1:=
+ >=media-libs/libsndfile-1.0:=
+ sys-libs/zlib:=
+ introspection? ( >=dev-libs/gobject-introspection-1.30 )"
+DEPEND="${RDEPEND}
+ dev-util/desktop-file-utils
+ virtual/pkgconfig
+ doc? ( dev-util/gtk-doc )"
+
+src_prepare() {
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DGTKDOC_ENABLED="$(usex doc)"
+ -DINTROSPECTION_ENABLED="$(usex introspection)"
+ -DPOST_INSTALL_HOOKS=OFF # avoid sandbox violation, #487304
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ DOCS="AUTHORS README"
+ cmake-utils_src_install
+ prune_libtool_files --modules
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_mime_database_update
+}