Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/
Date: Wed, 27 Jan 2021 18:53:19
Message-Id: 1611773582.c10cc17e3bb0985aead18329461985e0ff4a05f9.conikost@gentoo
1 commit: c10cc17e3bb0985aead18329461985e0ff4a05f9
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 27 18:53:02 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 27 18:53:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10cc17e
7
8 media-video/aegisub: drop old version
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 .../aegisub/aegisub-3.2.2_p20160518-r3.ebuild | 149 ---------------------
14 1 file changed, 149 deletions(-)
15
16 diff --git a/media-video/aegisub/aegisub-3.2.2_p20160518-r3.ebuild b/media-video/aegisub/aegisub-3.2.2_p20160518-r3.ebuild
17 deleted file mode 100644
18 index 3ca8cba21bb..00000000000
19 --- a/media-video/aegisub/aegisub-3.2.2_p20160518-r3.ebuild
20 +++ /dev/null
21 @@ -1,149 +0,0 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -WX_GTK_VER=3.0
28 -PLOCALES="ar bg ca cs da de el es eu fa fi fr_FR gl hu id it ja ko nl pl pt_BR pt_PT ru sr_RS sr_RS@latin uk_UA vi zh_CN zh_TW"
29 -COMMIT_ID="b118fe7e7a5c37540e2f0aa75af105e272bad234"
30 -
31 -inherit autotools flag-o-matic gnome2-utils l10n wxwidgets xdg-utils vcs-snapshot
32 -
33 -DESCRIPTION="Advanced subtitle editor"
34 -HOMEPAGE="http://www.aegisub.org/ https://github.com/Aegisub/Aegisub"
35 -SRC_URI="https://github.com/Aegisub/Aegisub/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
36 -
37 -LICENSE="BSD MIT"
38 -SLOT="0"
39 -KEYWORDS="amd64 x86"
40 -IUSE="+alsa debug +fftw openal oss portaudio pulseaudio spell test +uchardet"
41 -RESTRICT="!test? ( test )"
42 -
43 -# aegisub bundles luabins (https://github.com/agladysh/luabins).
44 -# Unfortunately, luabins upstream is practically dead since 2010.
45 -# Thus unbundling luabins isn't worth the effort.
46 -RDEPEND="
47 - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,debug?]
48 - dev-lang/luajit:2[lua52compat]
49 - dev-libs/boost:=[icu,nls,threads]
50 - dev-libs/icu:=
51 - media-libs/ffmpegsource:=
52 - media-libs/fontconfig
53 - media-libs/freetype
54 - media-libs/libass:=[fontconfig]
55 - sys-libs/zlib
56 - virtual/libiconv
57 - virtual/opengl
58 - alsa? ( media-libs/alsa-lib )
59 - fftw? ( >=sci-libs/fftw-3.3:= )
60 - openal? ( media-libs/openal )
61 - portaudio? ( =media-libs/portaudio-19* )
62 - pulseaudio? ( media-sound/pulseaudio )
63 - spell? ( app-text/hunspell:= )
64 - uchardet? ( app-i18n/uchardet )
65 -"
66 -DEPEND="${RDEPEND}
67 - dev-util/intltool
68 - sys-devel/gettext
69 - virtual/pkgconfig
70 - test? (
71 - >=dev-cpp/gtest-1.8.1
72 - dev-lua/busted
73 - dev-lua/luarocks
74 - )
75 -"
76 -
77 -REQUIRED_USE="|| ( alsa openal oss portaudio pulseaudio )"
78 -
79 -PATCHES=(
80 - "${FILESDIR}/${PV}/${P}-fix-system-luajit-build.patch"
81 - "${FILESDIR}/${PV}/${P}-respect-compiler-flags.patch"
82 - "${FILESDIR}/${PV}/${P}-support-system-gtest.patch"
83 - "${FILESDIR}/${PV}/${P}-fix-icu59-build.patch"
84 - "${FILESDIR}/${PV}/${P}-fix-icu62-build.patch"
85 - "${FILESDIR}/${PV}/${P}-fix-boost170-build.patch"
86 -)
87 -
88 -aegisub_check_compiler() {
89 - if [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11; then
90 - die "Your compiler lacks C++11 support. Use GCC>=4.7.0 or Clang>=3.3."
91 - fi
92 -}
93 -
94 -pkg_pretend() {
95 - aegisub_check_compiler
96 -}
97 -
98 -pkg_setup() {
99 - aegisub_check_compiler
100 -}
101 -
102 -src_prepare() {
103 - default_src_prepare
104 -
105 - # Remove tests that require unavailable uuid Lua module.
106 - rm automation/tests/modules/lfs.moon || die
107 -
108 - remove_locale() {
109 - rm "po/${1}.po" || die
110 - }
111 -
112 - l10n_find_plocales_changes 'po' '' '.po'
113 - l10n_for_each_disabled_locale_do remove_locale
114 -
115 - # See http://devel.aegisub.org/ticket/1914
116 - config_rpath_update "${S}"/config.rpath
117 -
118 - eautoreconf
119 -
120 - cat <<- EOF > build/git_version.h || die
121 - #define BUILD_GIT_VERSION_NUMBER 8897
122 - #define BUILD_GIT_VERSION_STRING "${PV}"
123 - #define TAGGED_RELEASE 0
124 - EOF
125 -}
126 -
127 -src_configure() {
128 - # Prevent access violations from OpenAL detection. See Gentoo bug 508184.
129 - use openal && export agi_cv_with_openal="yes"
130 -
131 - setup-wxwidgets
132 - local myeconfargs=(
133 - --disable-update-checker
134 - --with-ffms2
135 - --with-system-luajit
136 - $(use_enable debug)
137 - $(use_with alsa)
138 - $(use_with fftw fftw3)
139 - $(use_with openal)
140 - $(use_with oss)
141 - $(use_with portaudio)
142 - $(use_with pulseaudio libpulse)
143 - $(use_with spell hunspell)
144 - $(use_with uchardet)
145 - )
146 - econf "${myeconfargs[@]}"
147 -}
148 -
149 -src_compile() {
150 - emake WITH_SYSTEM_GTEST=$(usex test)
151 -}
152 -
153 -src_test() {
154 - emake test-automation
155 - emake test-libaegisub
156 -}
157 -
158 -pkg_preinst() {
159 - gnome2_icon_savelist
160 -}
161 -
162 -pkg_postinst() {
163 - gnome2_icon_cache_update
164 - xdg_desktop_database_update
165 -}
166 -
167 -pkg_postrm() {
168 - gnome2_icon_cache_update
169 - xdg_desktop_database_update
170 -}