diff options
author | Νικόλαος Κυριάκος Φυτίλης | 2017-12-11 21:44:39 +0200 |
---|---|---|
committer | Νικόλαος Κυριάκος Φυτίλης | 2017-12-11 21:50:10 +0200 |
commit | 2f74610cb80daaf45b375f6547aaf59bc34c9b2e (patch) | |
tree | 9721b325087f4d7d20dcc628c6af7a25dcf06063 | |
parent | 16efa1aa0f3ba52a36dcf485d86a33448099e7dd (diff) | |
download | aur-2f74610cb80daaf45b375f6547aaf59bc34c9b2e.tar.gz |
fix for sign errors
add the actual patch..
ignore
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | sign.patch | 13 |
4 files changed, 30 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = taglib-sharp-git pkgdesc = Library for reading and writing metadata in media files for Mono - source from git for working opus files - pkgver = 2.1.0.0.r90.gceda04a - pkgrel = 2 + pkgver = 2.1.0.0.r138.g9c1f8ca + pkgrel = 3 url = https://github.com/mono/taglib-sharp arch = i686 arch = x86_64 @@ -10,7 +10,9 @@ pkgbase = taglib-sharp-git provides = taglib-sharp=2.1.0.0 conflicts = taglib-sharp source = git+https://github.com/mono/taglib-sharp.git + source = sign.patch md5sums = SKIP + md5sums = 44eb44c64b6781e4da809bf974434a84 pkgname = taglib-sharp-git diff --git a/.gitignore b/.gitignore index 53a34eee857e..89cef219c954 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ pkg src taglib-sharp -taglib-sharp-taglib.sharp.2.1.0.0.r69.gf8d6334-1-x86_64.pkg.tar.xz +*.pkg.tar.* @@ -5,8 +5,8 @@ _pkgbase=taglib-sharp pkgname=$_pkgbase-git -pkgver=2.1.0.0.r90.gceda04a -pkgrel=2 +pkgver=2.1.0.0.r138.g9c1f8ca +pkgrel=3 pkgdesc="Library for reading and writing metadata in media files for Mono - source from git for working opus files" arch=('i686' 'x86_64') url="https://github.com/mono/taglib-sharp" @@ -14,14 +14,22 @@ license=('LGPL2.1') depends=('mono') conflicts=(taglib-sharp) provides=("taglib-sharp=${pkgver%%.r*}") -source=(git+https://github.com/mono/taglib-sharp.git) -md5sums=('SKIP') +source=(git+https://github.com/mono/taglib-sharp.git +sign.patch) +md5sums=('SKIP' +44eb44c64b6781e4da809bf974434a84) pkgver() { cd "$srcdir/$_pkgbase" git describe --long | sed 's/^taglib-sharp-//;s/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd "$srcdir/$_pkgbase" +# git reset --hard 2ab021d38a561e09e95d85212765cbec141bbd7f + patch -p1 -i "$srcdir/sign.patch" +} + build() { cd "$srcdir/$_pkgbase" ./autogen.sh --prefix=/usr --disable-docs diff --git a/sign.patch b/sign.patch new file mode 100644 index 000000000000..817ebf20f9ea --- /dev/null +++ b/sign.patch @@ -0,0 +1,13 @@ +diff --git a/src/Makefile.am b/src/Makefile.am +index 9c6e3c6..30d8ac3 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -24,7 +24,7 @@ taglib_policy_configs = $(POLICIES:.dll=.config) + taglib_policy_configs_in = $(POLICIES:.dll=.config.in) + + $(ASSEMBLY): $(TAGLIB_CSFILES) $(taglib_generated_sources) taglib-sharp.snk +- $(CSC) /target:library $(LIBFLAGS) $(DOCFLAGS) /define:SIGN /out:$@ $(TAGLIB_CSFILES) $(taglib_generated_sources) ++ $(CSC) /target:library $(LIBFLAGS) $(DOCFLAGS) /define:SIGN /keyfile:taglib-sharp.snk /out:$@ $(TAGLIB_CSFILES) $(taglib_generated_sources) + + policy.%.$(ASSEMBLY_NAME).dll: policy.%.$(ASSEMBLY_NAME).config + $(AL) /link:$< /out:$@ /keyfile:taglib-sharp.snk |