summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2018-08-24 07:28:19 +0000
committerAntonio Rojas2018-08-24 07:28:19 +0000
commit1fac7fbe1654706941d53250f59cc483f8c31510 (patch)
tree3408e4e4859f9a5cdf1b7157adc2aea603c7508c
downloadaur-1fac7fbe1654706941d53250f59cc483f8c31510.tar.gz
Dropped from repos
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD38
-rw-r--r--puddletag-mutagen1.34.patch24
3 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..44e90410ca0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = puddletag
+ pkgdesc = A tag editor for GNU/Linux
+ pkgver = 1.2.0
+ pkgrel = 1
+ url = http://puddletag.sourceforge.net
+ arch = any
+ license = GPL
+ depends = chromaprint
+ depends = mutagen
+ depends = python2-configobj
+ depends = python2-musicbrainz2
+ depends = python2-pyparsing
+ depends = python2-pyqt4
+ optdepends = python2-pillow: FLAC cover art
+ optdepends = quodlibet: QuodLibet library support
+ source = puddletag-1.2.0.tar.gz::https://github.com/keithgg/puddletag/archive/v1.2.0.tar.gz
+ sha256sums = 95e4867fd04c5349f19de1b5f3c1f2336d3b66da08c076fb175ef8f7589dc80d
+
+pkgname = puddletag
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..575c7ed5c1c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 197348 2016-11-29 09:09:36Z alucryd $
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+# Contributor: Lucky <archlinux@builds.lucky.li>
+# Contributor: Farhad Shahbazi <farhad@enthusiasm.cc>
+
+pkgname=puddletag
+pkgver=1.2.0
+pkgrel=1
+pkgdesc='A tag editor for GNU/Linux'
+url='http://puddletag.sourceforge.net'
+license=('GPL')
+arch=('any')
+depends=('chromaprint' 'mutagen' 'python2-configobj' 'python2-musicbrainz2'
+ 'python2-pyparsing' 'python2-pyqt4')
+optdepends=('python2-pillow: FLAC cover art'
+ 'quodlibet: QuodLibet library support')
+source=("puddletag-${pkgver}.tar.gz::https://github.com/keithgg/puddletag/archive/v${pkgver}.tar.gz")
+sha256sums=('95e4867fd04c5349f19de1b5f3c1f2336d3b66da08c076fb175ef8f7589dc80d')
+
+prepare() {
+ cd puddletag-${pkgver}/source
+
+ sed -i 's|^#!.*python$|#!/usr/bin/python2|' $(grep -rl '^#!.*python')
+}
+
+build() {
+ cd puddletag-${pkgver}/source
+
+ python2 setup.py config
+}
+
+package() {
+ cd puddletag-${pkgver}/source
+
+ python2 setup.py install --root="${pkgdir}" --optimize='1'
+}
+
+# vim: ts=2 sw=2 et:
diff --git a/puddletag-mutagen1.34.patch b/puddletag-mutagen1.34.patch
new file mode 100644
index 00000000000..578d18a42a2
--- /dev/null
+++ b/puddletag-mutagen1.34.patch
@@ -0,0 +1,24 @@
+From 6fd73f9d3442c729a771d160430bd44fb003eb69 Mon Sep 17 00:00:00 2001
+From: b_b <brunobergot@gmail.com>
+Date: Wed, 27 Jul 2016 11:27:14 +0200
+Subject: [PATCH] Fix for BitPaddedInt import error
+
+This one fix an import error i get with latest python-mutagen 1.34.999+1301~0c8997f-0~ppa0~trusty from https://launchpad.net/~lazka/+archive/ubuntu/dumpingplace
+---
+ source/puddlestuff/audioinfo/_compatid3.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/source/puddlestuff/audioinfo/_compatid3.py b/source/puddlestuff/audioinfo/_compatid3.py
+index 7d73e27..a7a599f 100644
+--- a/source/puddlestuff/audioinfo/_compatid3.py
++++ b/source/puddlestuff/audioinfo/_compatid3.py
+@@ -23,7 +23,8 @@
+ import mutagen
+ from mutagen._util import insert_bytes
+ from mutagen.id3 import ID3, Frame, Frames, Frames_2_2, TextFrame, TORY, \
+- TYER, TIME, APIC, IPLS, TDAT, BitPaddedInt, MakeID3v1
++ TYER, TIME, APIC, IPLS, TDAT, MakeID3v1
++from mutagen.id3._util import BitPaddedInt
+
+ SEPARATOR = ' / '
+