Remove build, moved to AUR
This commit is contained in:
parent
aa21483bd1
commit
932825438e
3 changed files with 17 additions and 147 deletions
54
PKGBUILD
54
PKGBUILD
|
@ -1,54 +0,0 @@
|
|||
# Maintainer: Jeena <hello@jeena.net>
|
||||
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
|
96
README.md
96
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.
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
## 📖 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)
|
||||
Recoder is licensed under the GNU General Public License v3.0.
|
||||
See [LICENSE](LICENSE) for details.
|
||||
|
|
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue