From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5057259CA9 for ; Sun, 27 Mar 2016 01:26:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C937C21C017; Sun, 27 Mar 2016 01:26:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A55521C017 for ; Sun, 27 Mar 2016 01:26:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36CA2340BBA for ; Sun, 27 Mar 2016 01:26:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B31E3256 for ; Sun, 27 Mar 2016 01:26:34 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1459041777.c5d5b1a6920ab5a57c535bdb71748a1f7c62d67b.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/audacious/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/audacious/audacious-3.7.1-r1.ebuild X-VCS-Directories: media-sound/audacious/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: c5d5b1a6920ab5a57c535bdb71748a1f7c62d67b X-VCS-Branch: master Date: Sun, 27 Mar 2016 01:26:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c65a2241-480c-4796-9312-e450baea912e X-Archives-Hash: 15c9013f9ab18e43713f6a5838ded3b8 commit: c5d5b1a6920ab5a57c535bdb71748a1f7c62d67b Author: Robin H. Johnson gentoo org> AuthorDate: Sun Mar 27 01:22:57 2016 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sun Mar 27 01:22:57 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d5b1a6 media-sound/audacious: Non-GUI builds do not install the libaudgui library and header required by some non-optional parts of plugins, so make a GUI USE flag required Package-Manager: portage-2.2.28 media-sound/audacious/audacious-3.7.1-r1.ebuild | 81 +++++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/media-sound/audacious/audacious-3.7.1-r1.ebuild b/media-sound/audacious/audacious-3.7.1-r1.ebuild new file mode 100644 index 0000000..c84797d --- /dev/null +++ b/media-sound/audacious/audacious-3.7.1-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="!gtk3? ( http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2 ) + gtk3? ( http://distfiles.audacious-media-player.org/${MY_P}-gtk3.tar.bz2 ) + mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" + +IUSE="+chardet nls gtk gtk3 qt5" +REQUIRED_USE=" + ^^ ( gtk gtk3 qt5 ) +" +DOCS="AUTHORS" + +RDEPEND=">=dev-libs/dbus-glib-0.60 + >=dev-libs/glib-2.28 + >=x11-libs/cairo-1.2.6 + >=x11-libs/pango-1.8.0 + virtual/freedesktop-icon-theme + chardet? ( >=app-i18n/libguess-1.2 ) + gtk? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 ) + qt5? ( dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( dev-util/intltool )" + +PDEPEND="~media-plugins/audacious-plugins-${PV}" + +src_unpack() { + default + if use gtk3 ; then + mv "${MY_P}-gtk3" "${MY_P}" + fi +} + +src_configure() { + if use gtk ;then + gtk="--enable-gtk" + elif use gtk3 ;then + gtk="--enable-gtk" + else + gtk="--disable-gtk" + fi + # D-Bus is a mandatory dependency, remote control, + # session management and some plugins depend on this. + # Building without D-Bus is *unsupported* and a USE-flag + # will not be added due to the bug reports that will result. + # Bugs #197894, #199069, #207330, #208606 + econf \ + --enable-dbus \ + ${gtk} \ + $(use_enable chardet) \ + $(use_enable nls) \ + $(use_enable qt5 qt) +} + +src_install() { + default + + # Gentoo_ice skin installation; bug #109772 + insinto /usr/share/audacious/Skins/gentoo_ice + doins "${WORKDIR}"/gentoo_ice/* + docinto gentoo_ice + dodoc "${WORKDIR}"/README +}