-
-
Notifications
You must be signed in to change notification settings - Fork 939
ci: Add Makefile and debian directory
#22381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
b904bea
1726275
8ca3758
0000e13
55a202f
94bdaa9
8796942
a819489
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,3 +16,6 @@ RECOVER_*.fla | |
|
|
||
| # Mac junk | ||
| .DS_Store | ||
|
|
||
| # Generated by Make | ||
| ruffle_desktop | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| .PHONY: all clean distclean install uninstall version deb | ||
|
|
||
| prefix ?= /usr/local | ||
| VERSION := $(shell echo $(notdir $(CURDIR)) | tr -cd '0-9') | ||
| ifeq ($(VERSION),) | ||
| VERSION := $(shell date +%Y%m%d) | ||
| endif | ||
|
||
|
|
||
| all: ruffle_desktop | ||
|
|
||
| clean: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't it also clean the ignored files in
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will add this later |
||
| -rm -f ruffle_desktop | ||
| -rm -rf target | ||
|
|
||
| distclean: clean | ||
|
|
||
| ruffle_desktop: | ||
| cargo build --release --package=$@ | ||
| install -m755 target/release/$@ ./$@ | ||
|
|
||
| install: ruffle_desktop | ||
|
||
| install -d $(DESTDIR)$(prefix)/bin/ | ||
| install -m755 $^ $(DESTDIR)$(prefix)/bin/ | ||
|
|
||
| uninstall: | ||
| -rm -f $(DESTDIR)$(prefix)/bin/ruffle_desktop | ||
|
|
||
| version: | ||
| @echo $(VERSION) | ||
| @sed -i '1s/([0-9]\{8\})/($(VERSION))/' debian/changelog | ||
|
||
|
|
||
| deb: version | ||
| dpkg-buildpackage -us -uc | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| /*.substvars | ||
| /.debhelper/ | ||
| /debhelper-build-stamp | ||
| /files | ||
| /ruffle/ | ||
| /ruffle.debhelper.log | ||
| /tmp/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| ruffle-nightly (20251201) UNRELEASED; urgency=medium | ||
|
||
|
|
||
| * Initial release. | ||
|
|
||
| -- unknown <localhost> Fri, 28 Nov 2025 16:38:58 +0800 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| Source: ruffle-nightly | ||
|
||
| Section: misc | ||
| Priority: optional | ||
| Maintainer: unknown <localhost> | ||
| Rules-Requires-Root: no | ||
| Build-Depends: | ||
| debhelper-compat (= 13), | ||
| rustc (>= 1.86), | ||
| cargo (>= 1.86), | ||
| libasound2-dev, | ||
| libudev-dev, | ||
| Standards-Version: 4.7.2 | ||
| Homepage: https://ruffle.rs/ | ||
| #Vcs-Browser: https://github.com/ruffle-rs/ruffle | ||
| #Vcs-Git: https://github.com/ruffle-rs/ruffle.git | ||
|
|
||
| Package: ruffle | ||
| Architecture: any | ||
| Depends: | ||
| ${shlibs:Depends}, | ||
| ${misc:Depends}, | ||
| Description: A Flash Player emulator written in Rust | ||
| Ruffle is an Adobe Flash Player emulator written in the Rust programming | ||
| language. Ruffle targets both the desktop and the web using WebAssembly. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
| Source: https://github.com/ruffle-rs/ruffle | ||
| Upstream-Name: ruffle | ||
| Upstream-Contact: kjarosh <[email protected]> | ||
|
|
||
| Files: | ||
| * | ||
| Copyright: | ||
| 2021-2025 Aaron1011 <[email protected]> | ||
| 2021-2025 Bale001 | ||
| 2016-2025 Herschel <[email protected]> | ||
| 2023-2025 kjarosh <[email protected]> | ||
| 2019-2024 kmeisthax | ||
| 2022-2025 n0samu | ||
| 2023-2025 sleepycatcoding | ||
| 2020-2025 Toad06 | ||
| 2020-2025 torokati44 <[email protected]> | ||
| License: Apache-2.0 OR MIT | ||
|
|
||
| License: Apache-2.0 | ||
| Licensed to the Apache Software Foundation (ASF) under one or more | ||
| contributor license agreements. See the NOTICE file distributed with | ||
| this work for additional information regarding copyright ownership. | ||
| The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| (the "License"); you may not use this file except in compliance with | ||
| the License. You may obtain a copy of the License at | ||
| . | ||
| https://www.apache.org/licenses/LICENSE-2.0 | ||
| . | ||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| . | ||
| On Debian systems, the full text of the Apache Software License version 2 can | ||
| be found in the file `/usr/share/common-licenses/Apache-2.0'. | ||
|
|
||
| License: MIT | ||
| Permission to use, copy, modify, and distribute this software and | ||
| its documentation for any purpose and without fee is hereby | ||
| granted, provided that the above copyright notice appear in all | ||
| copies and that both that copyright notice and this permission | ||
| notice appear in supporting documentation, and that the name of | ||
| Giampaolo Rodola' not be used in advertising or publicity pertaining to | ||
| distribution of the software without specific, written prior | ||
| permission. | ||
| . | ||
| ISSUER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, | ||
| INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN | ||
| NO EVENT Giampaolo Rodola' BE LIABLE FOR ANY SPECIAL, INDIRECT OR | ||
| CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS | ||
| OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, | ||
| NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #!/usr/bin/make -f | ||
|
|
||
| # See debhelper(7) (uncomment to enable). | ||
| # Output every command that modifies files on the build system. | ||
| #export DH_VERBOSE = 1 | ||
|
|
||
|
|
||
| # See FEATURE AREAS in dpkg-buildflags(1). | ||
| #export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
|
|
||
| # See ENVIRONMENT in dpkg-buildflags(1). | ||
| # Package maintainers to append CFLAGS. | ||
| #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic | ||
| # Package maintainers to append LDFLAGS. | ||
| #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | ||
|
|
||
|
|
||
| %: | ||
| dh $@ | ||
|
|
||
| override_dh_auto_install: | ||
| dh_auto_install -- prefix=/usr |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 3.0 (native) |
Uh oh!
There was an error while loading. Please reload this page.