summaryrefslogtreecommitdiff
path: root/media-sound/guayadeque
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-21 08:23:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-21 08:23:43 +0000
commit1826a30af36ae674cb71400eacaf0a0762df510f (patch)
tree25fc08839f1c2764daac15491280f3a6fd11d48b /media-sound/guayadeque
parent3b32ae7547d742f6e65770361188670710bec186 (diff)
gentoo auto-resync : 21:02:2023 - 08:23:43
Diffstat (limited to 'media-sound/guayadeque')
-rw-r--r--media-sound/guayadeque/Manifest4
-rw-r--r--media-sound/guayadeque/guayadeque-0.4.7.ebuild103
-rw-r--r--media-sound/guayadeque/guayadeque-9999.ebuild8
3 files changed, 110 insertions, 5 deletions
diff --git a/media-sound/guayadeque/Manifest b/media-sound/guayadeque/Manifest
index 16b8eb10834b..0dcb99f98a33 100644
--- a/media-sound/guayadeque/Manifest
+++ b/media-sound/guayadeque/Manifest
@@ -2,6 +2,8 @@ AUX guayadeque-0.4.5_p20170110-missing-aui-component.patch 404 BLAKE2B 9c1704879
AUX guayadeque-0.4.6-gcc10.patch 2981 BLAKE2B a925446bca10a9f96a0babe889d151cc49792810c95295a0c0dc17796744b7486307c354fb47c07518e0f33b41cb8428feb1cc355678c78fb731cecf378c0068 SHA512 a998f055ef831bbd30c624b157de31ad847d3a8f838586e40ba7f978e184eb22914e036fb927794e61b432352d888cf808a90dde2e29458e203297e11079d144
AUX guayadeque-0.4.6-metadata.patch 716 BLAKE2B 2dfd57e859eebfb174b6e66c3b9f11cad4af49a3ad615f1f6e53d7cd86c4e9851c8d7d78ba47ed1785cd2eab4017bc43720e9b3dbf4990d06165355c505fba32 SHA512 5d3d861eebaa629031de6186846353798b7178801d6b7c07344bf75d952891d17f90237986949bc4b12984b8635ae4d1f9fc8a319d2199bd6f22cc7669dcc564
DIST guayadeque-0.4.6.tar.gz 2074965 BLAKE2B a6076a60f6560f51f1fa1ac7aca0529823d6579726049cfda212ae42e62c6f86ca18e8c06aa60d8e23c8accf51d4363ebe4b69b50ce5224f7db3215c32acf12f SHA512 d353aa492b393a5043cdab2d151d715381c3d9d50cad393ca5687b5c556257641fc2b5eda53772098c8c0621fba88ae693179d07a1085d5b69aab1e5d06459a7
+DIST guayadeque-0.4.7.tar.gz 2192075 BLAKE2B b8f78a0667723d8ae27cc13c435f0309a521b10efc440d6cafca08692ef3a79299824d60bcafba3134255d652371f08adec98b1ac63589627c44d2ee8697d443 SHA512 8b620a2a44cc36866c2a2df14fec086796fab9a955429dc58f5689a90634dcc1a96434ab5dff4bbe8c81d785b9e1d8c91011ec076d4e0f5c75f269e9d92bf021
EBUILD guayadeque-0.4.6.ebuild 2356 BLAKE2B b7b8c58c38fad216bd73f236cf7797b49e8ff19b1aedf7291a5ff9a6b8db31dbb5c36153b3c5b86ab1f42ac3a8e83968d95b572325d5e9395c16986c3b62c9d7 SHA512 c0b9aef324c9e370e5262c1ba8e0c3efa08c103eeec067bda9dbb69e4cf33794c6fbb6ff931423c5b9e6f30875a8e3cb17ca3df800cbb0b618eaab14de1ec266
-EBUILD guayadeque-9999.ebuild 2269 BLAKE2B 91638edf51c355d60f39c3548efe82cdba79e1a0dbc8d98d09f2e341a8069982adcc761fc6b60f44dbba00884de831c85b971efaae12f9835cd832810187f053 SHA512 2c4ae18463836d9671797971f671f32895d28bbcd95f8e6b88d4a2932ab6435a6a0c1bd4992d9b702343b1285421414b00a5c58981598031c6e384321f88ef58
+EBUILD guayadeque-0.4.7.ebuild 2268 BLAKE2B 89f0f88f01a37f48eef9c9d0a5078f5fe7583e8cf4e2a844eb310f7b67b1214b16a7645faec1b31237cd4e6ab8c450f83bd4d4e2eec62f61be815035941ee99b SHA512 31ab57af134af8eaab048c9b264efd84dde12f24fed61c95bcfa1107f721e24b9e54a1a0ac1e7b5b3e400354d0d72b2226b70db96ab0a19dbb6a93960d1d9148
+EBUILD guayadeque-9999.ebuild 2268 BLAKE2B 89f0f88f01a37f48eef9c9d0a5078f5fe7583e8cf4e2a844eb310f7b67b1214b16a7645faec1b31237cd4e6ab8c450f83bd4d4e2eec62f61be815035941ee99b SHA512 31ab57af134af8eaab048c9b264efd84dde12f24fed61c95bcfa1107f721e24b9e54a1a0ac1e7b5b3e400354d0d72b2226b70db96ab0a19dbb6a93960d1d9148
MISC metadata.xml 411 BLAKE2B 0a0ae74c6c50b622dbfd6d66a2bbe343c94471454d1be0ac6130f32deb17e944a8f322bf018af67ebbd8e5ef5a51b9b9a1062d5bd0e11ede1f5c4f3470c5e8da SHA512 3de001e7dd97fcdb2627f3305e55d1f5737670a3aabd5f0269c541d9d8f4c1c3e0e4dba60ddb689240f9e40cc2d08530ed56c9e18eb7499b3b003c33538c49d5
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}"