summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-09-18 06:40:50 +0200
committerMichał Górny <mgorny@gentoo.org>2024-09-18 06:40:50 +0200
commit806d8252d8ce623b805f316b50563d67d1d3c5df (patch)
treea6dacb1e59fbad5454c833372d813c22dea80188 /dev-libs/libmirage
parentsys-fs/vhba: Bump to 20240917 (diff)
downloadgentoo-806d8252d8ce623b805f316b50563d67d1d3c5df.tar.gz
gentoo-806d8252d8ce623b805f316b50563d67d1d3c5df.tar.bz2
gentoo-806d8252d8ce623b805f316b50563d67d1d3c5df.zip
dev-libs/libmirage: Bump to 3.2.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/libmirage')
-rw-r--r--dev-libs/libmirage/Manifest1
-rw-r--r--dev-libs/libmirage/libmirage-3.2.9.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-libs/libmirage/Manifest b/dev-libs/libmirage/Manifest
index e7ea35fe6469..54664e1cea0e 100644
--- a/dev-libs/libmirage/Manifest
+++ b/dev-libs/libmirage/Manifest
@@ -1 +1,2 @@
DIST libmirage-3.2.8.tar.xz 229616 BLAKE2B 37b662bbeff84144ee2ff2e6225af022cd031ef7db7734d22510cef6b1b9599c603c009c603fdb43fa13877858fc5871cd8c7fa68739f06dab60d910c9577db6 SHA512 ab4f099dd3a0a7705d7ee828cf023ab61185e3d5fbf324823a55ee604a008b66a206b8f666c0482b0eac6ac144a2421f04badd2e3e11dbc5e7bd2b211dcb2716
+DIST libmirage-3.2.9.tar.xz 229792 BLAKE2B 2c18b6541bf830f523e82f59c97f5aa9e0a866b21394496696d8f33e7258f8b07720f5abc4cc0202b5f7abff65bb5c896ed5fdb25fddf2a36e56a6e837b9b631 SHA512 67c20c5ee70f3d84e8bf55b7e5b0b90fe9d7ece7b46eee14a1bf57416f1f319b1cafa75b189730525c0cbe3457fce8d2e76759f52c8b1632d19ced6017063a89
diff --git a/dev-libs/libmirage/libmirage-3.2.9.ebuild b/dev-libs/libmirage/libmirage-3.2.9.ebuild
new file mode 100644
index 000000000000..ec9d1a2848d6
--- /dev/null
+++ b/dev-libs/libmirage/libmirage-3.2.9.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+DESCRIPTION="CD and DVD image access library"
+HOMEPAGE="https://cdemu.sourceforge.io"
+SRC_URI="https://download.sourceforge.net/cdemu/libmirage/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0/11"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +introspection"
+
+DEPEND="
+ >=app-arch/bzip2-1:=
+ >=app-arch/xz-utils-5:=
+ >=dev-libs/glib-2.38:2
+ >=media-libs/libsamplerate-0.1:=
+ >=media-libs/libsndfile-1.0:=
+ sys-libs/zlib:=
+ introspection? ( >=dev-libs/gobject-introspection-1.30 )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ dev-util/desktop-file-utils
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( dev-util/gtk-doc )
+ introspection? ( >=dev-libs/gobject-introspection-1.30 )
+"
+
+DOCS=( AUTHORS README )
+
+src_configure() {
+ local mycmakeargs=(
+ -DGTKDOC_ENABLED="$(usex doc)"
+ -DINTROSPECTION_ENABLED="$(usex introspection)"
+ -DPOST_INSTALL_HOOKS=OFF # avoid sandbox violation, #487304
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_mimeinfo_database_update
+}