media-video/lossless-cut: treeclean, moved to ::gentoo

In ::gentoo as media-video/lossless-cut-bin.

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
Florian Albrechtskirchinger committed 2026-06-25 10:05:30 +02:00
1 parent 4c4d74d6e3
commit d5d0123e7f
7 files changed
+4 -307

No files matched your search

-4
View File
@@ -1,4 +0,0 @@
DIST lossless-cut-3.59.1-metainfo.xml 4918 BLAKE2B a7cba2e2afeb1432252f5c666b9ab704792a58693c81aaf286e7075fd93dc2be1689ef2c9b0233c53bac27a0cb1c32c8d2c780bfda9823a112529133d1da8262 SHA512 68117484f4c6785b06db652e38280ff65e8b700e0a63635c7d38422f6121ef7a0a3eafd8f3c364415ec80630cfee7dede5c686d3ff970f009f56511a75f46a59
DIST lossless-cut-3.59.1.AppImage 161407039 BLAKE2B 061f8fbb4c36cb30effdb1824dbfe20645169e5236c95f2a9e55f4f61ba7075a0a5f902c01c5aac6b4a7099ecb77de2ddaa01a947de9e36e474a409bddd1ee19 SHA512 00e0692af320c6671d0ac95a3b3e568cdf84cbd3aab975c9bdcf2d4a8c3c406d8d3f015c7c105e363a3f7eb78fd9af85001cd36c054181edc8d7ed19ef8181af
DIST lossless-cut-3.64.0-metainfo.xml 5328 BLAKE2B 2eafad13c92eebfd8bd1e080bd66e0d7741fcef2acdeb3b3dae90ca91ed4e549fa837560ac691c9720410cf219abbc33c5670adca5df806bd1328c70be98e44e SHA512 284928e5ed77ce92711a12942d157180baa5e9b70dbc43642af14e9826f991f5ee51b04bb307bae7b7c59d432aca63e642f6b6b35215c75423b495f26df3ad92
DIST lossless-cut-3.64.0.AppImage 172065344 BLAKE2B 076310e5925f6f82d0390251882ca37dd4089274de4bba1e6025a0a99acdfadda419284baed0724073848f08f10e23e5e1cee7038781654f56639be0baeb387a SHA512 bdd57b5092588853074ef23c42bdde11258ddddae19f4a96a178badf4df23ae22ce925c8874459914092660f2ef7d87f69b8e89d7d5892912fbdb27a5457728f
@@ -1,13 +0,0 @@
[Desktop Entry]
Name=LosslessCut
Comment=simple video editor to trim or cut videos
Comment[fr]=Un simple éditeur vidéo pour retailler ou couper les vidéos
Exec=losslesscut-bin
MimeType=video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;video/x-flv;video/vnd.rn-realvideo;video/mp4;video/mp4v-es;video/mp2t;application/ogg;application/x-ogg;video/x-ogm+ogg;audio/x-vorbis+ogg;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;
Icon=no.mifi.losslesscut
Terminal=false
Type=Application
Encoding=UTF-8
Categories=AudioVideo;AudioVideoEditing;
Keywords=trim;codec;cut;movie;mpeg;avi;h264;mkv;mp4;
StartupWMClass=losslesscut
@@ -1,59 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<g>
<circle style="fill:#14B0BF;" cx="256" cy="256" r="256"/>
<path style="fill:#3387B5;" d="M437.018,437.018c59.699-59.699,83.722-141.548,72.12-219.09L401.833,109.86L96.691,163.666
l8.771,49.731l2.463-0.435l0.077,0.435h-2.54v168.397c0,6.38,3.036,12.032,7.67,15.77c0.916,1.137,112.067,112.067,112.579,112.579
C300.913,519.05,379.31,494.725,437.018,437.018z"/>
<path style="fill:#0F303F;" d="M415.309,381.788c0,11.192-9.16,20.352-20.352,20.352H125.809c-11.192,0-20.352-9.16-20.352-20.352
V233.743c0-11.192,9.16-20.352,20.352-20.352h269.148c11.192,0,20.352,9.16,20.352,20.352V381.788z"/>
<rect x="105.462" y="213.396" style="fill:#FFFFFF;" width="309.862" height="50.499"/>
<path style="fill:#0F303F;" d="M156.001,220.314l-36.874,37.366h37.366l36.874-37.366H156.001z M311.322,220.314l-36.874,37.366
h37.366l36.874-37.366H311.322z M207.775,220.314L170.9,257.679h37.366l36.874-37.366H207.775z M259.548,220.314l-36.874,37.366
h37.366l36.874-37.366H259.548z M363.095,220.314l-36.874,37.366h37.366l36.874-37.366H363.095z M414.868,220.314l-36.874,37.366
h37.315v-37.366H414.868z M105.462,220.314v37.366h0.246l36.874-37.366H105.462z"/>
<rect x="98.721" y="136.353" transform="matrix(0.9848 -0.1736 0.1736 0.9848 -24.203 46.4881)" style="fill:#FFFFFF;" width="309.857" height="50.498"/>
<path style="fill:#0F303F;" d="M316.467,131.937l42.803,30.397l36.797-6.487l-42.803-30.397L316.467,131.937z M163.502,158.904
l42.803,30.397l36.797-6.487L200.3,152.417L163.502,158.904z M265.477,140.928l42.803,30.397l36.797-6.487l-42.803-30.397
L265.477,140.928z M214.492,149.919l42.803,30.397l36.797-6.487l-42.803-30.397L214.492,149.919z M112.517,167.895l42.803,30.397
l36.797-6.487l-42.803-30.397L112.517,167.895z M97.894,170.476l6.487,36.797l36.746-6.482l-42.803-30.397L97.894,170.476z
M366.479,123.116l42.803,30.397l0.241-0.041l-6.487-36.797L366.479,123.116z"/>
<path style="fill:#FDC00F;" d="M394.634,317.379h-0.072v-36.552h-269.44v103.235h269.44v-62.172h0.072V317.379z M390.497,284.897
v32.481h-101.13v-32.481L390.497,284.897L390.497,284.897z M284.856,284.897v32.481H177.05v-32.481L284.856,284.897
L284.856,284.897z M129.193,379.991v-95.094h43.341v95.094H129.193z M177.05,379.991v-58.102h107.807v58.102L177.05,379.991
L177.05,379.991z M390.497,379.991h-101.13v-58.102h101.125v58.102H390.497z"/>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

@@ -1,62 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="Lossless video/audio editing: export media without reencoding, powered by ffmpeg"
HOMEPAGE="https://mifi.no/losslesscut/
https://github.com/mifi/lossless-cut"
SRC_URI="https://github.com/mifi/lossless-cut/releases/download/v${PV}/LosslessCut-linux-x86_64.AppImage
-> ${P}.AppImage
https://raw.githubusercontent.com/mifi/lossless-cut/v${PV}/no.mifi.losslesscut.appdata.xml
-> ${P}-metainfo.xml
"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"
RDEPEND="
app-accessibility/at-spi2-core:2
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/mesa
net-print/cups
sys-apps/dbus
sys-fs/fuse:0
virtual/zlib
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libdrm
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/pango
"
QA_PREBUILT="usr/bin/losslesscut-bin"
src_install() {
# keep this in sync with the Exec value in the desktop file
newbin "${DISTDIR}"/${P}.AppImage losslesscut-bin
domenu "${FILESDIR}"/no.mifi.losslesscut.desktop
doicon "${FILESDIR}"/no.mifi.losslesscut.svg
insinto /usr/share/metainfo
newins "${DISTDIR}"/${P}-metainfo.xml no.mifi.losslesscut.appdata.xml
}
@@ -1,72 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="Lossless video/audio editing: export media without reencoding, powered by ffmpeg"
HOMEPAGE="https://mifi.no/losslesscut/
https://github.com/mifi/lossless-cut"
SRC_URI="https://github.com/mifi/lossless-cut/releases/download/v${PV}/LosslessCut-linux-x86_64.AppImage
-> ${P}.AppImage
https://raw.githubusercontent.com/mifi/lossless-cut/v${PV}/no.mifi.losslesscut.appdata.xml
-> ${P}-metainfo.xml
"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="disable-networking system-ffmpeg"
RESTRICT="strip"
RDEPEND="
app-accessibility/at-spi2-core:2
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/mesa
net-print/cups
sys-apps/dbus
sys-fs/fuse:0
virtual/zlib
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libdrm
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/pango
system-ffmpeg? ( media-video/ffmpeg )
"
QA_PREBUILT="usr/bin/losslesscut-bin"
src_install() {
# keep this in sync with the Exec value in the desktop file
newbin "${DISTDIR}"/${P}.AppImage losslesscut-bin
local desktop_file="${WORKDIR}"/no.mifi.losslesscut.desktop
cp "${FILESDIR}"/no.mifi.losslesscut.desktop "${desktop_file}" || die
if use disable-networking; then
sed -i "/^Exec=/ s%$% --disable-networking%" "${desktop_file}" || die
fi
if use system-ffmpeg; then
sed -i "/^Exec=/ s%$% --settings-json '{\"customFfPath\": \"/usr/bin\"}'%" "${desktop_file}" || die
fi
domenu "${desktop_file}"
doicon "${FILESDIR}"/no.mifi.losslesscut.svg
insinto /usr/share/metainfo
newins "${DISTDIR}"/${P}-metainfo.xml no.mifi.losslesscut.appdata.xml
}
-97
View File
@@ -1,97 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription lang="en">
LosslessCut aims to be the ultimate cross platform FFmpeg GUI for extremely fast and lossless operations on video, audio, subtitle and other related media files. The main feature is lossless trimming and cutting of video and audio files, which is great for saving space by rough-cutting your large video files taken from a video camera, GoPro, drone, etc. It lets you quickly extract the good parts from your videos and discard many gigabytes of data without doing a slow re-encode and thereby losing quality. Or you can add a music or subtitle track to your video without needing to encode. Everything is extremely fast because it does an almost direct data copy, fueled by the awesome FFmpeg which does all the grunt work.
# Features
* Lossless cutting of most video and audio formats
* Smart cut (experimental)
* Losslessly cut out parts of video/audio (for cutting away commercials etc.)
* Losslessly rearrange the order of video/audio segments
* Lossless merge/concatenation of arbitrary files (with identical codecs parameters, e.g. from the same camera)
* Lossless stream editing
* Combine arbitrary tracks from multiple files (ex. add music or subtitle track to a video file)
* Remove unneeded tracks
* Replace or re-encode only some tracks
* Extract all tracks from a file (extract video, audio, subtitle, attachments and other tracks from one file into separate files)
* Fast multi-file workflow (note: no mass/batch export yet)
* Keyboard shortcut workflow
* Losslessly remux video/audio into a different container (file) format
* Take full-resolution snapshots from videos in JPEG/PNG format (low or high quality)
* Export ranges of video frames to images (every nth frame, second, by scene change, best thumbnails)
* Export only from a selected time range (segment)
* Optionally include original timestamps in image file names
* Manual input of cutpoint times
* Apply a per-file timecode offset (and auto load timecode from file)
* Edit file metadata, per-track metadata and per-track disposition
* Change rotation/orientation metadata in videos
* View technical data about all tracks
* Timeline zoom and frame/keyframe jumping for cutting around keyframes
* Video thumbnails and audio waveform
* Saves per project cut segments to project file
* View FFmpeg last command log so you can modify and re-run recent commands on the command line
* Undo/redo
* Give labels to cut segments
* Annotate segments with tags
* Import/export segments: MP4/MKV chapter marks, Text file, YouTube, CSV, CUE, XML (DaVinci, Final Cut Pro) and more
* MKV/MP4 embedded chapters marks editor
* View subtitles
* Customizable keyboard hotkeys
* Black scene detection, silent audio detection, and scene change detection
* Divide timeline into segments with length L or into N segments or even randomized segments!
* Basic CLI support
# Example lossless use cases
* Cut out commercials from a recorded TV show (and re-format from TS to MP4)
* Remove audio tracks from a file
* Extract music track from a video and cut it to your needs
* Add music to a video (or replace existing audio track)
* Combine audio and video tracks from separate recordings
* Include an external subtitle into a video
* Quickly change a H264/H265 MKV video to MOV or MP4 for playback on iPhone
* Import a list of cut times from other tool as a EDL (edit decision list, CSV) and run these cuts with LosslessCut
* Export a list of cut times as a CSV EDL and process these in another tool
* Quickly cut a file by its MP4/MKV chapters
* Quickly cut a YouTube video by its chapters (or music times from a comment)
* Change the language of a file's audio/subtitle tracks
* Attach cover art / thumbnail to videos / audio from an external JPEG file or from a frame on the timeline
* Change author, title, GPS position, recording time of a video
* Fix rotation of a video that has the wrong orientation flag set
* Great for rotating phone videos that come out the wrong way without actually re-encoding the video.
* Loop a video / audio clip X times quickly without re-encoding
* See #284
* Convert a video or parts of it into X image files (not lossless)
* Losslessly split a video into one file per scene (note you probably have to shift segments, see #330.)
* Cut away silent parts of an audio/video
* Split video into segments to for example respect Twitter's 140 second limit
## Export cut times as YouTube Chapters
* Export with Merge and "Create chapters from merged segments" enabled
* Open the exported file and select "Import chapters" in the dialog
* File -> Export project -> YouTube Chapters
## Re-encode only the audio track, keeping the lossless video track
First export each track as individual files. Then use Handbrake or similar to re-encode the audio file (if mp4 file, encode as AAC.) Then open the extracted video stream in LosslessCut. The open your encoded audio file and select "Include all tracks from the new file". Then export.
Advanced multi-step workflows
Tip: you can use LosslessCut in multiple passes in order to achieve separate trimming of individual tracks:
1) Open a file an export all tracks as individual files
2) Open the exported track files independently and cut them as desired
3) Add the track back to the video and combine them to one output video
</longdescription>
<upstream>
<remote-id type="github">mifi/lossless-cut</remote-id>
<bugs-to>https://github.com/mifi/lossless-cut/issues</bugs-to>
</upstream>
<use>
<flag name="disable-networking">Disable automatic fetching of remote content</flag>
<flag name="system-ffmpeg">Use system-provided ffmpeg instead of bundled one</flag>
</use>
</pkgmetadata>
+4
View File
@@ -18,6 +18,10 @@
# New entries go on top.
# Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com> (2026-06-25)
# Moved to media-video/lossless-cut-bin in ::gentoo
media-video/lossless-cut
# Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com> (2026-06-24)
# Moved to www-client/opera-gx in ::gentoo
www-client/opera-gx-bin