Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / parole
Commits: 6638b106 by Robin Candau at 2024-09-18T09:02:15+02:00 upgpkg: 4.18.1-3 Overall rework of the PKGBUILD Context: https://archlinux.org/todo/general-xfce-packages-rework/ - Use SPDX identifier for the license - Switch to a more transparent source (git sources) - Add nvchecker integration (.nvchecker.toml) - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,13 +1,16 @@ pkgbase = parole pkgdesc = Modern media player based on the GStreamer framework pkgver = 4.18.1 - pkgrel = 2 + pkgrel = 3 url = https://docs.xfce.org/apps/parole/start arch = x86_64 groups = xfce4-goodies - license = GPL + license = GPL-2.0-or-later + makedepends = git + makedepends = glib2-devel makedepends = intltool makedepends = python + makedepends = xfce4-dev-tools depends = dbus-glib depends = gst-plugins-base depends = gst-plugins-good @@ -16,7 +19,7 @@ pkgbase = parole optdepends = gst-libav: Extra media codecs optdepends = gst-plugins-bad: Extra media codecs optdepends = gst-plugins-ugly: Extra media codecs - source = https://archive.xfce.org/src/apps/parole/4.18/parole-4.18.1.tar.bz2 - sha256sums = 0c7364a484812f69cf2b20a2323864203334cc854fd8103d1d1131814ac55a66 + source = git+https://gitlab.xfce.org/apps/parole.git#tag=parole-4.18.1 + sha256sums = 20806cc8fe54c3e626999958c19e7fdaf0158de64dbeea9771ff9882970ab8eb pkgname = parole ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,5 @@ +[parole] +source = "git" +git = "https://gitlab.xfce.org/apps/parole.git" +prefix = "parole-" +exclude_regex = '0.*|1.*|parole-4\.[12][13579]\.[0-9]+' ===================================== PKGBUILD ===================================== @@ -1,31 +1,38 @@ # Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Maintainer: Robin Candau <[email protected]> # Contributor: Sergej Pupykin <[email protected]> # Contributor: TDY <[email protected]> pkgname=parole pkgver=4.18.1 -pkgrel=2 -pkgdesc='Modern media player based on the GStreamer framework' +pkgrel=3 +pkgdesc="Modern media player based on the GStreamer framework" arch=('x86_64') -url='https://docs.xfce.org/apps/parole/start' -license=('GPL') +url="https://docs.xfce.org/apps/parole/start" +license=('GPL-2.0-or-later') groups=('xfce4-goodies') depends=('dbus-glib' 'gst-plugins-base' 'gst-plugins-good' 'libnotify' 'libxfce4ui') -makedepends=('intltool' 'python') +makedepends=('git' 'glib2-devel' 'intltool' 'python' 'xfce4-dev-tools') optdepends=('gst-libav: Extra media codecs' 'gst-plugins-bad: Extra media codecs' 'gst-plugins-ugly: Extra media codecs') -source=("https://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2") -sha256sums=('0c7364a484812f69cf2b20a2323864203334cc854fd8103d1d1131814ac55a66') +source=("git+https://gitlab.xfce.org/apps/parole.git#tag=$pkgname-$pkgver") +sha256sums=('20806cc8fe54c3e626999958c19e7fdaf0158de64dbeea9771ff9882970ab8eb') + +prepare() { + cd $pkgname + ./autogen.sh \ + --prefix=/usr +} build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + cd $pkgname make } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install } + +# vim:set ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/parole/-/commit/6638b106fdd0c26ec18fd1a56ad51f414fe4cde4 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/parole/-/commit/6638b106fdd0c26ec18fd1a56ad51f414fe4cde4 You're receiving this email because of your account on gitlab.archlinux.org.
