summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2017-08-17 00:23:53 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2017-08-17 00:31:22 +0200
commit7a54c6df3437285b312d97a6c0c2cabe04dd271e (patch)
tree2f047d1e5b725a069a9c83a6b905b7cb2168706f /media-libs/libmediaart
parentapp-text/libgxps: version bump 0.2.5 → 0.3.0 (diff)
downloadgentoo-7a54c6df3437285b312d97a6c0c2cabe04dd271e.tar.gz
gentoo-7a54c6df3437285b312d97a6c0c2cabe04dd271e.tar.bz2
gentoo-7a54c6df3437285b312d97a6c0c2cabe04dd271e.zip
media-libs/libmediaart: version bump 1.9.1 → 1.9.4
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'media-libs/libmediaart')
-rw-r--r--media-libs/libmediaart/Manifest1
-rw-r--r--media-libs/libmediaart/libmediaart-1.9.4.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/media-libs/libmediaart/Manifest b/media-libs/libmediaart/Manifest
index 51e5cd8d0794..95212c1c35c9 100644
--- a/media-libs/libmediaart/Manifest
+++ b/media-libs/libmediaart/Manifest
@@ -1,2 +1,3 @@
DIST libmediaart-0.7.0.tar.xz 5811244 SHA256 3a9dffcad862aed7c0921579b93080d694b8a66f3676bfee8037867f653a1cd3 SHA512 94ca38ca2ec2bdd7f3a6f39c7f658053d8c46caba8bad97d004663da027c0308a305ce791b33af3d07e3fe8647a967b1ee1c6f808bbe1b4839844aa10cb0891a WHIRLPOOL 781237cff0511b937408f8f3cf72b336c32b84ec38f08d598e2eba56c89ce2b76deafb8705d41e5bc73f2f39833966dbd67f62bcb28e67108499d6d1bb72897b
DIST libmediaart-1.9.1.tar.xz 5826128 SHA256 5b14aa4e0cc84eaec57b6cb28f39092d503fdaecf36d5d165fac37583b7fe949 SHA512 1ba43d3501d4775984967960c24bf217bcedd075e1716a2f54266817ae2a93eed119035f385025e34ba83b58ec10e544bbde9c2ad328a3de00c5c80b35524222 WHIRLPOOL e2420acaeb6ca31bc55c02cc52b3baf10ac8ea797eb92f9843031753b10326505c107d97597a93a422fb78543cf4dcf3fbd586deeb65051058c139287a1d3aad
+DIST libmediaart-1.9.4.tar.xz 5827928 SHA256 a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d SHA512 e2526c22cb656c821da626c43c09d72afded1dfc369e77baea3de17dd6d3bd3b829cf3160e386459f55b9580cbeeb1d621c85876cb62739bc8d4f42429bdce1c WHIRLPOOL 132c6ac8ad78382990bc032f16886c99e1861a329f1983d37882e3cb4ba40b5253dad6e25045115fff8b37c527b9882d301a611dd86d548d6eddedfe55254120
diff --git a/media-libs/libmediaart/libmediaart-1.9.4.ebuild b/media-libs/libmediaart/libmediaart-1.9.4.ebuild
new file mode 100644
index 000000000000..53d87ba300c4
--- /dev/null
+++ b/media-libs/libmediaart/libmediaart-1.9.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+VALA_USE_DEPEND="vapigen"
+VALA_MIN_API_VERSION="0.16"
+
+inherit autotools flag-o-matic gnome2 vala virtualx
+
+DESCRIPTION="Manages, extracts and handles media art caches"
+HOMEPAGE="https://github.com/GNOME/libmediaart"
+
+LICENSE="LGPL-2.1+"
+SLOT="2.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk +introspection qt5 vala"
+REQUIRED_USE="
+ ?? ( gtk qt5 )
+ vala? ( introspection )
+"
+
+RDEPEND="
+ >=dev-libs/glib-2.38.0:2
+ gtk? ( >=x11-libs/gdk-pixbuf-2.12:2 )
+ introspection? ( >=dev-libs/gobject-introspection-1.30:= )
+ qt5? ( dev-qt/qtgui:5 )
+"
+DEPEND="${RDEPEND}
+ dev-libs/gobject-introspection-common
+ >=dev-util/gtk-doc-am-1.8
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ # Make doc parallel installable
+ cd "${S}"/docs/reference/${PN} || die
+ sed -e "s/\(DOC_MODULE.*=\).*/\1${PN}-${SLOT}/" \
+ -e "s/\(DOC_MAIN_SGML_FILE.*=\).*/\1${PN}-docs-${SLOT}.xml/" \
+ -i Makefile.am Makefile.in || die
+ sed -e "s/\(<book.*name=\"\)libmediaart/\1${PN}-${SLOT}/" \
+ -i html/libmediaart.devhelp2 || die
+ mv libmediaart-docs{,-${SLOT}}.xml || die
+ mv libmediaart-overrides{,-${SLOT}}.txt || die
+ mv libmediaart-sections{,-${SLOT}}.txt || die
+ mv html/libmediaart{,-${SLOT}}.devhelp2 || die
+ cd "${S}" || die
+
+ eautoreconf
+
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ if use qt5 ; then
+ local myconf="--with-qt-version=5"
+ append-cxxflags -std=c++11
+ fi
+
+ gnome2_src_configure \
+ --enable-unit-tests \
+ $(use_enable gtk gdkpixbuf) \
+ $(use_enable introspection) \
+ $(use_enable qt5 qt) \
+ $(use_enable vala) \
+ ${myconf}
+}
+
+src_test() {
+ dbus-launch virtx emake check #513502
+}