[arch-commits] Commit in libkate/repos/extra-x86_64 (3 files)

Felix Yan felixonmars at archlinux.org
Mon Jun 4 13:36:16 UTC 2018


    Date: Monday, June 4, 2018 @ 13:36:16
  Author: felixonmars
Revision: 325785

archrelease: copy trunk to extra-x86_64

Added:
  libkate/repos/extra-x86_64/0001-Fix-automake-warnings.patch
    (from rev 325784, libkate/trunk/0001-Fix-automake-warnings.patch)
  libkate/repos/extra-x86_64/PKGBUILD
    (from rev 325784, libkate/trunk/PKGBUILD)
Deleted:
  libkate/repos/extra-x86_64/PKGBUILD

----------------------------------+
 0001-Fix-automake-warnings.patch |   84 ++++++++++++++++++++++++++++++++++++
 PKGBUILD                         |   86 ++++++++++++++++++++-----------------
 2 files changed, 131 insertions(+), 39 deletions(-)

Copied: libkate/repos/extra-x86_64/0001-Fix-automake-warnings.patch (from rev 325784, libkate/trunk/0001-Fix-automake-warnings.patch)
===================================================================
--- 0001-Fix-automake-warnings.patch	                        (rev 0)
+++ 0001-Fix-automake-warnings.patch	2018-06-04 13:36:16 UTC (rev 325785)
@@ -0,0 +1,84 @@
+From f86958231c2e5d3172554976a88f8cb552109079 Mon Sep 17 00:00:00 2001
+From: Jelle van der Waa <jelle at vdwaa.nl>
+Date: Wed, 21 Jun 2017 21:42:57 +0200
+Subject: [PATCH] Fix automake warnings
+
+Signed-off-by: Jelle van der Waa <jelle at vdwaa.nl>
+---
+ Makefile.am       | 2 --
+ configure.ac      | 3 ++-
+ doc/Makefile.am   | 2 --
+ tests/Makefile.am | 2 --
+ tools/Makefile.am | 2 --
+ 5 files changed, 2 insertions(+), 9 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 12a85d3..c137e1d 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -16,8 +16,6 @@ katepc_DATA+=misc/pkgconfig/oggkate.pc
+ noinst_DATA+=misc/pkgconfig/oggkate-uninstalled.pc
+ endif
+ 
+-LIBTOOLFLAGS=--silent
+-
+ AM_CPPFLAGS=-I $(top_srcdir)/src -I $(top_srcdir)/include
+ 
+ lib_libkate_la_SOURCES=\
+diff --git a/configure.ac b/configure.ac
+index 58ff478..0234255 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,7 +7,7 @@ AC_PREREQ(2.53)
+ 
+ AC_CANONICAL_TARGET
+ 
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
++AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects -Wno-portability])
+ AC_CONFIG_HEADERS([include/config.h])
+ 
+ ifdef([AM_SILENT_RULES],[AM_SILENT_RULES])
+@@ -27,6 +27,7 @@ dnl     then set AGE to 0.
+ LIBKATE_SHARED_VERSION="4:0:3"
+ LIBOGGKATE_SHARED_VERSION="3:2:2"
+ 
++AM_PROG_AR
+ AC_PROG_CC_C_O
+ AC_LIBTOOL_DLOPEN
+ AC_PROG_LIBTOOL
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index 693f2fc..f519c08 100644
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -1,5 +1,3 @@
+-LIBTOOLFLAGS=--silent
+-
+ man_MANS=man/kateenc.1 man/katedec.1 man/katalyzer.1 man/KateDJ.1
+ 
+ # dependency to get doc to be built
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index 4fa768a..31d3434 100644
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -1,5 +1,3 @@
+-LIBTOOLFLAGS=--silent
+-
+ AM_CPPFLAGS=-I $(top_srcdir)/src -I $(top_srcdir)/include
+ 
+ LIBKATE=../lib/libkate.la
+diff --git a/tools/Makefile.am b/tools/Makefile.am
+index 2be12a3..01c3d7b 100644
+--- a/tools/Makefile.am
++++ b/tools/Makefile.am
+@@ -2,8 +2,6 @@ if HAVE_PYTHON
+ SUBDIRS=KateDJ
+ endif
+ 
+-LIBTOOLFLAGS=--silent
+-
+ AM_CPPFLAGS=-I $(top_srcdir)/src -I $(top_srcdir)/include -I $(top_srcdir)/tools
+ 
+ noinst_HEADERS=\
+-- 
+2.13.1
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-04 13:36:01 UTC (rev 325784)
+++ PKGBUILD	2018-06-04 13:36:16 UTC (rev 325785)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: N30N <archlinux at alunamation.com>
-# Contributor: linkmauve <linkmauve at linkmauve.fr>
-# Contributor: mokkurkalve <xenofil at gmail.com>
-
-pkgname=libkate
-pkgver=0.4.1
-pkgrel=5
-pkgdesc="A karaoke and text codec for embedding in ogg"
-url="http://libkate.googlecode.com/"
-license=('BSD')
-arch=('i686' 'x86_64')
-depends=('libpng' 'libogg' 'python2')
-makedepends=('pkg-config')
-optdepends=('wxpython: for KateDJ'
-            'liboggz: for KateDJ')
-source=("http://libkate.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
-md5sums=('1dfdbdeb2fa5d07063cf5b8261111fca')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  export PYTHON="/usr/bin/python2"
-  sed "1s/python$/python2/" -i tools/KateDJ/KateDJ
-
-  ./configure --prefix=/usr \
-              --disable-static \
-              --disable-doc
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-  python2 -m compileall "${pkgdir}/usr/lib/python2.7/site-packages/kdj/"
-}

Copied: libkate/repos/extra-x86_64/PKGBUILD (from rev 325784, libkate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-04 13:36:16 UTC (rev 325785)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: N30N <archlinux at alunamation.com>
+# Contributor: linkmauve <linkmauve at linkmauve.fr>
+# Contributor: mokkurkalve <xenofil at gmail.com>
+
+pkgname=libkate
+pkgver=0.4.1
+pkgrel=6
+pkgdesc="A karaoke and text codec for embedding in ogg"
+url="https://wiki.xiph.org/OggKate"
+license=('BSD')
+arch=('x86_64')
+depends=('libpng' 'libogg' 'python2')
+makedepends=('pkg-config' 'git')
+optdepends=('wxpython: for KateDJ'
+            'liboggz: for KateDJ')
+source=("$pkgname::git+git://git.xiph.org/users/oggk/kate.git#tag=kate-${pkgver}"
+        0001-Fix-automake-warnings.patch)
+sha512sums=('SKIP'
+            '525d120cddd040441859f2783e6e566da631ba304074bfa40a34399879fc3053577e8e71ef804168aeef519fac62e205829b50a61d770cddd46f7dbfba660842')
+
+prepare() {
+  cd "${srcdir}/${pkgname}"
+  patch -Np1 -i "${srcdir}/0001-Fix-automake-warnings.patch"
+  ./autogen.sh
+}
+
+build() {
+  cd "${srcdir}/${pkgname}"
+
+  export PYTHON="/usr/bin/python2"
+  sed "1s/python$/python2/" -i tools/KateDJ/KateDJ
+
+  ./configure --prefix=/usr \
+              --disable-static \
+              --disable-doc
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  python2 -m compileall "${pkgdir}/usr/lib/python2.7/site-packages/kdj/"
+}



More information about the arch-commits mailing list