Initial debian support

This commit is contained in:
odrling 2019-10-18 00:07:59 +02:00
parent cf05a92568
commit 19e0d879c3
11 changed files with 10691 additions and 0 deletions

16
.ci/debian/Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM debian:testing-slim
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y dh-make build-essential libwxgtk3.0 libboost-all-dev icu-devtools libffms2-dev fontconfig libfreetype6-dev libass-dev zlib1g-dev libgl1 libssl-dev libasound2-dev libpulse-dev fftw3-dev libuchardet-dev libc6-dev intltool libhunspell-dev git
COPY . /aegisub
WORKDIR /aegisub
RUN make clean
RUN build/version.sh .
RUN rm -rf .git
RUN mv .ci/debian/entrypoint.sh /
RUN mv .ci/distribution/debian /aegisub
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]

7
.ci/debian/entrypoint.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh -e
export MAKEFLAGS="-j$(nproc)"
cd /aegisub
dpkg-buildpackage -nc
mv ../*.deb /out/

View File

@ -0,0 +1,8 @@
aegisub-japan7 for Debian
Please edit this to provide information specific to
this aegisub-japan7 Debian package.
(Automatically generated by debmake Version 4.3.1)
-- root <> Thu, 17 Oct 2019 08:35:38 +0000

View File

@ -0,0 +1,6 @@
aegisub-japan7 (3.3.2) UNRELEASED; urgency=low
* Initial release. Closes: #nnnn
<nnnn is the bug number of your ITP>
-- root <> Thu, 17 Oct 2019 08:35:38 +0000

View File

@ -0,0 +1 @@
11

View File

@ -0,0 +1,16 @@
Source: aegisub-japan7
Section: video
Priority: optional
Maintainer: odrling <florianbadie@odrling.xyz>
Build-Depends: debhelper (>=11~), dh-autoreconf, intltool, libasound2-dev [linux-any], libass-dev, libboost-dev, libboost-chrono-dev, libboost-filesystem-dev, libboost-locale-dev, libboost-regex-dev, libboost-system-dev, libboost-thread-dev, libffms2-dev (>= 2.19), libfftw3-dev, libfontconfig1-dev, libfreetype6-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libhunspell-dev, libicu-dev, libpulse-dev, libwxgtk3.0-dev, libssl-dev
Standards-Version: 4.1.4
Homepage: https://github.com/odrling/Aegisub
Package: aegisub-japan7
Architecture: any
Multi-Arch: foreign
Conflicts: aegisub
Depends: ${misc:Depends}, ${shlibs:Depends}, libasound2, libass9, libatomic1, libboost-filesystem1.67.0, libboost-locale1.67.0, libboost-regex1.67.0, libboost-system1.67.0, libboost-thread1.67.0, libc6, libffms2-4 (>= 2.19), libfftw3-double3, libgcc1 (>= 1:4.2), libgl1 | libgl1-mesa-glx, libhunspell-1.7-0, libicu63, libpulse0, libstdc++6, libwxbase3.0-0v5, libwxgtk3.0-0v5, zlib1g
Description: advanced subtitle editor
Originally created as tool to make typesetting, particularly in anime fansubs, a less painful experience, Aegisub has grown into a fully fledged, highly customizable subtitle editor.
It features a lot of convenient tools to help you with timing, typesetting, editing and translating subtitles, as well as a powerful scripting environment called Automation (originally mostly intended for creating karaoke effects, Automation can now be used much else, including creating macros and various other convenient tools).

File diff suppressed because it is too large Load Diff

13
.ci/distribution/debian/rules Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
#export DH_VERBOSE = 1
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_OPTIONS=nocheck # tests are broken
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- --without-oss --without-portaudio --without-openal --disable-update-checker

View File

@ -0,0 +1 @@
3.0 (native)

View File

@ -0,0 +1,2 @@
#abort-on-upstream-changes
#unapply-patches

View File

@ -0,0 +1,2 @@
# You must remove unused comment lines for the released package.
version=3