Skip to content

Commit

Permalink
[build] OBS file updates for v1.3
Browse files Browse the repository at this point in the history
Also add GCC 9 and 9 tests/exports
  • Loading branch information
adriweb committed Jun 22, 2019
1 parent fb53891 commit 87c3b43
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 11 deletions.
4 changes: 2 additions & 2 deletions obs/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=cemu
pkgver=1.2
pkgver=1.3
pkgrel=0
pkgdesc='TI-84 Plus CE / TI-83 Premium CE emulator.'
arch=('i686' 'x86_64')
Expand All @@ -17,7 +17,7 @@ build() {
cd gui/qt/capture/libpng-apng && ./configure --with-libpng-prefix=a --enable-static --disable-shared CFLAGS="-O2 -fPIC" && make libpng16.la && cd ../../../..
mkdir -p build
cd build
qmake ../gui/qt/CEmu.pro CEMU_VERSION=v1.2 USE_LIBPNG=internal TARGET_NAME=cemu
qmake ../gui/qt/CEmu.pro CEMU_VERSION=v1.3 USE_LIBPNG=internal TARGET_NAME=cemu
make
}

Expand Down
4 changes: 2 additions & 2 deletions obs/_service
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<param name="url">https://github.com/CE-Programming/CEmu.git</param>
<param name="scm">git</param>
<param name="filename">CEmu</param>
<param name="revision">f654cb8</param>
<param name="version">1.2</param>
<param name="revision">fb53891</param>
<param name="version">1.3</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
Expand Down
5 changes: 5 additions & 0 deletions obs/cemu.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 22 08:12:30 UTC 2019 - bertrand.adrien@gmail.com

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

-------------------------------------------------------------------
Mon Dec 10 17:03:30 UTC 2018 - bertrand.adrien@gmail.com

Expand Down
2 changes: 1 addition & 1 deletion obs/cemu.dsc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Format: 3.0 (quilt)
Source: cemu
Binary: cemu
Version: 1.2-0
Version: 1.3-0
Architecture: any
Maintainer: Adrien Bertrand <bertrand.adrien@gmail.com>
Homepage: https://github.com/CE-Programming/CEmu
Expand Down
8 changes: 6 additions & 2 deletions obs/cemu.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

%global debug_package %{nil}
Name: cemu
Version: 1.2
Version: 1.3
Release: 0
Summary: TI-84 Plus CE / TI-83 Premium CE emulator
License: GPL-3.0
Expand Down Expand Up @@ -94,8 +94,12 @@ test -x "$(type -p gcc-6)" && export CC=gcc-6
test -x "$(type -p g++-6)" && export CXX=g++-6
test -x "$(type -p gcc-7)" && export CC=gcc-7
test -x "$(type -p g++-7)" && export CXX=g++-7
test -x "$(type -p gcc-8)" && export CC=gcc-8
test -x "$(type -p g++-8)" && export CXX=g++-8
test -x "$(type -p gcc-9)" && export CC=gcc-9
test -x "$(type -p g++-9)" && export CXX=g++-9
cd gui/qt/capture/libpng-apng && ./configure --with-libpng-prefix=a --enable-static --disable-shared CFLAGS="-O2 -fPIC" && make libpng16.la && cd ../../../..
qmake-qt5 QMAKE_CC="$CC" QMAKE_CXX="$CXX" QMAKE_LINK="$CXX" gui/qt/CEmu.pro CEMU_VERSION=v1.2 USE_LIBPNG=internal TARGET_NAME=cemu
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
make %{?_smp_mflags}

%install
Expand Down
7 changes: 7 additions & 0 deletions obs/debian.changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
cemu (1.3-0) unstable; urgency=low

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

-- Adrien Bertrand <bertrand.adrien@gmail.com> Sat, 22 Jun 2019 15:12:30 +0800


cemu (1.2-0) unstable; urgency=low

* Several improvements, bugfixes, minor additions (see GitHub)
Expand Down
2 changes: 1 addition & 1 deletion obs/debian.control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: cemu
Section: sectionName
Section: devel
Priority: optional
Maintainer: Adrien Bertrand <bertrand.adrien@gmail.com>
Homepage: https://github.com/CE-Programming/CEmu
Expand Down
7 changes: 4 additions & 3 deletions obs/debian.rules
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ else
CFLAGS += -O2
endif

CEMU_VERNUM = 1.3

build: build-stamp
build-stamp:
dh_testdir

# Add here commands to compile the package.
echo $PWD
cd gui/qt/capture/libpng-apng && ./configure --with-libpng-prefix=a --enable-static --disable-shared CFLAGS="-O2 -fPIC" && make libpng16.la && cd ../../../..
qmake gui/qt/CEmu.pro CEMU_VERSION=v1.2 USE_LIBPNG=internal TARGET_NAME=cemu
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 ../../../../..
qmake cemu-$(CEMU_VERNUM)/gui/qt/CEmu.pro CEMU_VERSION=v$(CEMU_VERNUM) USE_LIBPNG=internal TARGET_NAME=cemu
make
# --- end custom part for compiling

Expand Down

0 comments on commit 87c3b43

Please sign in to comment.