]> git.pld-linux.org Git - packages/enigma.git/commitdiff
- added gettext patch (add external arg to allow gettext 0.20+) master auto/th/enigma-1.21-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 12 Dec 2020 09:00:27 +0000 (10:00 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 12 Dec 2020 09:00:27 +0000 (10:00 +0100)
- package appdata file
- release 2

enigma-gettext.patch [new file with mode: 0644]
enigma.spec

diff --git a/enigma-gettext.patch b/enigma-gettext.patch
new file mode 100644 (file)
index 0000000..54dbb05
--- /dev/null
@@ -0,0 +1,11 @@
+--- enigma-1.21/configure.ac.orig      2020-12-12 09:18:35.911556300 +0100
++++ enigma-1.21/configure.ac   2020-12-12 09:25:58.022494513 +0100
+@@ -16,7 +16,7 @@
+ dnl Save a _NOGETTEXT state for possible MacOS special case
+ LIBS_NOGETTEXT="$LIBS"
+-AM_GNU_GETTEXT
++AM_GNU_GETTEXT([external])
+ case $host_os in
+   *mingw32* ) MINGW32=yes;;
index 083425b0c5e026424eb9998baadd0a06168e8633..ede8b218d2e0e9320307fcf1ccd0aeee63768415 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Oxyd clone
 Summary(pl.UTF-8):     Klon gry Oxyd
 Name:          enigma
 Version:       1.21
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         X11/Applications/Games
 Source0:       http://downloads.sourceforge.net/enigma-game/%{name}-%{version}.tar.gz
@@ -10,6 +10,7 @@ Source0:      http://downloads.sourceforge.net/enigma-game/%{name}-%{version}.tar.gz
 Patch0:                %{name}-desktop.patch
 Patch1:                0003-prevent-ImageMagick-inserting-timestamps-to-PNGs.patch
 Patch2:                0004-src-lev-Proxy.cc-fix-check-for-basic_ifstream-s-read.patch
+Patch3:                %{name}-gettext.patch
 URL:           http://www.nongnu.org/enigma/
 BuildRequires: SDL-devel >= 1.2.0
 BuildRequires: SDL_image-devel >= 1.2.0
@@ -60,12 +61,13 @@ blokujących drogę do kamieni Oxyd.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__gettextize}
-%{__aclocal}
-%{__autoheader}
+%{__aclocal} -I m4
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure
 
@@ -91,6 +93,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/enigma
 %{_datadir}/%{name}
+%{_datadir}/appdata/enigma.appdata.xml
 %{_desktopdir}/enigma.desktop
 %{_iconsdir}/hicolor/48x48/apps/enigma.png
 %{_pixmapsdir}/enigma.png
This page took 0.073774 seconds and 4 git commands to generate.