ogmrip: rebuild against enchant-2

Closes: #13077 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
maxice8 2018-03-30 16:41:09 -03:00 committed by Jürgen Buchmüller
parent c8e82afa70
commit e64930d128
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
2 changed files with 37 additions and 11 deletions

View File

@ -0,0 +1,24 @@
Source: Arch Linux
Upstream: Unknown
Reason: Fixes compilation with enchant-2
--- src/ogmrip-spell-dialog.c
+++ src/ogmrip-spell-dialog.c
@@ -315,14 +315,14 @@
enchant_dict_add_to_session (dialog->priv->dict, word, len);
break;
case OGMRIP_SPELL_RESPONSE_ADD_WORD:
- enchant_dict_add_to_personal (dialog->priv->dict, word, len);
+ enchant_dict_add (dialog->priv->dict, word, len);
break;
default:
break;
}
if (suggs && n_suggs)
- enchant_dict_free_suggestions (dialog->priv->dict, suggs);
+ enchant_dict_free_string_list (dialog->priv->dict, suggs);
}
return status;

View File

@ -1,22 +1,24 @@
# Template file for 'ogmrip'
pkgname=ogmrip
version=1.0.1
revision=4
revision=5
configure_args="--disable-static"
build_style=gnu-configure
hostmakedepends="intltool pkg-config"
makedepends="GConf-devel dbus-glib-devel enca-devel enchant2-devel lame-devel
libdvdread-devel libglade-devel libnotify-devel libtheora-devel mplayer
vorbis-tools x264-devel xvidcore-devel"
depends="desktop-file-utils mplayer"
short_desc="Application to rip and encode DVDs into AVI, OGM, MP4, or Matroska"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="LGPL-2.1"
license="LGPL-2.1-or-later"
homepage="http://ogmrip.sourceforge.net/en/index.html"
distfiles="${SOURCEFORGE_SITE}/ogmrip/ogmrip/${version%.*}/${version}/ogmrip-${version}.tar.gz"
checksum=4e2e9778ac4da9fe1ab159e3dc6d4367b7a9dbd8f3501df99733ecedb25b02ff
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
depends="mplayer desktop-file-utils"
makedepends="
glib-devel enca-devel libxml2-devel libdvdread-devel
gtk+ vorbis-tools lame-devel libtheora-devel GConf-devel
libglade-devel libnotify-devel dbus-glib-devel enchant-devel
libpng-devel tiff-devel xvidcore-devel x264-devel mplayer"
pre_configure() {
sed -i 's/enchant >=/enchant-2 >=/' configure
}
post_install() {
# Remove development stuff.