-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On branch main - Changes to be committed: - new file: .SRCINFO - new file: 0001-Fix-automake-warnings.patch - new file: PKGBUILD
- Loading branch information
0 parents
commit c340f13
Showing
3 changed files
with
150 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
pkgbase = lib32-libkate | ||
pkgdesc = A karaoke and text codec for embedding in ogg (32-bit) | ||
pkgver = 0.4.1 | ||
pkgrel = 6 | ||
url = https://wiki.xiph.org/OggKate | ||
arch = x86_64 | ||
license = BSD | ||
makedepends = lib32-gcc-libs | ||
makedepends = git | ||
makedepends = pkg-config | ||
depends = lib32-libogg | ||
depends = lib32-libpng | ||
depends = libkate | ||
source = https://download.videolan.org/contrib/kate/libkate-0.4.1.tar.gz | ||
source = 0001-Fix-automake-warnings.patch | ||
sha512sums = 2635237753abc0f6c43fc07bd0ecc57c2f3c893efa6c62ad08de9191045612477302ed45acd61cdfea7447efd654ebbe0ed2d6a2cbf867eb834581d7ee43377b | ||
sha512sums = 525d120cddd040441859f2783e6e566da631ba304074bfa40a34399879fc3053577e8e71ef804168aeef519fac62e205829b50a61d770cddd46f7dbfba660842 | ||
|
||
pkgname = lib32-libkate | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
From f86958231c2e5d3172554976a88f8cb552109079 Mon Sep 17 00:00:00 2001 | ||
From: Jelle van der Waa <jelle@vdwaa.nl> | ||
Date: Wed, 21 Jun 2017 21:42:57 +0200 | ||
Subject: [PATCH] Fix automake warnings | ||
|
||
Signed-off-by: Jelle van der Waa <jelle@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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com> | ||
# Contributor: orumin <dev@orum.in> | ||
|
||
_basename=libkate | ||
pkgname=lib32-libkate | ||
pkgver=0.4.1 | ||
pkgrel=6 | ||
pkgdesc="A karaoke and text codec for embedding in ogg (32-bit)" | ||
url="https://wiki.xiph.org/OggKate" | ||
license=('BSD') | ||
arch=('x86_64') | ||
depends=('lib32-libogg' 'lib32-libpng' 'libkate') | ||
makedepends=('lib32-gcc-libs' 'git' 'pkg-config') | ||
source=("https://download.videolan.org/contrib/kate/$_basename-$pkgver.tar.gz" | ||
0001-Fix-automake-warnings.patch) | ||
sha512sums=('2635237753abc0f6c43fc07bd0ecc57c2f3c893efa6c62ad08de9191045612477302ed45acd61cdfea7447efd654ebbe0ed2d6a2cbf867eb834581d7ee43377b' | ||
'525d120cddd040441859f2783e6e566da631ba304074bfa40a34399879fc3053577e8e71ef804168aeef519fac62e205829b50a61d770cddd46f7dbfba660842') | ||
|
||
build() { | ||
cd $_basename-$pkgver | ||
|
||
export CC='gcc -m32' | ||
export CXX='g++ -m32' | ||
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' | ||
|
||
./configure \ | ||
--build=i686-pc-linux-gnu \ | ||
--prefix=/usr \ | ||
--libdir=/usr/lib32 \ | ||
--disable-static \ | ||
--disable-doc | ||
|
||
make | ||
} | ||
|
||
package() { | ||
cd $_basename-$pkgver | ||
|
||
make DESTDIR=$pkgdir install | ||
|
||
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 COPYING | ||
|
||
cd "$pkgdir/usr" | ||
|
||
rm -r bin include share/{doc,man} | ||
} |