summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2023-02-21 08:20:42 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2023-02-21 08:21:00 +0100
commitd82ac47020ebca54402c93497fa71b06cb20bfe4 (patch)
tree7e952537156a748b9e5f5132a491c1b8d83e52c1 /media-sound
parentdev-ruby/capistrano: add 3.17.2 (diff)
downloadgentoo-d82ac47020ebca54402c93497fa71b06cb20bfe4.tar.gz
gentoo-d82ac47020ebca54402c93497fa71b06cb20bfe4.tar.bz2
gentoo-d82ac47020ebca54402c93497fa71b06cb20bfe4.zip
media-sound/guayadeque: bump to 0.4.7 + eapi8 + switched to gtk3 + updated live
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/guayadeque/Manifest1
-rw-r--r--media-sound/guayadeque/guayadeque-0.4.7.ebuild103
-rw-r--r--media-sound/guayadeque/guayadeque-9999.ebuild8
3 files changed, 108 insertions, 4 deletions
diff --git a/media-sound/guayadeque/Manifest b/media-sound/guayadeque/Manifest
index a46c671e1301..fc5d681aa09e 100644
--- a/media-sound/guayadeque/Manifest
+++ b/media-sound/guayadeque/Manifest
@@ -1 +1,2 @@
DIST guayadeque-0.4.6.tar.gz 2074965 BLAKE2B a6076a60f6560f51f1fa1ac7aca0529823d6579726049cfda212ae42e62c6f86ca18e8c06aa60d8e23c8accf51d4363ebe4b69b50ce5224f7db3215c32acf12f SHA512 d353aa492b393a5043cdab2d151d715381c3d9d50cad393ca5687b5c556257641fc2b5eda53772098c8c0621fba88ae693179d07a1085d5b69aab1e5d06459a7
+DIST guayadeque-0.4.7.tar.gz 2192075 BLAKE2B b8f78a0667723d8ae27cc13c435f0309a521b10efc440d6cafca08692ef3a79299824d60bcafba3134255d652371f08adec98b1ac63589627c44d2ee8697d443 SHA512 8b620a2a44cc36866c2a2df14fec086796fab9a955429dc58f5689a90634dcc1a96434ab5dff4bbe8c81d785b9e1d8c91011ec076d4e0f5c75f269e9d92bf021
diff --git a/media-sound/guayadeque/guayadeque-0.4.7.ebuild b/media-sound/guayadeque/guayadeque-0.4.7.ebuild
new file mode 100644
index 000000000000..a82bebdc7c56
--- /dev/null
+++ b/media-sound/guayadeque/guayadeque-0.4.7.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER=3.0-gtk3
+
+inherit cmake wxwidgets xdg
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI=${EGIT_REPO_URI:-https://github.com/anonbeat/guayadeque}
+ EGIT_BRANCH=${EGIT_BRANCH:-master}
+else
+ SRC_URI="https://github.com/anonbeat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Music management program designed for all music enthusiasts"
+HOMEPAGE="https://guayadeque.org/"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="appindicator ipod +minimal"
+
+# No test available, Making src_test fail
+RESTRICT="test"
+
+GST_DEPS="
+ 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
+"
+BDEPEND="
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+RDEPEND="
+ dev-db/sqlite:3
+ dev-db/wxsqlite3
+ 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
+ net-misc/curl
+ sys-apps/dbus
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
+ appindicator? ( dev-libs/libindicate )
+ ipod? ( media-libs/libgpod )
+ !minimal? ( ${GST_DEPS} )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.4.6-metadata.patch"
+)
+
+# 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 )
+
+pkg_setup() {
+ setup-wxwidgets
+}
+
+src_prepare() {
+ cmake_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
+ ! has ${l} ${LINGUAS-${l}} && cmake_comment_add_subdirectory ${l}
+ done
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_IPOD=$(usex ipod)
+ -DENABLE_LIBINDICATE=$(usex appindicator)
+ )
+ cmake_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
+
+ xdg_desktop_database_update
+}
diff --git a/media-sound/guayadeque/guayadeque-9999.ebuild b/media-sound/guayadeque/guayadeque-9999.ebuild
index 5da351601454..a82bebdc7c56 100644
--- a/media-sound/guayadeque/guayadeque-9999.ebuild
+++ b/media-sound/guayadeque/guayadeque-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-WX_GTK_VER=3.0
+WX_GTK_VER=3.0-gtk3
inherit cmake wxwidgets xdg
@@ -50,7 +50,7 @@ RDEPEND="
net-misc/curl
sys-apps/dbus
x11-libs/wxGTK:${WX_GTK_VER}[X]
- appindicator? ( >=dev-libs/libindicate-0.7 )
+ appindicator? ( dev-libs/libindicate )
ipod? ( media-libs/libgpod )
!minimal? ( ${GST_DEPS} )"
DEPEND="${RDEPEND}"