public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/amarok/
Date: Mon, 14 Apr 2025 18:01:13 +0000 (UTC)	[thread overview]
Message-ID: <1744653630.4e6d32dcd8a3ed77d79afbd369f25cb64159b0f4.asturm@gentoo> (raw)

commit:     4e6d32dcd8a3ed77d79afbd369f25cb64159b0f4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 13 19:13:03 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Apr 14 18:00:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6d32dc

media-sound/amarok: add 3.2.81

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/amarok/Manifest             |   1 +
 media-sound/amarok/amarok-3.2.81.ebuild | 154 ++++++++++++++++++++++++++++++++
 2 files changed, 155 insertions(+)

diff --git a/media-sound/amarok/Manifest b/media-sound/amarok/Manifest
index 7cfd63393704..f607ca8aabce 100644
--- a/media-sound/amarok/Manifest
+++ b/media-sound/amarok/Manifest
@@ -1 +1,2 @@
 DIST amarok-3.2.2.tar.xz 47693388 BLAKE2B 011a925163ebd113de15826bdc4165ed001896ce99c8fa49496b208318bb24c339069f99f7d7097d506e0caf437909c8cd0e0babc52b28bceff2a6def07d0fe0 SHA512 918b4fd03a2de717cb1f5968e4ba3eda391c881de384ebabeec423303e84ac6f5a8dbbb8816668d3de52c77d57f1ab9fef6580a8111a9507c9082a8ca25097aa
+DIST amarok-3.2.81.tar.xz 47714392 BLAKE2B a6ab108de38795dd6f3c2bfbfc37de01d2b467e9c18ff6852960ddd5358f1ce431b2f4721395f12e8fd5d7cb738639bdf957f4b023b9692e634361fc47bb569a SHA512 1722be4fe5ed3f6d2364e0c2a1dcced90aafbe1a69153c00774db98e8bdb8a7ed274e7d734bd53c2be9ca657d35710ce65c678fde3cd3197895d6b19ff883137

diff --git a/media-sound/amarok/amarok-3.2.81.ebuild b/media-sound/amarok/amarok-3.2.81.ebuild
new file mode 100644
index 000000000000..bae4e2fa0e6f
--- /dev/null
+++ b/media-sound/amarok/amarok-3.2.81.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=6.9.0
+QTMIN=6.7.2
+PYTHON_COMPAT=( python3_{10..13} )
+inherit ecm kde.org optfeature python-any-r1 xdg
+
+if [[ ${KDE_BUILD_TYPE} == release ]]; then
+	SRC_URI="mirror://kde/unstable/${PN}/${PV}/${P}.tar.xz"
+#	KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Advanced audio player based on KDE Frameworks"
+HOMEPAGE="https://amarok.kde.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="ipod lastfm mariadb mtp podcast webengine X"
+
+# ipod requires gdk enabled and also gtk compiled in libgpod
+DEPEND="
+	>=app-crypt/qca-2.3.9:2[qt6(+)]
+	>=dev-qt/qt5compat-${QTMIN}:6
+	>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,sql,widgets,xml]
+	>=dev-qt/qtdeclarative-${QTMIN}:6
+	>=dev-qt/qtsvg-${QTMIN}:6
+	>=dev-qt/qttools-${QTMIN}:6[designer]
+	>=kde-frameworks/attica-${KFMIN}:6
+	>=kde-frameworks/karchive-${KFMIN}:6
+	>=kde-frameworks/kcmutils-${KFMIN}:6
+	>=kde-frameworks/kcodecs-${KFMIN}:6
+	>=kde-frameworks/kcolorscheme-${KFMIN}:6
+	>=kde-frameworks/kcompletion-${KFMIN}:6
+	>=kde-frameworks/kconfig-${KFMIN}:6
+	>=kde-frameworks/kconfigwidgets-${KFMIN}:6
+	>=kde-frameworks/kcoreaddons-${KFMIN}:6
+	>=kde-frameworks/kcrash-${KFMIN}:6
+	>=kde-frameworks/kdbusaddons-${KFMIN}:6
+	>=kde-frameworks/kdeclarative-${KFMIN}:6
+	>=kde-frameworks/kdnssd-${KFMIN}:6
+	>=kde-frameworks/kglobalaccel-${KFMIN}:6
+	>=kde-frameworks/kguiaddons-${KFMIN}:6
+	>=kde-frameworks/ki18n-${KFMIN}:6
+	>=kde-frameworks/kiconthemes-${KFMIN}:6
+	>=kde-frameworks/kio-${KFMIN}:6
+	>=kde-frameworks/kitemviews-${KFMIN}:6
+	>=kde-frameworks/knewstuff-${KFMIN}:6
+	>=kde-frameworks/knotifications-${KFMIN}:6
+	>=kde-frameworks/kpackage-${KFMIN}:6
+	>=kde-frameworks/kservice-${KFMIN}:6
+	>=kde-frameworks/kstatusnotifieritem-${KFMIN}:6
+	>=kde-frameworks/ktexteditor-${KFMIN}:6
+	>=kde-frameworks/ktextwidgets-${KFMIN}:6
+	>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+	>=kde-frameworks/kwindowsystem-${KFMIN}:6[X?]
+	>=kde-frameworks/kxmlgui-${KFMIN}:6
+	>=kde-frameworks/solid-${KFMIN}:6
+	>=kde-frameworks/threadweaver-${KFMIN}:6
+	>=media-libs/phonon-4.12.0[qt6(+)]
+	>=media-libs/taglib-1.12:=
+	sci-libs/fftw:3.0
+	sys-libs/zlib
+	virtual/opengl
+	ipod? (
+		dev-libs/glib:2
+		media-libs/libgpod[gtk]
+	)
+	lastfm? ( >=media-libs/liblastfm-1.1.0_pre20241124 )
+	mariadb? ( dev-db/mariadb-connector-c:= )
+	!mariadb? ( dev-db/mysql-connector-c:= )
+	mtp? ( media-libs/libmtp )
+	podcast? ( >=media-libs/libmygpo-qt-1.1.0_pre20240811 )
+	webengine? ( >=dev-qt/qtwebengine-${QTMIN}:6[widgets] )
+"
+RDEPEND="${DEPEND}
+	>=kde-frameworks/kirigami-${KFMIN}:6
+	media-video/ffmpeg
+"
+BDEPEND="${PYTHON_DEPS}
+	>=dev-qt/qttools-${QTMIN}:6[linguist]
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DWITH_MP3Tunes=OFF
+		-DWITH_PLAYER=ON
+		-DWITH_UTILITIES=ON
+		-DCMAKE_DISABLE_FIND_PACKAGE_Googlemock=ON
+		-DCMAKE_DISABLE_FIND_PACKAGE_LibOFA=ON
+		-DCMAKE_DISABLE_FIND_PACKAGE_MySQLe=ON
+		-DWITH_IPOD=$(usex ipod)
+		$(cmake_use_find_package lastfm LibLastFm)
+		$(cmake_use_find_package !mariadb MySQL)
+		$(cmake_use_find_package mtp Mtp)
+		$(cmake_use_find_package podcast Mygpo-qt6)
+		$(cmake_use_find_package webengine Qt6WebEngineWidgets)
+		-DWITH_X11=$(usex X)
+	)
+	use ipod && mycmakeargs+=( -DWITH_GDKPixBuf=ON )
+
+	ecm_src_configure
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	pkg_is_installed() {
+		echo "${1} ($(has_version ${1} || echo "not ")installed)"
+	}
+
+	db_name() {
+		use mariadb && echo "MariaDB" || echo "MySQL"
+	}
+
+	optfeature "Audio CD support" "kde-apps/audiocd-kio:6"
+
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		elog "You must configure ${PN} to use an external database server."
+		elog " 1. Make sure either MySQL or MariaDB is installed and configured"
+		elog "    Checking local system:"
+		elog "      $(pkg_is_installed dev-db/mariadb)"
+		elog "      $(pkg_is_installed dev-db/mysql)"
+		elog "    For preliminary configuration of $(db_name) Server refer to"
+		elog "    https://wiki.gentoo.org/wiki/$(db_name)#Configuration"
+		elog " 2. Ensure 'mysql' service is started and run:"
+		elog "    # emerge --config amarok"
+		elog " 3. Run ${PN} and go to 'Configure Amarok - Database' menu page"
+		elog "    Check 'Use external MySQL database' and press OK"
+		elog
+		elog "For more information please read:"
+		elog "  https://community.kde.org/Amarok/Community/MySQL"
+	fi
+}
+
+pkg_config() {
+	# Create external mysql database with amarok default user/password
+	local AMAROK_DB_NAME="amarokdb"
+	local AMAROK_DB_USER_NAME="amarokuser"
+	local AMAROK_DB_USER_PWD="password"
+
+	einfo "Initializing ${PN} MySQL database 'amarokdb':"
+	einfo "If prompted for a password, please enter your MySQL root password."
+	einfo
+
+	if [[ -e "${EROOT}"/usr/bin/mysql ]]; then
+		"${EROOT}"/usr/bin/mysql -u root -p -e "CREATE DATABASE IF NOT EXISTS ${AMAROK_DB_NAME}; GRANT ALL PRIVILEGES ON ${AMAROK_DB_NAME}.* TO '${AMAROK_DB_USER_NAME}' IDENTIFIED BY '${AMAROK_DB_USER_PWD}'; FLUSH PRIVILEGES;"
+	fi
+	einfo "${PN} MySQL database 'amarokdb' successfully initialized!"
+}


             reply	other threads:[~2025-04-14 18:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-14 18:01 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-14  8:32 [gentoo-commits] repo/gentoo:master commit in: media-sound/amarok/ Andreas Sturmlechner
2017-12-09 21:28 Andreas Sturmlechner
2017-12-04 12:29 Andreas Sturmlechner
2017-12-04 12:29 Andreas Sturmlechner
2017-12-03 23:04 Andreas Sturmlechner
2017-12-03 17:20 Andreas Sturmlechner
2017-12-03 17:20 Andreas Sturmlechner
2017-08-27  9:35 Andreas Sturmlechner
2017-08-17 18:58 Andreas Sturmlechner
2017-08-12 14:31 Michael Palimaka
2017-06-30 17:27 Andreas Sturmlechner
2017-06-30 11:10 Agostino Sarubbo
2017-06-28 13:19 Agostino Sarubbo
2017-02-24 13:38 Agostino Sarubbo
2017-02-24 13:20 Agostino Sarubbo
2016-07-21  9:40 Michael Palimaka
2016-07-07 17:52 Michael Palimaka
2016-05-18 21:50 Johannes Huber
2016-04-19 21:24 Ian Stakenvicius
2015-12-31  9:17 Michael Palimaka
2015-08-12 20:05 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1744653630.4e6d32dcd8a3ed77d79afbd369f25cb64159b0f4.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox