commit 155c89c23f18e4c83a0fbed2b4cfbc3c1dea1323
Author: Jan Rękorajski <[email protected]>
Date:   Mon Oct 14 23:55:32 2024 +0200

    - up to 1.6.0

 ephoto-elm-update.patch | 33 --------------------------------
 ephoto.spec             | 51 +++++++++++++++++++------------------------------
 2 files changed, 20 insertions(+), 64 deletions(-)
---
diff --git a/ephoto.spec b/ephoto.spec
index c9c82fb..e58dcc8 100644
--- a/ephoto.spec
+++ b/ephoto.spec
@@ -1,27 +1,15 @@
 Summary:       A professional slideshow creator
 Summary(pl.UTF-8):     Profesjonalne narzędzie do tworzenia slajdów
 Name:          ephoto
-Version:       0.1.1.55225
-Release:       1
+Version:       1.6.0
+Release:       0.1
 License:       BSD
 Group:         Applications/Multimedia
-Source0:       
http://download.enlightenment.org/snapshots/2010-12-03/%{name}-%{version}.tar.bz2
-# Source0-md5: 67f2e817716ffc86ba1c653b6177813a
-Patch0:                %{name}-elm-update.patch
+Source0:       
https://download.enlightenment.org/rel/apps/ephoto/%{name}-%{version}.tar.xz
+# Source0-md5: d855bcd9fadbd315e5fb2ea19b594b61
 URL:           http://trac.enlightenment.org/e/wiki/Ephoto
-BuildRequires: autoconf >= 2.60
-BuildRequires: automake >= 1.6
-BuildRequires: ecore-file-devel
-BuildRequires: edje
-BuildRequires: edje-devel
-BuildRequires: efreet-devel
-BuildRequires: eio-devel
-BuildRequires: elementary-devel >= 0.8.0
-BuildRequires: ethumb-devel
-BuildRequires: gettext-tools >= 0.12.1
+BuildRequires: efl-devel
 BuildRequires: libexif-devel
-BuildRequires: libtool
-BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,30 +21,31 @@ dźwięku.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__gettextize}
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
-       --disable-silent-rules
-%{__make}
+%meson build
+
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%ninja_install -C build
+
+%{__mv} $RPM_BUILD_ROOT{%{_iconsdir},%{_pixmapsdir}}/ephoto.png
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog README TODO
+%doc AUTHORS COPYING* README TODO
 %attr(755,root,root) %{_bindir}/%{name}
+%dir %{_libdir}/ephoto
+%attr(755,root,root) %{_libdir}/ephoto/ephoto_thumbnail
 %{_datadir}/%{name}
+%{_desktopdir}/ephoto.desktop
+%{_pixmapsdir}/ephoto.png
diff --git a/ephoto-elm-update.patch b/ephoto-elm-update.patch
deleted file mode 100644
index 2d4b49a..0000000
--- a/ephoto-elm-update.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- ephoto-0.1.1.55225/src/bin/ephoto_thumb_browser.c.orig     2010-12-01 
14:55:41.000000000 +0100
-+++ ephoto-0.1.1.55225/src/bin/ephoto_thumb_browser.c  2011-12-16 
15:42:19.040162762 +0100
-@@ -533,7 +533,7 @@ ephoto_thumb_browser_add(Ephoto *ephoto,
-         ERR("no toolbar in layout!");
-         goto error;
-      }
--   elm_toolbar_homogenous_set(tb->toolbar, EINA_FALSE);
-+   elm_toolbar_homogeneous_set(tb->toolbar, EINA_FALSE);
-    elm_toolbar_mode_shrink_set(tb->toolbar, ELM_TOOLBAR_SHRINK_MENU);
-    elm_toolbar_menu_parent_set(tb->toolbar, parent);
- 
---- ephoto-0.1.1.55225/src/bin/ephoto_flow_browser.c.orig      2010-11-15 
11:58:43.000000000 +0100
-+++ ephoto-0.1.1.55225/src/bin/ephoto_flow_browser.c   2011-12-16 
15:42:09.283495769 +0100
-@@ -911,7 +911,7 @@ ephoto_flow_browser_add(Ephoto *ephoto,
-         ERR("no toolbar in layout!");
-         goto error;
-      }
--   elm_toolbar_homogenous_set(fb->toolbar, EINA_FALSE);
-+   elm_toolbar_homogeneous_set(fb->toolbar, EINA_FALSE);
-    elm_toolbar_mode_shrink_set(fb->toolbar, ELM_TOOLBAR_SHRINK_MENU);
-    elm_toolbar_menu_parent_set(fb->toolbar, parent);
- 
---- ephoto-0.1.1.55225/src/bin/ephoto_preferences.c.orig       2010-11-11 
14:04:59.000000000 +0100
-+++ ephoto-0.1.1.55225/src/bin/ephoto_preferences.c    2011-12-16 
15:41:53.956828590 +0100
-@@ -33,7 +33,7 @@ ephoto_show_preferences(Ephoto *em)
-                 elm_win_inwin_content_set(o, box);
- 
-                 tb = elm_toolbar_add(box);
--                elm_toolbar_homogenous_set(tb, EINA_FALSE);
-+                elm_toolbar_homogeneous_set(tb, EINA_FALSE);
-                 evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.5);
- 
-                 elm_box_pack_end(box, tb);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ephoto.git/commitdiff/155c89c23f18e4c83a0fbed2b4cfbc3c1dea1323

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to