commit:     dec65aa1a906d1123628b627031e00ec2c622b33
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 10 18:11:48 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Jan 10 19:15:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec65aa1

media-sound/guayadeque: Version bump to 0.4.3

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3350

 media-sound/guayadeque/Manifest                    |  1 +
 .../guayadeque/guayadeque-0.4.5_p20170110.ebuild   | 95 ++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/media-sound/guayadeque/Manifest b/media-sound/guayadeque/Manifest
index 12f8c7a..ad1a493 100644
--- a/media-sound/guayadeque/Manifest
+++ b/media-sound/guayadeque/Manifest
@@ -1 +1,2 @@
 DIST guayadeque-0.3.7.tar.bz2 1620734 SHA256 
d23eb1247add0bef8d5fef834294d7cb3d7c5fc20db9022b86f618a13d359938 SHA512 
7fb15d0454281a9fb436a95b04054812d0758f643ab9a28e6cefc171d5d90ad6de19e0b97384f8304a24e417a53b8655d4d99babf86439f371d719cd4a00e58e
 WHIRLPOOL 
ed6863de7916d484dd8702e3f809b20691157f9ecfa3314e3d3bb2471d5d440f10a9a4bd646c767648be4c612f45d5de03c761c0487b53631bcad8c6a6f40d95
+DIST guayadeque-0.4.5_p20170110.tar.gz 2070855 SHA256 
07d160f74ad38e68bf003b9ba50349282625edbb129d5f4795bd18deac69cd80 SHA512 
57215ba47574fba615b33d72f45279c3726035bea38746f7d927a39866fb3fa8a3fb1dbd13fe672c7daba16a2131fbf4b89afed6a3bf8d9a584e5112d926f518
 WHIRLPOOL 
487d80b9d5dff02d2e5254351505a349b665c40c0af997d75691740bb6965f3718545c427143c930b2f0cb3c4ea7c8f0ad2b2293f269a33c50e99b79a74a6f65

diff --git a/media-sound/guayadeque/guayadeque-0.4.5_p20170110.ebuild 
b/media-sound/guayadeque/guayadeque-0.4.5_p20170110.ebuild
new file mode 100644
index 00000000..ebcc044
--- /dev/null
+++ b/media-sound/guayadeque/guayadeque-0.4.5_p20170110.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+WX_GTK_VER=3.0
+
+inherit cmake-utils vcs-snapshot wxwidgets
+
+DESCRIPTION="Music management program designed for all music enthusiasts"
+HOMEPAGE="http://guayadeque.org/";
+SRC_URI="https://github.com/anonbeat/${PN}/archive/9fec4f7b85095fa2d9f8e4d39c0cf5015f7624fa.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ayatana ipod +minimal"
+
+# No test available, Making src_test fail
+RESTRICT="test"
+
+GST_DEPS="
+       media-libs/gnonlin:1.0
+       media-plugins/gst-plugins-libav:1.0
+       media-plugins/gst-plugins-libnice:1.0
+       media-plugins/gst-plugins-pulse:1.0
+       media-plugins/gst-plugins-soup:1.0
+       media-libs/gst-plugins-bad:1.0
+       media-libs/gst-plugins-ugly:1.0
+"
+RDEPEND="
+       dev-db/sqlite:3
+       >=dev-db/wxsqlite3-3.2.1
+       dev-libs/glib:2
+       media-libs/flac
+       media-libs/gst-plugins-base:1.0
+       media-libs/gst-plugins-good:1.0
+       media-libs/gstreamer:1.0
+       >=media-libs/taglib-1.6.4
+       net-misc/curl
+       sys-apps/dbus
+       x11-libs/wxGTK:${WX_GTK_VER}[X]
+       ayatana? ( >=dev-libs/libindicate-0.7 )
+       ipod? ( media-libs/libgpod )
+       !minimal? ( ${GST_DEPS} )"
+DEPEND="${RDEPEND}
+       app-arch/unzip
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+# echo $(cat po/CMakeLists.txt | grep ADD_SUBDIRECTORY | sed 
's#ADD_SUBDIRECTORY( \(\w\+\) )#\1#')
+LANGS=( bg ca_ES cs de el es fr hr hu is it ja nb nl pl pt pt_BR ru sk sr 
sr@latin sv th tr uk )
+for l in "${LANGS[@]}"; do
+       IUSE+=" linguas_${l}"
+done
+unset l
+
+pkg_setup() {
+       setup-wxwidgets
+}
+
+src_prepare() {
+       cmake-utils_src_prepare
+
+       # remove bundled libs
+       rm -rf src/wx/wxsql* src/wxsqlite3 || die
+
+       # comment out unused languages
+       cd po || die
+       local l
+       for l in "${LANGS[@]}"; do
+               ! use linguas_${l} && cmake_comment_add_subdirectory ${l}
+       done
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DENABLE_IPOD=$(usex ipod)
+               -DENABLE_LIBINDICATE=$(usex ayatana)
+       )
+       cmake-utils_src_configure
+}
+
+pkg_postinst() {
+       if use minimal; then
+               elog "If you are missing functionalities consider setting 
USE=-minimal"
+               elog "or install any of the following packages:"
+
+               local pkg
+               for pkg in ${GST_DEPS}; do
+                       elog "\t ${pkg}"
+               done
+       fi
+}

Reply via email to