Package Details: audacious-git 1:4.4.r0.g9777eefed-1

Git Clone URL: https://aur.archlinux.org/audacious-git.git (read-only, click to copy)
Package Base: audacious-git
Description: Lightweight, advanced audio player focused on audio quality (git version)
Upstream URL: https://audacious-media-player.org/
Licenses: BSD
Conflicts: audacious
Provides: audacious
Submitter: Radioactiveman
Maintainer: Radioactiveman
Last Packager: Radioactiveman
Votes: 25
Popularity: 0.157704
First Submitted: 2011-06-02 19:14 (UTC)
Last Updated: 2024-06-13 19:21 (UTC)

Required by (11)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

katt commented on 2020-04-07 17:18 (UTC)

@Radioactiveman The current naming still doesn't make sense, best would be to just have the revision and commit since upstream can't get their tagging game together.

Radioactiveman commented on 2020-04-06 21:57 (UTC) (edited on 2020-04-06 21:59 (UTC) by Radioactiveman)

@katt: The reason is that the current version of Audacious is 4.0.1 (stable) and 4.1 (git). Using your suggestion results in 4.0.beta1.r89.ge4df1cc89 which does not reflect that.

It also allows a properly versioned dependency of 'audacious-plugins' on 'audacious'.

katt commented on 2020-04-05 19:17 (UTC)

Well your decision to ignore official guidelines are now making it even clearer it's a total mess. Please just use one of the examples in the official guidelines.

https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git

diff --git a/PKGBUILD b/PKGBUILD
index 9c433a2..d36d5ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,7 @@

 _pkgname=audacious
 pkgname="$_pkgname-git"
-_pkgver=4.1
-pkgver=4.1.r9041.ef184ee52
+pkgver=4.0.beta1.r89.ge4df1cc89
 pkgrel=1
 pkgdesc="Lightweight, advanced audio player focused on audio quality"
 arch=('i686' 'x86_64')
@@ -27,7 +26,7 @@ sha256sums=('SKIP')

 pkgver() {
   cd "$_pkgname"
-  printf "$_pkgver.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  git describe --long --tags | sed 's/^audacious.//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }

 build() {

I am trying to be civil but I just truly cannot understand your reasoning for doing it this way and I cannot ignore it any longer.

Radioactiveman commented on 2019-10-24 17:56 (UTC)

@katt: Thanks for the suggestion. I have implemented a similar approach. Getting the version from the last tag is not useful for Audacious.

katt commented on 2019-10-10 23:40 (UTC) (edited on 2019-10-10 23:42 (UTC) by katt)

Wondering if you could change the pkgver to something a bit more sensible, like the version+commit perhaps. (And the same on audacious-plugins-git)

Example:

diff --git a/PKGBUILD b/PKGBUILD
index 9ff0acb..a0ef21c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
 # Do the same with audacious-plugins-git. Then run Audacious by "audacious --qt".

 pkgname=audacious-git
-pkgver=2019.02.24
+pkgver=3.10.r85.gd64c73e40
 pkgrel=1
 pkgdesc="Lightweight, advanced audio player focused on audio quality"
 arch=('i686' 'x86_64')
@@ -25,7 +25,8 @@ source=('git://github.com/audacious-media-player/audacious.git')
 sha256sums=('SKIP')

 pkgver() {
-  date +%Y.%m.%d
+  cd "$srcdir/audacious"
+  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/audacious.//'
 }

 build() {

Radioactiveman commented on 2014-12-22 12:40 (UTC)

If you don't disable GTK support, start the Qt interface with "audacious --qt".

Radioactiveman commented on 2014-12-22 12:20 (UTC)

By editing the PKGBUILD: - Uncomment the Qt dependencies - Uncomment "--enable-qt" Then compile audacious-plugins-git with "--enable-qt".

servimo commented on 2014-12-21 19:55 (UTC)

whow to compile it via yaourt with qt support?

Radioactiveman commented on 2014-12-12 14:40 (UTC)

@Ferik: Have you read the output of pacman? ;) It cannot be added, otherwise there would be circular dependencies (audacious-git needs audacious-plugins-git and vice versa).

Ferik commented on 2014-12-12 14:35 (UTC)

does not work without audacious-plugins-git :)