diff options
-rw-r--r-- | .SRCINFO | 45 | ||||
-rw-r--r-- | PKGBUILD | 51 | ||||
-rw-r--r-- | enchant-2.patch | 19 | ||||
-rw-r--r-- | ogmrip.changelog | 42 |
4 files changed, 157 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bd7789cf3c93 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,45 @@ +pkgbase = ogmrip + pkgdesc = Libraries and GTK2 interface for DVD ripping using mencoder + pkgver = 1.0.1 + pkgrel = 6 + url = http://ogmrip.sourceforge.net/ + changelog = ogmrip.changelog + arch = x86_64 + license = GPL + makedepends = patch + makedepends = intltool + makedepends = perl-xml-parser + makedepends = faac + makedepends = lame + makedepends = libtheora + makedepends = ogmtools + makedepends = gpac + makedepends = vorbis-tools + makedepends = tesseract + makedepends = python + depends = libdvdread>=4.1.3 + depends = mplayer + depends = mencoder + depends = enca + depends = pkg-config + depends = gconf + depends = libglade + depends = libnotify + depends = enchant + optdepends = faac: support for the AAC audio codec + optdepends = lame: support for the MP3 audio codec + optdepends = libtheora: decode and encode Ogg Theora files + optdepends = ogmtools: support for the Ogg Media container + optdepends = gpac: support for the MP4 container + optdepends = vorbis-tools: support for the Ogg Vorbis audio codec + optdepends = gocr: support for the SRT subtitle format + optdepends = ocrad: support for the SRT subtitle format + optdepends = tesseract: support for the SRT subtitle format + options = !makeflags + source = https://downloads.sourceforge.net/sourceforge/ogmrip/ogmrip-1.0.1.tar.gz + source = enchant-2.patch + sha256sums = 4e2e9778ac4da9fe1ab159e3dc6d4367b7a9dbd8f3501df99733ecedb25b02ff + sha256sums = 61fa359d44af8135ca80fbef2c98d6c30dcaf82e8817aeaf477d9203835f0ba8 + +pkgname = ogmrip + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..09b91c5cc4db --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org> +# Contributor: Daenyth +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: Vrob (Markus Heuser) mheuser@mi.fu-berlin.de + +pkgname=ogmrip +pkgver=1.0.1 +pkgrel=6 +pkgdesc="Libraries and GTK2 interface for DVD ripping using mencoder" +arch=('x86_64') +url="http://ogmrip.sourceforge.net/" +license=('GPL') +depends=('libdvdread>=4.1.3' 'mplayer' 'mencoder' 'enca' 'pkg-config' 'gconf' 'libglade' 'libnotify' 'enchant') +makedepends=('patch' 'intltool' 'perl-xml-parser' 'faac' 'lame' 'libtheora' + 'ogmtools' 'gpac' 'vorbis-tools' 'tesseract' 'python') +optdepends=('faac: support for the AAC audio codec' + 'lame: support for the MP3 audio codec' + 'libtheora: decode and encode Ogg Theora files' + 'ogmtools: support for the Ogg Media container' + 'gpac: support for the MP4 container' + 'vorbis-tools: support for the Ogg Vorbis audio codec' + 'gocr: support for the SRT subtitle format' + 'ocrad: support for the SRT subtitle format' + 'tesseract: support for the SRT subtitle format') +options=('!makeflags') +changelog=$pkgname.changelog +source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz + enchant-2.patch) +sha256sums=('4e2e9778ac4da9fe1ab159e3dc6d4367b7a9dbd8f3501df99733ecedb25b02ff' + '61fa359d44af8135ca80fbef2c98d6c30dcaf82e8817aeaf477d9203835f0ba8') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../enchant-2.patch + +# enchant-2 naming change + sed -i 's/enchant >=/enchant-2 >=/' configure +} + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + ./configure --prefix=/usr --sysconfdir=/usr/share + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install +} diff --git a/enchant-2.patch b/enchant-2.patch new file mode 100644 index 000000000000..00d492023036 --- /dev/null +++ b/enchant-2.patch @@ -0,0 +1,19 @@ +--- ogmrip-1.0.1/src/ogmrip-spell-dialog.c.orig 2015-01-10 13:39:43.000000000 +0000 ++++ ogmrip-1.0.1/src/ogmrip-spell-dialog.c 2017-11-23 08:47:19.352081545 +0000 +@@ -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; diff --git a/ogmrip.changelog b/ogmrip.changelog new file mode 100644 index 000000000000..3e5e6e561720 --- /dev/null +++ b/ogmrip.changelog @@ -0,0 +1,42 @@ +2018-01-15 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * ogmrip 1.0.1-6 enchant 2.2.1 rebuild + +2017-11-16 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * ogmrip 1.0.1-4 removed out-of-repo dependency + +2016-05-01 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * ogmrip 1.0.1-3 pacman hooks rebuild + +2014-07-31 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * ogmrip 1.0.1-1 + +2013-12-25 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * ogmrip 1.0.0-3 static libraries removed + +2013-04-20 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * ogmrip 1.0.0-1 + +2012-06-07 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * ogmrip O.13.8-1 + +2012-01-26 Eric Belanger <eric@archlinux.org> + * Rebuild against libpng 1.5 and libtiff 4.0 + * Add .install file + +2011-10-09 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * ogmrip O.13.7-1 + +2010-08-29 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * ogmrip O.13.6-1 + +2010-06-29 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * Update to major release O.13.5 + +2010-04-21 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * Update to major release O.13.4 + +2010-01-03 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * FS#17517 fixed in minor release O.13.3-2 + +2010-01-01 Jaroslav Lichtblau <svetlemodry@archlinux.org> + * Update to major release O.13.3 |