diff options
author | Chris <xchrisx@uber.space> | 2020-03-27 03:12:05 +0100 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2020-03-27 23:02:37 +0000 |
commit | cc3bceb0d70f3feafbe8d6902ba82a4062539ba1 (patch) | |
tree | d24803cc22fe29fd5adfb9b7d9c80843d4bc89d7 /trinity-apps/k3b | |
parent | e63e76c93c7b7637edbaae22861ee32700f497f7 (diff) | |
download | tde-packaging-gentoo-cc3bceb0d70f3feafbe8d6902ba82a4062539ba1.tar.gz tde-packaging-gentoo-cc3bceb0d70f3feafbe8d6902ba82a4062539ba1.zip |
Live ebuilds: Add preliminary `K3b`, `K3b-i18n` and `eMoviX` ebuilds.
Signed-off-by: Chris <xchrisx@uber.space>
Diffstat (limited to 'trinity-apps/k3b')
-rw-r--r-- | trinity-apps/k3b/k3b-9999.ebuild | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/trinity-apps/k3b/k3b-9999.ebuild b/trinity-apps/k3b/k3b-9999.ebuild new file mode 100644 index 00000000..f7aa0e79 --- /dev/null +++ b/trinity-apps/k3b/k3b-9999.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2009 Gentoo Foundation +# Copyright 2020 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +TRINITY_MODULE_TYPE="applications" + +inherit trinity-base-2 + +DESCRIPTION="A CD/DVD burning application for Trinity" +HOMEPAGE="http://trinitydesktop.org/" +LICENSE="|| ( GPL-2 GPL-3 )" + +need-trinity + +need-arts optional + +SLOT="${TRINITY_VER}" + +IUSE+=" css dvd dvdr vcd debug alsa ffmpeg ffmpeg_all_codecs \ + flac sndfile taglib mp3 vorbis encode emovix +handbook" + +DEPEND+=" media-libs/libsamplerate + media-libs/taglib + media-sound/cdparanoia + alsa? ( media-libs/alsa-lib ) + dvd? ( media-libs/libdvdread ) + encode? ( media-sound/lame ) + ffmpeg? ( virtual/ffmpeg ) + flac? ( media-libs/flac[cxx] ) + mp3? ( media-libs/libmad ) + sndfile? ( media-libs/libsndfile ) + vorbis? ( media-libs/libvorbis )" +RDEPEND+=" ${DEPEND} + app-cdr/cdrdao + media-sound/normalize + virtual/cdrtools + dvdr? ( app-cdr/dvd+rw-tools ) + css? ( media-libs/libdvdcss ) + encode? ( media-sound/sox + media-video/transcode[dvd] ) + emovix? ( media-video/emovix ) + vcd? ( media-video/vcdimager )" + +src_configure() { + mycmakeargs=( + -DWITH_HAL=OFF + -DWITH_SYSTEM_LIBSAMPLERATE=ON + -DWITH_MUSEPACK=OFF + -DWITH_MUSICBRAINZ=OFF + -DBUILD_K3BSETUP=OFF + -DBUILD_DOC="$(usex handbook)" + -DWITH_LIBDVDREAD="$(usex dvd)" + -DWITH_DEBUG="$(usex debug)" + -DWITH_ALSA="$(usex alsa)" + -DWITH_FFMPEG="$(usex ffmpeg)" + -DWITH_FFMPEG_ALL_CODECS="$(usex ffmpeg_all_codecs)" + -DWITH_FLAC="$(usex flac)" + -DWITH_SNDFILE="$(usex sndfile)" + -DWITH_TAGLIB="$(usex taglib)" + -DWITH_MAD="$(usex mp3)" + -DWITH_VORBIS="$(usex vorbis)" + -DWITH_LAME="$(usex encode)" + ) + + trinity-base-2_src_configure +} + +pkg_postinst() { + echo + elog "We don't install k3bsetup anymore because Gentoo doesn't need it." + 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 the cdrom device(s)." + elog "Usually, it is sufficient to be in the ${group} group." + echo +} |