1 |
commit: 132fffad9ac170ead1394a0ed766b89349d268e5 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 29 08:21:28 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 29 08:21:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132fffad |
7 |
|
8 |
media-video/aegisub: drop 3.2.2_p20160518-r102 |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
.../aegisub/aegisub-3.2.2_p20160518-r102.ebuild | 158 --------------------- |
13 |
1 file changed, 158 deletions(-) |
14 |
|
15 |
diff --git a/media-video/aegisub/aegisub-3.2.2_p20160518-r102.ebuild b/media-video/aegisub/aegisub-3.2.2_p20160518-r102.ebuild |
16 |
deleted file mode 100644 |
17 |
index a9ce3414a7ab..000000000000 |
18 |
--- a/media-video/aegisub/aegisub-3.2.2_p20160518-r102.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,158 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-LUA_COMPAT=( luajit ) |
27 |
-LUA_REQ_USE="lua52compat" |
28 |
- |
29 |
-WX_GTK_VER=3.0 |
30 |
-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" |
31 |
-COMMIT_ID="b118fe7e7a5c37540e2f0aa75af105e272bad234" |
32 |
- |
33 |
-inherit autotools flag-o-matic lua-single plocale wxwidgets xdg-utils vcs-snapshot |
34 |
- |
35 |
-DESCRIPTION="Advanced subtitle editor" |
36 |
-HOMEPAGE="http://www.aegisub.org/ https://github.com/Aegisub/Aegisub" |
37 |
-SRC_URI="https://github.com/Aegisub/Aegisub/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" |
38 |
- |
39 |
-LICENSE="BSD MIT" |
40 |
-SLOT="0" |
41 |
-KEYWORDS="amd64 x86" |
42 |
-IUSE="+alsa debug +fftw openal oss portaudio pulseaudio spell test +uchardet" |
43 |
-RESTRICT="!test? ( test )" |
44 |
- |
45 |
-# aegisub bundles luabins (https://github.com/agladysh/luabins). |
46 |
-# Unfortunately, luabins upstream is practically dead since 2010. |
47 |
-# Thus unbundling luabins isn't worth the effort. |
48 |
-RDEPEND="${LUA_DEPS} |
49 |
- x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,debug?] |
50 |
- dev-libs/boost:=[icu,nls,threads(+)] |
51 |
- dev-libs/icu:= |
52 |
- media-libs/ffmpegsource:= |
53 |
- media-libs/fontconfig |
54 |
- media-libs/freetype |
55 |
- media-libs/libass:=[fontconfig] |
56 |
- sys-libs/zlib |
57 |
- virtual/libiconv |
58 |
- virtual/opengl |
59 |
- alsa? ( media-libs/alsa-lib ) |
60 |
- fftw? ( >=sci-libs/fftw-3.3:= ) |
61 |
- openal? ( media-libs/openal ) |
62 |
- portaudio? ( =media-libs/portaudio-19* ) |
63 |
- pulseaudio? ( media-sound/pulseaudio ) |
64 |
- spell? ( app-text/hunspell:= ) |
65 |
- uchardet? ( app-i18n/uchardet ) |
66 |
-" |
67 |
-DEPEND="${RDEPEND}" |
68 |
-# luarocks is only used as a command-line tool so there is no need to enforce |
69 |
-# LUA_SINGLE_USEDEP on it. On the other hand, this means we must use version |
70 |
-# bounds in order to make sure we use a version migrated to Lua eclasses. |
71 |
-BDEPEND="dev-util/intltool |
72 |
- sys-devel/gettext |
73 |
- virtual/pkgconfig |
74 |
- test? ( |
75 |
- ${RDEPEND} |
76 |
- >=dev-cpp/gtest-1.8.1 |
77 |
- >=dev-lua/luarocks-3.4.0-r100 |
78 |
- $(lua_gen_cond_dep ' |
79 |
- dev-lua/busted[${LUA_USEDEP}] |
80 |
- ') |
81 |
- ) |
82 |
-" |
83 |
- |
84 |
-REQUIRED_USE="${LUA_REQUIRED_USE} |
85 |
- || ( alsa openal oss portaudio pulseaudio )" |
86 |
- |
87 |
-PATCHES=( |
88 |
- "${FILESDIR}/${PV}/${P}-fix-system-luajit-build.patch" |
89 |
- "${FILESDIR}/${PV}/${P}-respect-compiler-flags.patch" |
90 |
- "${FILESDIR}/${PV}/${P}-support-system-gtest.patch" |
91 |
- "${FILESDIR}/${PV}/${P}-fix-icu59-build.patch" |
92 |
- "${FILESDIR}/${PV}/${P}-fix-icu62-build.patch" |
93 |
- "${FILESDIR}/${PV}/${P}-fix-boost170-build.patch" |
94 |
- "${FILESDIR}/${PV}/${P}-fix-makefile-for-make4.3.patch" |
95 |
- "${FILESDIR}/${PV}/${P}-tests_luarocks_lua_version.patch" |
96 |
- "${FILESDIR}/${PV}/${P}-avoid-conveying-positional-parameters-to-source-builtin.patch" |
97 |
-) |
98 |
- |
99 |
-aegisub_check_compiler() { |
100 |
- if [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11; then |
101 |
- die "Your compiler lacks C++11 support. Use GCC>=4.7.0 or Clang>=3.3." |
102 |
- fi |
103 |
-} |
104 |
- |
105 |
-pkg_pretend() { |
106 |
- aegisub_check_compiler |
107 |
-} |
108 |
- |
109 |
-pkg_setup() { |
110 |
- aegisub_check_compiler |
111 |
- lua-single_pkg_setup |
112 |
-} |
113 |
- |
114 |
-src_prepare() { |
115 |
- default_src_prepare |
116 |
- |
117 |
- # Remove tests that require unavailable uuid Lua module. |
118 |
- rm automation/tests/modules/lfs.moon || die |
119 |
- |
120 |
- remove_locale() { |
121 |
- rm "po/${1}.po" || die |
122 |
- } |
123 |
- |
124 |
- plocale_find_changes 'po' '' '.po' |
125 |
- plocale_for_each_disabled_locale remove_locale |
126 |
- |
127 |
- # See http://devel.aegisub.org/ticket/1914 |
128 |
- config_rpath_update "${S}"/config.rpath |
129 |
- |
130 |
- eautoreconf |
131 |
- |
132 |
- cat <<- EOF > build/git_version.h || die |
133 |
- #define BUILD_GIT_VERSION_NUMBER 8897 |
134 |
- #define BUILD_GIT_VERSION_STRING "${PV}" |
135 |
- #define TAGGED_RELEASE 0 |
136 |
- EOF |
137 |
-} |
138 |
- |
139 |
-src_configure() { |
140 |
- # Prevent access violations from OpenAL detection. See Gentoo bug 508184. |
141 |
- use openal && export agi_cv_with_openal="yes" |
142 |
- |
143 |
- setup-wxwidgets |
144 |
- local myeconfargs=( |
145 |
- --disable-update-checker |
146 |
- --with-ffms2 |
147 |
- --with-system-luajit |
148 |
- $(use_enable debug) |
149 |
- $(use_with alsa) |
150 |
- $(use_with fftw fftw3) |
151 |
- $(use_with openal) |
152 |
- $(use_with oss) |
153 |
- $(use_with portaudio) |
154 |
- $(use_with pulseaudio libpulse) |
155 |
- $(use_with spell hunspell) |
156 |
- $(use_with uchardet) |
157 |
- ) |
158 |
- econf "${myeconfargs[@]}" |
159 |
-} |
160 |
- |
161 |
-src_compile() { |
162 |
- emake WITH_SYSTEM_GTEST=$(usex test) |
163 |
-} |
164 |
- |
165 |
-src_test() { |
166 |
- emake test-automation |
167 |
- emake test-libaegisub |
168 |
-} |
169 |
- |
170 |
-pkg_postinst() { |
171 |
- xdg_icon_cache_update |
172 |
- xdg_desktop_database_update |
173 |
-} |
174 |
- |
175 |
-pkg_postrm() { |
176 |
- xdg_icon_cache_update |
177 |
- xdg_desktop_database_update |
178 |
-} |