Skip to content

Commit 287f5ba

Browse files
committed
build: update OBS things
1 parent 60862c8 commit 287f5ba

File tree

8 files changed

+53
-55
lines changed

8 files changed

+53
-55
lines changed

obs/PKGBUILD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pkgname=cemu
2-
pkgver=1.3
2+
pkgver=2.0
33
pkgrel=0
44
pkgdesc='TI-84 Plus CE / TI-83 Premium CE emulator.'
55
arch=('i686' 'x86_64')
@@ -14,11 +14,11 @@ md5sums=('SKIP')
1414
build() {
1515
# Compile...
1616
cd "${srcdir}/${pkgname}-${pkgver}"
17-
cd gui/qt/capture/libpng-apng && ./configure --with-libpng-prefix=a --enable-static --disable-shared CFLAGS="-O2 -fPIC" && make libpng16.la && cd ../../../..
17+
cd gui/qt/capture/libpng-apng && autoreconf -vif && ./configure --with-libpng-prefix=a --enable-static --disable-shared CFLAGS="-O2 -fPIC" && make libpng16.la && cd ../../../..
1818
mkdir -p build
1919
cd build
20-
qmake ../gui/qt/CEmu.pro CEMU_VERSION=v1.3 USE_LIBPNG=internal TARGET_NAME=cemu
21-
make
20+
qmake ../gui/qt/CEmu.pro CEMU_VERSION=v2.0 USE_LIBPNG=internal TARGET_NAME=cemu
21+
make -j4
2222
}
2323

2424
package() {

obs/_service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<param name="url">https://github.com/CE-Programming/CEmu.git</param>
44
<param name="scm">git</param>
55
<param name="filename">CEmu</param>
6-
<param name="revision">fb53891</param>
7-
<param name="version">1.3</param>
6+
<param name="revision">v2.0</param>
7+
<param name="version">2.0</param>
88
</service>
99
<service name="recompress" mode="disabled">
1010
<param name="file">*.tar</param>

obs/cemu.changes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
-------------------------------------------------------------------
2+
Thu Sep 5 10:00:00 UTC 2024 - bertrand.adrien@gmail.com
3+
4+
- v2.0: Major core and GUI improvements: USB transfers, HW rev M+
5+
support, massive LCD emulation improvements, TI-Basic debugging...
6+
See GitHub release note for more information.
7+
8+
--------------------------------------------------------------------------------------------------------------------------------------
29
Sat Jun 22 08:12:30 UTC 2019 - bertrand.adrien@gmail.com
310

411
- v1.3: Several improvements, bugfixes, minor additions (see GitHub)

obs/cemu.dsc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Format: 3.0 (quilt)
22
Source: cemu
33
Binary: cemu
4-
Version: 1.3-0
4+
Version: 2.0-0
55
Architecture: any
66
Maintainer: Adrien Bertrand <bertrand.adrien@gmail.com>
77
Homepage: https://github.com/CE-Programming/CEmu
88
Standards-Version: 3.9.6
9-
Build-Depends: pkg-config, debhelper (>= 9), qtbase5-dev (>= 5.5), qtdeclarative5-dev, qttools5-dev, qttools5-dev-tools, zlib1g-dev, libarchive-dev
9+
Build-Depends: automake, autoconf, libtool, pkg-config, debhelper (>= 9), qtbase5-dev (>= 5.7), qtdeclarative5-dev, qttools5-dev, qttools5-dev-tools, zlib1g-dev, libarchive-dev

obs/cemu.spec

Lines changed: 26 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
%global debug_package %{nil}
2020
Name: cemu
21-
Version: 1.3
21+
Version: 2.0
2222
Release: 0
2323
Summary: TI-84 Plus CE / TI-83 Premium CE emulator
2424
License: GPL-3.0
@@ -29,71 +29,50 @@ Source: %{name}-%{version}.tar.xz
2929
BuildRequires: git
3030
BuildRequires: pkgconfig
3131

32-
%if 0%{?suse_version} > 1320
33-
BuildRequires: gcc-c++
34-
%endif
35-
%if 0%{?suse_version} == 1320
36-
BuildRequires: gcc49-c++
37-
#!BuildIgnore: libgcc_s1
38-
%endif
39-
40-
%if 0%{?sle_version} == 120100
41-
# Leap 42.1 / SLE12SP2
42-
BuildRequires: gcc5-c++
43-
%endif
44-
45-
%if 0%{?sle_version} == 120200
46-
# Leap 42.2+ / SLE12SP2Backports
47-
%if 0%{?is_opensuse}
48-
BuildRequires: gcc6-c++
49-
#!BuildIgnore: libasan3
32+
%if 0%{?suse_version} > 1600
33+
BuildRequires: gcc14-c++
5034
%else
51-
BuildRequires: gcc5-c++
52-
%endif
53-
%endif
54-
55-
%if 0%{?sle_version} == 120300
56-
# Leap 42.3+ / SLE12SP2Backports
57-
%if 0%{?is_opensuse}
58-
BuildRequires: gcc6-c++
35+
%if 0%{?sle_version} == 150600
36+
BuildRequires: gcc13-c++
37+
%else
38+
%if 0%{?sle_version} == 150500
39+
BuildRequires: gcc12-c++
5940
%else
60-
BuildRequires: gcc5-c++
41+
BuildRequires: gcc-c++
6142
%endif
6243
%endif
63-
64-
%if 0%{?suse_version} == 1315
65-
#!Buildignore: libgcc_s1
6644
%endif
6745

46+
BuildRequires: autoconf
47+
BuildRequires: automake
48+
BuildRequires: libtool
6849
BuildRequires: zlib-devel
6950
BuildRequires: libarchive-devel
7051
BuildRequires: hicolor-icon-theme
7152
Requires: hicolor-icon-theme
53+
%if 0%{?fedora_version}
54+
BuildRequires: openssl-devel
55+
BuildRequires: llvm-libs
56+
%endif
7257
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
73-
BuildRequires: qt5-qtbase-devel >= 5.5
58+
BuildRequires: qt5-qtbase-devel >= 5.7
7459
BuildRequires: qt5-qtdeclarative-devel
7560
%else
76-
BuildRequires: libqt5-qtbase-devel >= 5.5
61+
BuildRequires: libqt5-qtbase-devel >= 5.7
7762
BuildRequires: libqt5-qtdeclarative-devel
7863
BuildRequires: update-desktop-files
7964
%endif
8065

8166
%description
67+
Third-party TI-84 Plus CE / TI-83 Premium CE calculator emulator,
68+
focused on developer features.
8269

8370
%prep
8471
%setup -q
8572

8673
%build
8774
export CC=gcc
8875
export CXX=g++
89-
test -x "$(type -p gcc-4.9)" && export CC=gcc-4.9
90-
test -x "$(type -p g++-4.9)" && export CXX=g++-4.9
91-
test -x "$(type -p gcc-5)" && export CC=gcc-5
92-
test -x "$(type -p g++-5)" && export CXX=g++-5
93-
test -x "$(type -p gcc-6)" && export CC=gcc-6
94-
test -x "$(type -p g++-6)" && export CXX=g++-6
95-
test -x "$(type -p gcc-7)" && export CC=gcc-7
96-
test -x "$(type -p g++-7)" && export CXX=g++-7
9776
test -x "$(type -p gcc-8)" && export CC=gcc-8
9877
test -x "$(type -p g++-8)" && export CXX=g++-8
9978
test -x "$(type -p gcc-9)" && export CC=gcc-9
@@ -104,8 +83,12 @@ test -x "$(type -p gcc-11)" && export CC=gcc-11
10483
test -x "$(type -p g++-11)" && export CXX=g++-11
10584
test -x "$(type -p gcc-12)" && export CC=gcc-12
10685
test -x "$(type -p g++-12)" && export CXX=g++-12
107-
cd gui/qt/capture/libpng-apng && ./configure --with-libpng-prefix=a --enable-static --disable-shared CFLAGS="-O2 -fPIC" && make libpng16.la && cd ../../../..
108-
qmake-qt5 QMAKE_CC="$CC" QMAKE_CXX="$CXX" QMAKE_LINK="$CXX" gui/qt/CEmu.pro CEMU_VERSION=v1.3 USE_LIBPNG=internal TARGET_NAME=cemu
86+
test -x "$(type -p gcc-13)" && export CC=gcc-13
87+
test -x "$(type -p g++-13)" && export CXX=g++-13
88+
test -x "$(type -p gcc-14)" && export CC=gcc-14
89+
test -x "$(type -p g++-14)" && export CXX=g++-14
90+
cd gui/qt/capture/libpng-apng && autoreconf -vif && ./configure --with-libpng-prefix=a --enable-static --disable-shared CFLAGS="-O2 -fPIC" && make libpng16.la && cd ../../../..
91+
qmake-qt5 QMAKE_CC="$CC" QMAKE_CXX="$CXX" QMAKE_LINK="$CXX" gui/qt/CEmu.pro CEMU_VERSION=v2.0 USE_LIBPNG=internal TARGET_NAME=cemu
10992
make %{?_smp_mflags}
11093

11194
%install

obs/debian.changelog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
cemu (2.0-0) unstable; urgency=low
2+
3+
* Major core and GUI improvements: USB transfers, HW rev M+ support,
4+
massive LCD emulation improvements, TI-Basic debugging...
5+
See GitHub release note for more information.
6+
7+
-- Adrien Bertrand <bertrand.adrien@gmail.com> Sat, 22 Jun 2019 15:12:30 +0800
8+
19
cemu (1.3-0) unstable; urgency=low
210

311
* Several improvements, bugfixes, minor additions (see GitHub)

obs/debian.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Section: devel
33
Priority: optional
44
Maintainer: Adrien Bertrand <bertrand.adrien@gmail.com>
55
Homepage: https://github.com/CE-Programming/CEmu
6-
Build-Depends: pkg-config, debhelper (>= 9), qtbase5-dev (>= 5.5), qtdeclarative5-dev, qttools5-dev, qttools5-dev-tools, zlib1g-dev, libarchive-dev
6+
Build-Depends: automake, autoconf, libtool, pkg-config, debhelper (>= 9), qtbase5-dev (>= 5.7), qtdeclarative5-dev, qttools5-dev, qttools5-dev-tools, zlib1g-dev, libarchive-dev
77

88
Package: cemu
99
Architecture: any

obs/debian.rules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ else
1414
CFLAGS += -O2
1515
endif
1616

17-
CEMU_VERNUM = 1.3
17+
CEMU_VERNUM = 2.0
1818

1919
build: build-stamp
2020
build-stamp:
2121
dh_testdir
2222

2323
# Add here commands to compile the package.
24-
cd cemu-$(CEMU_VERNUM)/gui/qt/capture/libpng-apng && ./configure --with-libpng-prefix=a --enable-static --disable-shared CFLAGS="-O2 -fPIC" && make libpng16.la && cd ../../../../..
24+
cd cemu-$(CEMU_VERNUM)/gui/qt/capture/libpng-apng && autoreconf -vif && ./configure --with-libpng-prefix=a --enable-static --disable-shared CFLAGS="-O2 -fPIC" && make libpng16.la && cd ../../../../..
2525
qmake cemu-$(CEMU_VERNUM)/gui/qt/CEmu.pro CEMU_VERSION=v$(CEMU_VERNUM) USE_LIBPNG=internal TARGET_NAME=cemu
26-
make
26+
make -j4
2727
# --- end custom part for compiling
2828

2929
touch build-stamp

0 commit comments

Comments
 (0)