mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:57:14 +08:00
mjpegtools: rebuilt for multimedia group
This commit is contained in:
parent
3435b89973
commit
f2692974f9
@ -1,18 +1,16 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakraos.org
|
||||
#
|
||||
# maintainer almack
|
||||
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/mjpegtools
|
||||
|
||||
pkgname=mjpegtools
|
||||
pkgver=2.1.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video"
|
||||
arch=('x86_64')
|
||||
license=('GPL')
|
||||
url="http://mjpeg.sourceforge.net/"
|
||||
depends=('libjpeg-turbo' 'libpng' 'sdl' 'gcc-libs' 'libdv')
|
||||
makedeends=('v4l-utils')
|
||||
makedepends=('v4l-utils')
|
||||
options=('!makeflags')
|
||||
install=${pkgname}.install
|
||||
source=("http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz")
|
||||
md5sums=('57bf5dd78976ca9bac972a6511b236f3')
|
||||
|
||||
|
16
mjpegtools/mjpegtools.install
Normal file
16
mjpegtools/mjpegtools.install
Normal file
@ -0,0 +1,16 @@
|
||||
infodir=usr/share/info
|
||||
file=mjpeg-howto.info
|
||||
|
||||
post_install() {
|
||||
[[ -x usr/bin/install-info ]] || return 0
|
||||
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
[[ -x usr/bin/install-info ]] || return 0
|
||||
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
|
||||
}
|
Loading…
Reference in New Issue
Block a user