From 3e40192a49cb8a082a2b5e9e4ba7ae9bb6790088 Mon Sep 17 00:00:00 2001 From: Robert Siebeck Date: Thu, 31 Oct 2024 11:14:33 +0100 Subject: [PATCH] media-sound/amarok: remove 3.0.0 --- media-sound/amarok/Manifest | 2 - media-sound/amarok/amarok-3.0.0.ebuild | 152 ------------------------- 2 files changed, 154 deletions(-) delete mode 100644 media-sound/amarok/amarok-3.0.0.ebuild diff --git a/media-sound/amarok/Manifest b/media-sound/amarok/Manifest index bc76a53..d842768 100644 --- a/media-sound/amarok/Manifest +++ b/media-sound/amarok/Manifest @@ -1,4 +1,2 @@ -DIST amarok-v3.0.0.tar.bz2 52406576 BLAKE2B ac4c977b2b01253709cd428a647cc6867e337356f4287fb7d893bc87a2d5f3c09bca026f886f33bebd4e5e75f8da83f92c6fe58c98a527ecf90380a965f5e17e SHA512 d9e53c74ef4f9e587fd872529a5a493ea6f04c8de31b8ddb08961535ca704cd7040ffa0cf4564d4011ccbd26da438d22c84125aa30309dcac3f31672e6ac35d8 DIST amarok-v3.1.1.tar.bz2 52047009 BLAKE2B b0e7dc9c5c08b9d30f5061ec08b019bd145261e5f475c58344140f69dde99a377e2a987e7b3370d119f72bc50c4095bbfa2191aab5a8eac6fa775c9f851391c1 SHA512 1b65da2b926b636045d33a7405073881ab59888b5c24d1cf9d29d1fa210857bed91d70ab1f50ea2f776722b66f3b7c9deaba7508b77da20193a37bc88df5b5a6 -EBUILD amarok-3.0.0.ebuild 4895 BLAKE2B 5e4e0f556da849ade79c6b2ad2edfe439c7346baf559e79242b786f18c6fe1307fa9c6e10f4fff53ecf8cb11c52abc3cfcbbbc66bf49ae1f34423f79678fd374 SHA512 fb770ccd4e6ffbe0df0f84417996beae4992e754a7b6cf6749daff79bf8370b4d8a9cf892594fb68cd52a0496a3702434f3f19625dd31ff94bda4ce3ba5c1eb9 EBUILD amarok-3.1.1.ebuild 4101 BLAKE2B 43e5d7ca4faccdf07dc991c4b190e59431477b3fca18835f11520f5c7daf89e957ec08c52f9b57b08fe4b4c75db2089e0b9c0615fb5cc3bb731730d6e5ee3064 SHA512 0e5e9282bdc18aef5bbf056bba22fde528c705e1fe00a3b49dbc20f13ce4f84afc45fc68c2f9de71bfb35bc149f025e2e45a612b3e0c7f9c39650d7375e48caf diff --git a/media-sound/amarok/amarok-3.0.0.ebuild b/media-sound/amarok/amarok-3.0.0.ebuild deleted file mode 100644 index 86bdb81..0000000 --- a/media-sound/amarok/amarok-3.0.0.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="forceoptional" -KFMIN=5.115.0 -QTMIN=5.15.12 -inherit ecm kde.org optfeature - -DESCRIPTION="Advanced audio player based on KDE frameworks" -HOMEPAGE="https://amarok.kde.org/" -SRC_URI="https://invent.kde.org/multimedia/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" - -LICENSE="GPL-2" -SLOT="5" -KEYWORDS="~amd64" -IUSE="ipod lastfm mariadb mtp podcast wikipedia" - -# ipod requires gdk enabled and also gtk compiled in libgpod -BDEPEND="virtual/pkgconfig" -DEPEND=" - >=app-crypt/qca-2.3.0:2[qt5(+)] - >=dev-qt/designer-${QTMIN}:5 - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtsql-${QTMIN}:5 - >=dev-qt/qtsvg-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=dev-qt/qtxml-${QTMIN}:5 - >=kde-frameworks/attica-${KFMIN}:5 - >=kde-frameworks/karchive-${KFMIN}:5 - >=kde-frameworks/kcmutils-${KFMIN}:5 - >=kde-frameworks/kcodecs-${KFMIN}:5 - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/kcrash-${KFMIN}:5 - >=kde-frameworks/kdbusaddons-${KFMIN}:5 - >=kde-frameworks/kdeclarative-${KFMIN}:5 - >=kde-frameworks/kdnssd-${KFMIN}:5 - >=kde-frameworks/kglobalaccel-${KFMIN}:5 - >=kde-frameworks/kguiaddons-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/kitemviews-${KFMIN}:5 - >=kde-frameworks/knewstuff-${KFMIN}:5 - >=kde-frameworks/knotifications-${KFMIN}:5 - >=kde-frameworks/kpackage-${KFMIN}:5 - >=kde-frameworks/kservice-${KFMIN}:5 - >=kde-frameworks/ktexteditor-${KFMIN}:5 - >=kde-frameworks/ktextwidgets-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kwindowsystem-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - >=kde-frameworks/solid-${KFMIN}:5 - >=kde-frameworks/threadweaver-${KFMIN}:5 - >=media-libs/phonon-4.11.0[qt5(+)] - media-libs/taglib:= - media-libs/taglib-extras - 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_pre20150206 ) - mariadb? ( dev-db/mariadb-connector-c:= ) - !mariadb? ( dev-db/mysql-connector-c:= ) - mtp? ( media-libs/libmtp ) - podcast? ( >=media-libs/libmygpo-qt-1.0.9_p20180307 ) - wikipedia? ( >=dev-qt/qtwebengine-${QTMIN}:5 ) -" -RDEPEND="${DEPEND} - >=dev-qt/qtquickcontrols2-${QTMIN}:5 - >=kde-frameworks/kirigami-${KFMIN}:5 - media-video/ffmpeg -" - -S="${WORKDIR}/${PN}-v${PV}" - -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-qt5) - $(cmake_use_find_package wikipedia Qt5WebEngine) - ) - use ipod && mycmakeargs+=( DWITH_GDKPixBuf=ON ) - - ecm_src_configure -} - -pkg_postinst() { - ecm_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:5" - - 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!" -}