Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmediaart/
Date: Wed, 15 Feb 2017 20:38:31
Message-Id: 1487191039.ff91f84cbea1fbcd3c5110a83d703c5c471909d4.leio@gentoo
1 commit: ff91f84cbea1fbcd3c5110a83d703c5c471909d4
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 15 20:28:12 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 15 20:37:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff91f84c
7
8 media-libs/libmediaart: remove old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 media-libs/libmediaart/libmediaart-1.9.0.ebuild | 81 -------------------------
13 1 file changed, 81 deletions(-)
14
15 diff --git a/media-libs/libmediaart/libmediaart-1.9.0.ebuild b/media-libs/libmediaart/libmediaart-1.9.0.ebuild
16 deleted file mode 100644
17 index df43f4f2d2..0000000000
18 --- a/media-libs/libmediaart/libmediaart-1.9.0.ebuild
19 +++ /dev/null
20 @@ -1,81 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI="5"
26 -GCONF_DEBUG="no"
27 -VALA_USE_DEPEND="vapigen"
28 -VALA_MIN_API_VERSION="0.16"
29 -
30 -inherit autotools eutils gnome2 vala virtualx
31 -
32 -DESCRIPTION="Manages, extracts and handles media art caches"
33 -HOMEPAGE="https://github.com/GNOME/libmediaart"
34 -
35 -LICENSE="LGPL-2.1+"
36 -SLOT="2.0"
37 -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
38 -IUSE="gtk +introspection qt4 qt5 vala"
39 -REQUIRED_USE="
40 - ?? ( gtk qt4 qt5 )
41 - vala? ( introspection )
42 -"
43 -
44 -RDEPEND="
45 - >=dev-libs/glib-2.38.0:2
46 - gtk? ( >=x11-libs/gdk-pixbuf-2.12:2 )
47 - introspection? ( >=dev-libs/gobject-introspection-1.30 )
48 - qt4? ( dev-qt/qtgui:4 )
49 - qt5? ( dev-qt/qtgui:5 )
50 -"
51 -DEPEND="${RDEPEND}
52 - dev-libs/gobject-introspection-common
53 - >=dev-util/gtk-doc-am-1.8
54 - virtual/pkgconfig
55 - vala? ( $(vala_depend) )
56 -"
57 -
58 -src_prepare() {
59 - # Fix QT automagic selection, bug #523122
60 - epatch "${FILESDIR}"/${PN}-0.7.0-qt5.patch
61 -
62 - # Make doc parallel installable
63 - cd "${S}"/docs/reference/${PN}
64 - sed -e "s/\(DOC_MODULE.*=\).*/\1${PN}-${SLOT}/" \
65 - -e "s/\(DOC_MAIN_SGML_FILE.*=\).*/\1${PN}-docs-${SLOT}.sgml/" \
66 - -i Makefile.am Makefile.in || die
67 - sed -e "s/\(<book.*name=\"\)libmediaart/\1${PN}-${SLOT}/" \
68 - -i html/libmediaart.devhelp2 || die
69 - mv libmediaart-docs{,-${SLOT}}.sgml || die
70 - mv libmediaart-overrides{,-${SLOT}}.txt || die
71 - mv libmediaart-sections{,-${SLOT}}.txt || die
72 - mv html/libmediaart{,-${SLOT}}.devhelp2
73 - cd "${S}"
74 -
75 - eautoreconf
76 -
77 - use vala && vala_src_prepare
78 - gnome2_src_prepare
79 -}
80 -
81 -src_configure() {
82 - local myconf=""
83 - if use qt4 ; then
84 - myconf="${myconf} --enable-qt --with-qt-version=4"
85 - elif use qt5 ; then
86 - myconf="${myconf} --enable-qt --with-qt-version=5"
87 - else
88 - myconf="${myconf} --disable-qt"
89 - fi
90 -
91 - gnome2_src_configure \
92 - --enable-unit-tests \
93 - $(use_enable gtk gdkpixbuf) \
94 - $(use_enable introspection) \
95 - $(use_enable vala) \
96 - ${myconf}
97 -}
98 -
99 -src_test() {
100 - dbus-launch Xemake check #513502
101 -}