gnac: use GStreamer 1.0.

Patches from Arch.
This commit is contained in:
Christian Neukirchen 2016-09-19 22:25:10 +02:00
parent f2b68ce187
commit 8d533e7e66
4 changed files with 1704 additions and 5 deletions

View File

@ -0,0 +1,19 @@
--- gnac-0.2.4.1/configure.ac.orig
+++ gnac-0.2.4.1/configure.ac
@@ -122,16 +122,6 @@
AC_SUBST(DISABLE_DEPRECATED)
fi
-# debug support
-AC_ARG_ENABLE([debug], [],
-[ if test "$enableval" = "yes"; then
- CFLAGS="-g -ggdb -O0"
- else
- CFLAGS="-O2"
- fi
- AC_SUBST([CFLAGS])
- ])
-
AC_SUBST([AM_CPPFLAGS])
AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_LDFLAGS])

View File

@ -0,0 +1,25 @@
From 46c37c04967c06d1f8ded3b40161b9d9fcb8ff8d Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Fri, 19 Jun 2015 09:14:14 +0200
Subject: libgnac-debug.h: fix typo (critial vs critical)
---
libgnac/libgnac-debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libgnac/libgnac-debug.h b/libgnac/libgnac-debug.h
index 3f2705d..087e251 100644
--- a/libgnac/libgnac-debug.h
+++ b/libgnac/libgnac-debug.h
@@ -52,7 +52,7 @@
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define libgnac_critical(...) \
- libgnac_critial_real (__func__, __FILE__, __LINE__, TRUE, __VA_ARGS__)
+ libgnac_critical_real (__func__, __FILE__, __LINE__, TRUE, __VA_ARGS__)
#elif defined(__GNUC__) && __GNUC__ >= 3
#define libgnac_critical(...) \
libgnac_critical_real (__FUNCTION__, __FILE__, __LINE__, __VA_ARGS__)
--
cgit v0.12

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +1,15 @@
# Template file for 'gnac'
pkgname=gnac
version=0.2.4.1
revision=1
revision=2
patch_args="-Np1"
build_style=gnu-configure
hostmakedepends="which pkg-config intltool gnome-doc-utils glib-devel"
makedepends="libxml2-devel gtk+3-devel gst-plugins-base-devel libunique-devel
libnotify-devel gst-plugins-good gst-plugins-bad gst-plugins-ugly
hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
gnome-doc-utils glib-devel"
makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
libnotify-devel gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
desktop-file-utils hicolor-icon-theme"
depends="gst-plugins-good gst-plugins-bad gst-plugins-ugly
depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
desktop-file-utils hicolor-icon-theme"
configure_args="--disable-scrollkeeper --disable-schemas-compile"
short_desc="Audio conversion program for the Gnome desktop"
@ -16,4 +18,9 @@ license="GPL-3"
homepage="http://gnac.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
CFLAGS="-fPIC"
pre_configure() {
autoreconf -fi
intltoolize --force
}