Skip to content

Commit

Permalink
added files for packaging (gentoo and debian)
Browse files Browse the repository at this point in the history
  • Loading branch information
anyc committed Dec 12, 2015
1 parent 0ca45ec commit 9fe3257
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 0 deletions.
31 changes: 31 additions & 0 deletions dist/avcut-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

if [ "${PV}" == "9999" ]; then
inherit git-r3
fi

DESCRIPTION="Frame-accurate video cutting with only small quality loss"
HOMEPAGE="http://github.com/anyc/avcut.git"
if [ "${PV}" == "9999" ]; then
EGIT_REPO_URI="https://github.com/anyc/avcut.git"
else
SRC_URI="https://github.com/anyc/avcut/archive/avcut-${PV}.tar.gz"
fi
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="media-video/ffmpeg"
DEPEND="${RDEPEND}"

DOCS=( README.md )

src_install() {
dobin avcut
}
5 changes: 5 additions & 0 deletions dist/debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
avcut (0.1-1) wily; urgency=low

* initial release

-- Mario Kicherer <dev@kicherer.org> Sat, 12 Dec 2015 20:13:05 -0500
1 change: 1 addition & 0 deletions dist/debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8
13 changes: 13 additions & 0 deletions dist/debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Source: avcut
Section: video
Priority: optional
Maintainer: Mario Kicherer <dev@kicherer.org>
Build-Depends: libavcodec-ffmpeg-dev, libavformat-ffmpeg-dev, libavutil-ffmpeg-dev
Standards-Version: 3.9.4
Vcs-Git: git://github.com/anyc/avcut.git
Vcs-Browser: https://github.com/anyc/avcut

Package: avcut
Architecture: i386 amd64 armhf
Depends: libavcodec-ffmpeg, libavformat-ffmpeg, libavutil-ffmpeg
Description: Frame-accurate video cutting with only small quality loss
14 changes: 14 additions & 0 deletions dist/debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! /usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

DESTDIR=$(CURDIR)/debian/tmp

%:
dh $@

override_dh_install:
# mkdir -p "$(DESTDIR)/usr/bin/"
# dh_install avcut "$(DESTDIR)/usr/bin/avcut"
dh_install avcut "/usr/bin/"

0 comments on commit 9fe3257

Please sign in to comment.