-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92e5b14
commit 375943e
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Template file for 'dialect' | ||
pkgname=dialect | ||
version=2.4.1 | ||
revision=1 | ||
build_style=meson | ||
hostmakedepends="blueprint-compiler desktop-file-utils gettext glib-devel | ||
gtk4-update-icon-cache pkg-config" | ||
makedepends="libadwaita-devel python3-gobject-devel" | ||
depends="gst-plugins-good1 libadwaita libsoup3 python3-BeautifulSoup4 | ||
python3-dbus python3-gobject python3-gtts" | ||
short_desc="Translation app for GNOME" | ||
maintainer="chrysos349 <chrysostom349@gmail.com>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://github.com/dialect-app/dialect" | ||
changelog="https://raw.githubusercontent.com/dialect-app/dialect/main/NEWS.md" | ||
_commit=6db04f8783e4a99528837aeb3c8266673fc3ef17 | ||
distfiles="https://github.com/dialect-app/dialect/archive/${version}.tar.gz | ||
https://github.com/dialect-app/po/archive/${_commit}.tar.gz" | ||
checksum="6060a8324bc50b623ba000424d4c7631f356d61b8fa5cfec80cadd1c4f4559f4 | ||
85271c50d19f4264316098f9be65939325c2a02a4db0d51a1a35986db570b6e7" | ||
skip_extraction="${_commit}.tar.gz" | ||
|
||
post_extract() { | ||
vsrcextract -C po "${_commit}.tar.gz" | ||
} | ||
|
||
if [ "$CROSS_BUILD" ]; then | ||
export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0" | ||
fi |