From 932825438e014d9e13200d48961c5ff2209bd0dc Mon Sep 17 00:00:00 2001 From: Jeena Date: Sun, 8 Jun 2025 22:56:49 +0900 Subject: [PATCH] Remove build, moved to AUR --- PKGBUILD | 54 ---------------------------- README.md | 96 +++++++++---------------------------------------- recoder.install | 14 -------- 3 files changed, 17 insertions(+), 147 deletions(-) delete mode 100644 PKGBUILD delete mode 100644 recoder.install diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index 35ae737..0000000 --- a/PKGBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Maintainer: Jeena -pkgname=recoder -pkgver=1.0.0 -pkgrel=1 -pkgdesc="A GTK4 video transcoding GUI application" -arch=('x86_64' 'aarch64') -url="https://github.com/jeena/recoder" -license=('GPL3') -depends=( - 'gtk4' - 'libadwaita' - 'gobject-introspection-runtime' - 'python' - 'python-gobject' - 'ffmpeg' - 'glib2' -) -optdepends=( - 'libcanberra: play system notification sounds' - 'sound-theme-freedesktop: standard system sounds like "complete.oga"' -) -makedepends=( - 'python-setuptools' - 'python-build' - 'python-installer' - 'glib2' -) -source=() -sha256sums=() - -build() { - cd "$srcdir/../" # go to your project root - - glib-compile-resources src/resources/resources.xml \ - --target=src/recoder/resources.gresource \ - --sourcedir=src/resources - - - python -m build --wheel --outdir dist -} - -package() { - cd "$srcdir/../" - python -m installer --destdir="$pkgdir" dist/*.whl - - install -Dm644 src/resources/net.jeena.Recoder.desktop \ - "$pkgdir/usr/share/applications/net.jeena.Recoder.desktop" - install -Dm644 src/resources/net.jeena.Recoder.svg \ - "$pkgdir/usr/share/icons/hicolor/scalable/apps/net.jeena.Recoder.svg" - install -Dm644 src/resources/net.jeena.recoder.gschema.xml \ - "$pkgdir/usr/share/glib-2.0/schemas/net.jeena.recoder.gschema.xml" -} - -install=recoder.install \ No newline at end of file diff --git a/README.md b/README.md index 0ecc0f7..25480b4 100644 --- a/README.md +++ b/README.md @@ -1,97 +1,35 @@ # Recoder -**Recoder** is a GTK4-based GUI application for video transcoding. It provides a clean, modern interface using Libadwaita and integrates with `ffmpeg` to convert videos with ease. +**Recoder** is a clean and minimal video transcoder for Linux, designed for GNOME using GTK4 and libadwaita. It supports batch processing, drag-and-drop, and a straightforward user experience. -![screenshot](resources/net.jeena.Recoder.png) +![Screenshot of Recoder](docs/screenshot-3.png) ---- +## ๐Ÿ“– Help + +See [docs/HELP.md](docs/HELP.md) for usage instructions and tips. ## โœจ Features -- Simple and elegant GTK4 interface -- Built with Libadwaita for a native GNOME look -- Supports common video formats using `ffmpeg` -- Lightweight and fast -- System notifications on task completion +- Transcode multiple video files at once +- Drag-and-drop support for folders and files +- Modern libadwaita-based interface +- Toast notifications ---- +## ๐Ÿ“ฆ Installation -## ๐Ÿ›  Requirements +### Arch Linux -- Python 3.10+ -- GTK4 -- Libadwaita -- `ffmpeg` -- Python bindings: - - `python-gobject` - ---- - -## ๐Ÿš€ Installation (Arch Linux) +Recoder is available on the AUR: ```bash -git clone https://github.com/jeena/recoder.git -cd recoder -makepkg -si +yay -S recoder ``` -This will install Recoder system-wide using Pacman, so you can later remove it cleanly: +### Other Platforms -```bash -sudo pacman -R recoder -``` - ---- - -## ๐Ÿงช Development Setup - -If you're hacking on Recoder: - -```bash -git clone https://github.com/jeena/recoder.git -cd recoder -python -m venv .venv -source .venv/bin/activate -pip install -e . -``` - -Then run: - -```bash -recoder -``` - ---- - -## ๐Ÿ“ Project Structure - -``` -src/ -โ””โ”€โ”€ recoder/ - โ”œโ”€โ”€ app.py - โ”œโ”€โ”€ config.py - โ”œโ”€โ”€ models.py - โ”œโ”€โ”€ transcoder_worker.py - โ””โ”€โ”€ ui.py -resources/ -โ”œโ”€โ”€ net.jeena.Recoder.desktop -โ””โ”€โ”€ net.jeena.Recoder.png -``` - ---- - -## ๐Ÿ“ฆ Packaging - -Recoder follows modern Python packaging using `pyproject.toml` and `setuptools`. The Arch package installs Python modules to `site-packages` and the desktop file + icon in appropriate locations. - ---- +Recoder will be available as a Flatpak in the future. ## ๐Ÿ“„ License -Licensed under the GPLv3. See `LICENSE` for details. - ---- - -## ๐Ÿ‘ค Author - -Made by Jeena ยท [github.com/jeena](https://github.com/jeena) \ No newline at end of file +Recoder is licensed under the GNU General Public License v3.0. +See [LICENSE](LICENSE) for details. diff --git a/recoder.install b/recoder.install deleted file mode 100644 index 464fa36..0000000 --- a/recoder.install +++ /dev/null @@ -1,14 +0,0 @@ -post_install() { - glib-compile-schemas /usr/share/glib-2.0/schemas - gtk-update-icon-cache -q /usr/share/icons/hicolor -} - -post_upgrade() { - glib-compile-schemas /usr/share/glib-2.0/schemas - gtk-update-icon-cache -q /usr/share/icons/hicolor -} - -post_remove() { - glib-compile-schemas /usr/share/glib-2.0/schemas - gtk-update-icon-cache -q /usr/share/icons/hicolor -}