summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-11-23 14:19:27 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-11-23 14:21:11 -0800
commit7a08590786186e4993b6a6c316fd7a5cb368e2ef (patch)
treee1ab4737415e71d3dca57bd4a43f536ddd6f1f9f /media-sound/guayadeque
parentsys-auth/openpam: mask app-vim/pam-syntax for removal. (diff)
downloadgentoo-7a08590786186e4993b6a6c316fd7a5cb368e2ef.tar.gz
gentoo-7a08590786186e4993b6a6c316fd7a5cb368e2ef.tar.bz2
gentoo-7a08590786186e4993b6a6c316fd7a5cb368e2ef.zip
media-sound/guayadeque: add live ebuild to track upstream dev.
Package-Manager: Portage-2.3.16, Repoman-2.3.6 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'media-sound/guayadeque')
-rw-r--r--media-sound/guayadeque/Manifest2
-rw-r--r--media-sound/guayadeque/guayadeque-9999.ebuild113
2 files changed, 114 insertions, 1 deletions
diff --git a/media-sound/guayadeque/Manifest b/media-sound/guayadeque/Manifest
index b2abc9d5fff6..a1229d29952b 100644
--- a/media-sound/guayadeque/Manifest
+++ b/media-sound/guayadeque/Manifest
@@ -1 +1 @@
-DIST guayadeque-0.4.5_p20170110.tar.gz 2070855 SHA256 07d160f74ad38e68bf003b9ba50349282625edbb129d5f4795bd18deac69cd80 SHA512 57215ba47574fba615b33d72f45279c3726035bea38746f7d927a39866fb3fa8a3fb1dbd13fe672c7daba16a2131fbf4b89afed6a3bf8d9a584e5112d926f518 WHIRLPOOL 487d80b9d5dff02d2e5254351505a349b665c40c0af997d75691740bb6965f3718545c427143c930b2f0cb3c4ea7c8f0ad2b2293f269a33c50e99b79a74a6f65
+DIST guayadeque-0.4.5_p20170110.tar.gz 2070855 BLAKE2B a8783a61df636e3ddf1473ba20450c89eeb977e06491e840743e7b8a7aa1a7515138ecf8f6c92a27f0c762363ef12c094927192b254ae238196ac6d967fd84d1 SHA512 57215ba47574fba615b33d72f45279c3726035bea38746f7d927a39866fb3fa8a3fb1dbd13fe672c7daba16a2131fbf4b89afed6a3bf8d9a584e5112d926f518
diff --git a/media-sound/guayadeque/guayadeque-9999.ebuild b/media-sound/guayadeque/guayadeque-9999.ebuild
new file mode 100644
index 000000000000..92382fa215d8
--- /dev/null
+++ b/media-sound/guayadeque/guayadeque-9999.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+WX_GTK_VER=3.0
+
+if [[ ${PV} == *9999 ]]; then
+ SCM="git-r3"
+ EGIT_REPO_URI=${EGIT_REPO_URI:-https://github.com/anonbeat/guayadeque}
+ EGIT_BRANCH=${EGIT_BRANCH:-master}
+fi
+
+inherit cmake-utils vcs-snapshot wxwidgets $SCM
+
+DESCRIPTION="Music management program designed for all music enthusiasts"
+HOMEPAGE="http://guayadeque.org/"
+if [[ ${PV} != *9999 ]]; then
+ COMMIT=...
+ SRC_URI="https://github.com/anonbeat/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+else
+ KEYWORDS=""
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+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_unpack() {
+ if [[ ${PV} = *9999 ]]; then
+ git-r3_src_unpack
+ #cd "${S}"
+ #cp "${FILESDIR}"/GIT-VERSION-GEN .
+ fi
+}
+
+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
+}