[arch-commits] Commit in pragha/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Sun May 23 16:25:53 UTC 2021


    Date: Sunday, May 23, 2021 @ 16:25:53
  Author: bgyorgy
Revision: 943489

archrelease: copy trunk to community-x86_64

Added:
  pragha/repos/community-x86_64/PKGBUILD
    (from rev 943488, pragha/trunk/PKGBUILD)
Deleted:
  pragha/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   95 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 50 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-23 16:25:47 UTC (rev 943488)
+++ PKGBUILD	2021-05-23 16:25:53 UTC (rev 943489)
@@ -1,45 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge.pw>
-# Contributor: Alad Wenter <alad at archlinux.org>
-# Contributor: Thorsten Töpper <atsutane-tu at freethoughts.de>
-# Contributor: J0k3r <moebius282 e4a t gmail D0_T com>
-# Contributor: Alois Nespor <alois.nespor at gmail.com>
-# Contributor: JerichoKru   <jerichokru(AT)hotmail.com>
-
-pkgname=pragha
-pkgver=1.3.4
-pkgrel=2
-pkgdesc="A lightweight GTK+ music manager - fork of Consonance Music Manager."
-arch=('x86_64')
-url="https://pragha-music-player.github.io/"
-license=('GPL3')
-depends=('libnotify' 'libcdio-paranoia' 'libclastfm' 'gst-plugins-base'
-         'taglib' 'hicolor-icon-theme' 'dbus-glib' 'desktop-file-utils'
-         'libpeas' 'libgudev' 'glyr')
-optdepends=('gst-plugins-good: A collection of gstreamer codecs'
-            'gst-plugins-bad: A collection of gstreamer codecs'
-            'gst-plugins-ugly: A collection of gstreamer codecs')
-makedepends=('intltool' 'xfce4-dev-tools' 'gobject-introspection')
-replaces=('dissonance')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pragha-music-player/pragha/archive/v$pkgver.tar.gz")
-sha256sums=('8be35959f526d079cc19221653cb691fb66251e6819f994062e0b02e08b1809b')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./autogen.sh
-
-  CPPFLAGS="${CPPFLAGS} -DHAVE_PARANOIA_NEW_INCLUDES" \
-  LIBS="${LIBS} -ldbus-glib-1" \
-    ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}/" install
-
-  install -m 644 "data/${pkgname}.desktop" "${pkgdir}/usr/share/applications"
-  install -d "${pkgdir}/usr/share/pixmaps"
-  install -m 644 "data/${pkgname}.1" "${pkgdir}/usr/share/man/man1/"
-}
-
-# vim:ts=2:sw=2:expandtab

Copied: pragha/repos/community-x86_64/PKGBUILD (from rev 943488, pragha/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-23 16:25:53 UTC (rev 943489)
@@ -0,0 +1,50 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Konstantin Gizdov <arch at kge.pw>
+# Contributor: Alad Wenter <alad at archlinux.org>
+# Contributor: Thorsten Töpper <atsutane-tu at freethoughts.de>
+# Contributor: J0k3r <moebius282 e4a t gmail D0_T com>
+# Contributor: Alois Nespor <alois.nespor at gmail.com>
+# Contributor: JerichoKru   <jerichokru(AT)hotmail.com>
+
+pkgname=pragha
+pkgver=1.3.4
+pkgrel=3
+pkgdesc='Lightweight GTK music player and manager'
+arch=('x86_64')
+url='https://pragha-music-player.github.io/'
+license=('GPL3')
+depends=('gst-plugins-base' 'gst-plugins-good' 'gtk3' 'libpeas' 'taglib' 'totem-pl-parser')
+optdepends=('glyr: Get Artist info, Lyrics and Album arts plugin'
+            'grilo: DLNA Renderer plugin'
+            'gst-libav: Extra media codecs'
+            'gst-plugins-bad: Extra media codecs'
+            'gst-plugins-ugly: Extra media codecs'
+            'libcdio-paranoia: Play cdrom plugin'
+            'libclastfm: Last.fm plugin'
+            'libkeybinder3: Global Hotkeys plugin'
+            'libmtp: MTP Devices plugin'
+            'libnotify: Notification plugin'
+            'rygel: DLNA Server plugin')
+makedepends=('intltool' 'glyr' 'grilo' 'gobject-introspection' 'libcdio-paranoia' 'libclastfm'
+             'libkeybinder3' 'libmtp' 'libnotify' 'rygel')
+replaces=('dissonance')
+source=("https://github.com/pragha-music-player/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
+sha256sums=('e54e6acdc11e6f19c691c6e069fa9d54934c37b0f4b78cd5e835ce9512866ba6')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's|(datadir)/appdata|(datadir)/metainfo|' data/Makefile.{am,in}
+}
+
+build() {
+  cd $pkgname-$pkgver
+  CFLAGS="$CFLAGS -I/usr/include/gupnp-1.2 -I/usr/include/gssdp-1.2 -I/usr/include/libsoup-2.4"
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list