diff options
author | Christoph Haag | 2015-06-16 15:53:06 +0200 |
---|---|---|
committer | Christoph Haag | 2015-06-16 15:53:06 +0200 |
commit | 6dd9ff90d1281537aee8b26ad1d0e940df43a15a (patch) | |
tree | 42ee807717afaa53db58163f223619a34f6fd36c | |
download | aur-6dd9ff90d1281537aee8b26ad1d0e940df43a15a.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..738715079b8a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = gstreamer-screenrecording-git + pkgdesc = Record screen or window with VAAPI(intel I420 or NV12), OMX(radeon NV12), software (x264enc I420 or NV12) to mkv file, with or without sound. + pkgver = r34.a050b7a + pkgrel = 1 + url = https://github.com/pontostroy/gstreamer-screenrecording + arch = any + license = GPL + makedepends = git + depends = kdebase-kdialog + depends = gst-omx + depends = libomxil-bellagio + depends = gst-vaapi + provides = gstreamer-screenrecording + conflicts = gstreamer-screenrecording + source = git+https://github.com/pontostroy/gstreamer-screenrecording.git + md5sums = SKIP + +pkgname = gstreamer-screenrecording-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5cc11bd8074a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Your Name <youremail@domain.com> +pkgname=gstreamer-screenrecording-git +pkgver=r34.a050b7a +pkgrel=1 +pkgdesc="Record screen or window with VAAPI(intel I420 or NV12), OMX(radeon NV12), software (x264enc I420 or NV12) to mkv file, with or without sound." +arch=('any') +url="https://github.com/pontostroy/gstreamer-screenrecording" +license=('GPL') +depends=("kdebase-kdialog" "gst-omx" "libomxil-bellagio" "gst-vaapi") # remove what you don't need? +makedepends=('git') +provides=("gstreamer-screenrecording") +conflicts=("gstreamer-screenrecording") +source=("git+https://github.com/pontostroy/gstreamer-screenrecording.git") +md5sums=("SKIP") #generate with 'makepkg -g' + +#build() { +# cd gstreamer-screenrecording +# ./autogen.sh +# ./configure --prefix=/usr +# make +#} + +package() { + cd "gstreamer-screenrecording" + #make DESTDIR="$pkgdir/" install + install -d "$pkgdir/usr/bin" + install -m755 rec.sh "$pkgdir/usr/bin/gstreamer-screenrecording" + install -m755 gsttwich.sh "$pkgdir/usr/bin/gstreamer-screenrecording-twitch" +} + +pkgver() { + cd "gstreamer-screenrecording" + ( set -o pipefail + git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +# vim:set ts=2 sw=2 et: |