diff options
Diffstat (limited to 'kde-apps/k3b')
-rw-r--r-- | kde-apps/k3b/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/k3b/k3b-20.04.1.ebuild | 122 |
2 files changed, 123 insertions, 0 deletions
diff --git a/kde-apps/k3b/Manifest b/kde-apps/k3b/Manifest index 3b0ede65552c..390770812e1d 100644 --- a/kde-apps/k3b/Manifest +++ b/kde-apps/k3b/Manifest @@ -1,2 +1,3 @@ DIST k3b-19.12.3.tar.xz 10518156 BLAKE2B d80b53a23183b1f33aa2cc78f1a60a10210dd017862c244a5f792b68d5f40f00a5fd0906d2468b0f23541a2fc9c498ae877d2def7eac93df5c6f86319a97659b SHA512 732526da1f8ad735d221bd8412e26462ad0a4a8a8bca6a2588d31d58f4345b8dac49b9c07fd464c95ca65f4e901df0bbb1ab404956f5c06c8216a1c6f07bc8d8 DIST k3b-20.04.0.tar.xz 10510432 BLAKE2B 732133d408fdf353636b08af14a786e239094f6a9b408b2a73ba432e7658337c3be0aa0c35323965091ba746e25502a5e521727644fe4b3e327be5a960e86f5c SHA512 44be64356bedef8f9e32fe41ee84d8da0153688833f0d809811a60cc5450bbfe6347518ecc7964679d0484d751b8d84dab1d266dc48069c42f25d1841f875b92 +DIST k3b-20.04.1.tar.xz 10510332 BLAKE2B c72e8c49f283e873b0cbd5ddaf3306052f408e351580fed472ee9b6fd3c221d47df581e07d697410fd8b7e0f085ffc566d5f4b46b5413919c1e742e9d76d09db SHA512 6d9a8fe3860e996c6e2291933d5912b4a1bd36ebdd73e6de3486082052b21f5d00b7e7329cc5f17ccbe1f46120f5a77cfb9ab789968e7c48ae2e950a1f611bcc diff --git a/kde-apps/k3b/k3b-20.04.1.ebuild b/kde-apps/k3b/k3b-20.04.1.ebuild new file mode 100644 index 000000000000..282005a07848 --- /dev/null +++ b/kde-apps/k3b/k3b-20.04.1.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +PVCUT=$(ver_cut 1-3) +KFMIN=5.70.0 +QTMIN=5.12.3 +inherit ecm kde.org + +DESCRIPTION="Full-featured burning and ripping application based on KDE Frameworks" +HOMEPAGE="https://kde.org/applications/multimedia/org.kde.k3b +https://userbase.kde.org/K3b" + +LICENSE="GPL-2 FDL-1.2" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="dvd encode ffmpeg flac mad mp3 musepack sndfile sox taglib vcd vorbis webkit" + +REQUIRED_USE=" + flac? ( taglib ) + mp3? ( encode taglib ) + sox? ( encode taglib ) +" + +DEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-apps/libkcddb-${PVCUT}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kbookmarks-${KFMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kfilemetadata-${KFMIN}:5[taglib?] + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/knotifyconfig-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 + media-libs/libsamplerate + dvd? ( media-libs/libdvdread:= ) + ffmpeg? ( media-video/ffmpeg:0= ) + flac? ( >=media-libs/flac-1.2[cxx] ) + mp3? ( media-sound/lame ) + mad? ( media-libs/libmad ) + musepack? ( >=media-sound/musepack-tools-444 ) + sndfile? ( media-libs/libsndfile ) + taglib? ( >=media-libs/taglib-1.5 ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) + webkit? ( >=dev-qt/qtwebkit-5.212.0_pre20180120:5 ) +" +RDEPEND="${DEPEND} + app-cdr/cdrdao + dev-libs/libburn + media-sound/cdparanoia + virtual/cdrtools + dvd? ( + >=app-cdr/dvd+rw-tools-7 + encode? ( media-video/transcode[dvd] ) + ) + sox? ( media-sound/sox ) + vcd? ( media-video/vcdimager ) +" + +DOCS+=( ChangeLog {FAQ,PERMISSIONS,README}.txt ) + +src_configure() { + local mycmakeargs=( + -DK3B_BUILD_API_DOCS=OFF + -DK3B_BUILD_WAVE_DECODER_PLUGIN=ON + -DK3B_ENABLE_HAL_SUPPORT=OFF + -DK3B_ENABLE_MUSICBRAINZ=OFF + -DK3B_DEBUG=$(usex debug) + -DK3B_ENABLE_DVD_RIPPING=$(usex dvd) + -DK3B_BUILD_EXTERNAL_ENCODER_PLUGIN=$(usex encode) + -DK3B_BUILD_FFMPEG_DECODER_PLUGIN=$(usex ffmpeg) + -DK3B_BUILD_FLAC_DECODER_PLUGIN=$(usex flac) + -DK3B_BUILD_LAME_ENCODER_PLUGIN=$(usex mp3) + -DK3B_BUILD_MAD_DECODER_PLUGIN=$(usex mad) + -DK3B_BUILD_MUSE_DECODER_PLUGIN=$(usex musepack) + -DK3B_BUILD_SNDFILE_DECODER_PLUGIN=$(usex sndfile) + -DK3B_BUILD_SOX_ENCODER_PLUGIN=$(usex sox) + -DK3B_ENABLE_TAGLIB=$(usex taglib) + -DK3B_BUILD_OGGVORBIS_DECODER_PLUGIN=$(usex vorbis) + -DK3B_BUILD_OGGVORBIS_ENCODER_PLUGIN=$(usex vorbis) + $(cmake_use_find_package webkit Qt5WebKitWidgets) + ) + + ecm_src_configure +} + +pkg_postinst() { + ecm_pkg_postinst + + echo + elog "If you get warnings on start-up, uncheck the \"Check system" + elog "configuration\" option in the \"Misc\" settings window." + echo + + local group=cdrom + use kernel_linux || group=operator + elog "Make sure you have proper read/write permissions on optical device(s)." + elog "Usually, it is sufficient to be in the ${group} group." + echo +} |