Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update poedit-git #3025

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions archlinuxcn/poedit-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Maintainer: taotieren <[email protected]>

pkgname=poedit-git
pkgver=3.2.2.oss.r80.g39a0c82aa
pkgrel=1
epoch=
pkgdesc="Translations editor for Mac, Windows and Unix"
arch=('x86_64')
url="https://github.com/vslavik/poedit"
license=('MIT')
groups=()
depends=(aspell
expat
gettext
gtkspell3
hunspell
nlohmann-json
lucene++
pugixml
wxwidgets-gtk3
webkit2gtk)
makedepends=(automake
ccache
boost
git
icu
libjpeg-turbo
libnotify
libsecret
zlib)
Comment on lines +12 to +30
Copy link
Contributor

@Zenvie Zenvie Feb 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

poedit-git W: Dependency icu detected and implicitly satisfied (libraries ['usr/lib/libicui18n.so.74', 'usr/lib/libicuuc.so.74'] needed in files ['usr/bin/poedit'])
poedit-git W: Dependency hicolor-icon-theme detected and implicitly satisfied (needed for hicolor theme hierarchy)
poedit-git W: Dependency glib2 detected and implicitly satisfied (libraries ['usr/lib/libgobject-2.0.so.0', 'usr/lib/libglib-2.0.so.0'] needed in files ['usr/bin/poedit'])
poedit-git W: Dependency boost-libs detected and implicitly satisfied (libraries ['usr/lib/libboost_thread.so.1.83.0'] needed in files ['usr/bin/poedit'])
poedit-git W: Dependency gcc-libs detected and implicitly satisfied (libraries ['usr/lib/libgcc_s.so.1', 'usr/lib/libstdc++.so.6'] needed in files ['usr/bin/poedit'])
poedit-git W: Dependency wxwidgets-common detected and implicitly satisfied (libraries ['usr/lib/libwx_baseu-3.2.so.0', 'usr/lib/libwx_baseu_net-3.2.so.0'] needed in files ['usr/bin/poedit'])
poedit-git W: Dependency gtk3 detected and implicitly satisfied (libraries ['usr/lib/libgtk-3.so.0'] needed in files ['usr/bin/poedit'])
poedit-git W: Dependency glibc detected and implicitly satisfied (libraries ['usr/lib/libm.so.6', 'usr/lib/libc.so.6'] needed in files ['usr/bin/poedit'])
poedit-git W: Dependency included, but may not be needed ('aspell')
poedit-git W: Dependency included, but may not be needed ('expat')
poedit-git W: Dependency included, but may not be needed ('gettext')
poedit-git W: Dependency included, but may not be needed ('hunspell')
poedit-git W: Dependency included, but may not be needed ('nlohmann-json')
poedit-git W: Dependency included, but may not be needed ('webkit2gtk')

checkdepends=()
optdepends=()
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname}::git+${url}.git")
noextract=()
sha256sums=('SKIP')
#validpgpkeys=()

pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
cd "${srcdir}/${pkgname}"

./bootstrap
./configure --prefix=/usr \
--libexecdir=/usr/lib/poedit

make CPPFLAGS+=' -DUCHAR_TYPE=uint16_t'
}
Comment on lines +50 to +58
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


package() {
cd "${srcdir}/${pkgname}"

make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
14 changes: 14 additions & 0 deletions archlinuxcn/poedit-git/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
maintainers:
- github: taotieren

build_prefix: extra-x86_64

pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()

update_on:
- source: github
github: vslavik/poedit