Projects
Multimedia
mp3splt-gtk
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 6
View file
mp3splt-gtk.spec
Changed
@@ -13,11 +13,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ -%if %{?_without_audacious:1}0 -%define with_audacious 1 -%else -%define with_audacious 1 -%endif +%bcond_without audacious Name: mp3splt-gtk Version: 0.9.2 @@ -25,23 +21,21 @@ Summary: Split MP3 and Ogg Files without decoding Source: http://prdownloads.sourceforge.net/mp3splt/mp3splt-gtk-%{version}.tar.gz Source1: %{name}.desktop +Patch0: mp3splt-gtk.patch URL: http://mp3splt.sourceforge.net/mp3splt_page/home.php Group: Productivity/Multimedia/Sound/Editors and Convertors License: GPL-2.0+ -BuildRoot: %{_tmppath}/build-%{name}-%{version} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -BuildRequires: libmp3splt-devel >= 0.8.2 -BuildRequires: gtk3-devel -BuildRequires: dbus-1-glib-devel -BuildRequires: libpng-devel -%if %with_audacious -BuildRequires: audacious-devel -BuildRequires: libaudclient-devel -# remove once the Requires is fixed in audacious-devel: -BuildRequires: libmcs-devel >= 0.7 +BuildRequires: gettext-tools +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libmp3splt) +BuildRequires: update-desktop-files +%if %{with audacious} +BuildRequires: pkgconfig(audclient) %endif -BuildRequires: autoconf automake gettext-tools libtool update-desktop-files %description %{name} is a GTK utility to split mp3 and ogg files selecting a begin and an @@ -49,15 +43,12 @@ to make smaller files or to split entire albums to obtain original tracks. %prep -%setup -q +%autosetup -p1 +%build #Fix unknown type name 'GtkActionGroup' -%if 0%{?suse_version} > 1140 sed -i 's/-DGTK_DISABLE_DEPRECATED//g' {configure,configure.ac} -%endif - -%build -export SUSE_ASNEEDED=0 +CFLAGS='%{optflags} -Wno-deprecated-declarations' ./autogen.sh %configure \ @@ -66,26 +57,22 @@ --disable-gnome \ --disable-doxygen_doc \ --enable-gtk3 \ -%if %with_audacious +%if %{with audacious} --enable-audacious %else --disable-audacious %endif -%__make %{?_smp_flags} +%make_build %install -%makeinstall -%__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" +%make_install +install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" %suse_update_desktop_file -r "%{name}" AudioVideo AudioVideoEditing %find_lang "%{name}" -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - %files -f "%{name}.lang" -%defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING NEWS README +%license COPYING %{_bindir}/mp3splt-gtk %{_mandir}/man1/mp3splt-gtk.1.gz %{_datadir}/pixmaps/mp3splt-gtk.png
View file
mp3splt-gtk.patch
Added
@@ -0,0 +1,11 @@ +--- a/src/splitpoints_window.h ++++ b/src/splitpoints_window.h +@@ -59,7 +59,7 @@ enum { + COL_TRACK = 13, + COL_COMMENT = 14, + NUM_COLUMNS = 15 +-} tree_columns; ++}; + + gchar *get_splitpoint_name(gint index, ui_state *ui); + gint get_first_splitpoint_selected(gui_state *gui);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.